Enum Class TLspMoveDescriptor.Constraints
java.lang.Object
java.lang.Enum<TLspMoveDescriptor.Constraints>
com.luciad.view.lightspeed.editor.operation.TLspMoveDescriptor.Constraints
- All Implemented Interfaces:
Serializable
,Comparable<TLspMoveDescriptor.Constraints>
,Constable
- Enclosing class:
TLspMoveDescriptor
Enumeration to indicate in which dimensions the move occurs.
- Since:
- 2012.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static TLspMoveDescriptor.Constraints[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.boolean
x()
Returns whether the move is allowed along the x-axisboolean
y()
Returns whether the move is allowed along the y-axisboolean
z()
Returns whether the move is allowed along the z-axis
-
Enum Constant Details
-
X
Move along the X-axis -
Y
Move along the Y-axis -
Z
Move along the Z-axis -
XY
Move in the XY-plane -
YZ
Move in the YZ-plane -
XZ
Move in the XZ-plane -
XYZ
Unconstrained move
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
x
public boolean x()Returns whether the move is allowed along the x-axis- Returns:
- whether the move is allowed along the x-axis
-
y
public boolean y()Returns whether the move is allowed along the y-axis- Returns:
- whether the move is allowed along the y-axis
-
z
public boolean z()Returns whether the move is allowed along the z-axis- Returns:
- whether the move is allowed along the z-axis
-