Package ucar.unidata.ui.symbol
Class RotateInfo
java.lang.Object
ucar.unidata.ui.symbol.RotateInfo
- All Implemented Interfaces:
Cloneable
Holds information on how to rotate around a particular axis.
- Version:
- $Revision: 1.4 $
- Author:
- IDV Development Team
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoClone()
Get the DataRange property.getParam()
Get the Param property.getRange()
Get the Range property.int
getType()
Get the Type property.getUnit()
Get the the unit.Get the name of the unit.void
setDataRange
(Range value) Set the Range property.void
Set the Param property.void
Set the Range property.void
setType
(int value) Set the Type property.void
setUnitName
(String name) Set the name of the unit.
-
Field Details
-
TYPE_X
public static final int TYPE_Xwhich axis- See Also:
-
TYPE_Y
public static final int TYPE_Ywhich axis- See Also:
-
TYPE_Z
public static final int TYPE_Zwhich axis- See Also:
-
TYPES
public static final int[] TYPESwhich axis
-
-
Constructor Details
-
RotateInfo
public RotateInfo()default ctor -
RotateInfo
public RotateInfo(int type) ctor- Parameters:
type
- Axis type
-
-
Method Details
-
doClone
- Throws:
CloneNotSupportedException
-
setParam
Set the Param property.- Parameters:
value
- The new value for Param
-
getParam
Get the Param property.- Returns:
- The Param
-
setUnitName
Set the name of the unit. Used by subclasses which have values that can be ed in different units.- Parameters:
name
- name of unit
-
getUnitName
Get the name of the unit.- Returns:
- String representation of the unit name.
May be
null
.
-
getUnit
Get the the unit.- Returns:
- Unit used for ing values. May be
null
.
-
setRange
Set the Range property.- Parameters:
value
- The new value for Range
-
getRange
Get the Range property.- Returns:
- The Range
-
setDataRange
Set the Range property.- Parameters:
value
- The new value for Range
-
getDataRange
Get the DataRange property.- Returns:
- The DataRange
-
setType
public void setType(int value) Set the Type property.- Parameters:
value
- The new value for Type
-
getType
public int getType()Get the Type property.- Returns:
- The Type
-