Package org.scictrl.mp.orbitcorrect
Enum Class Orientation
- All Implemented Interfaces:
Serializable
,Comparable<Orientation>
,Constable
Indicates Horizontal or Vertical orientation of data.
- Author:
- igor@scictrl.com
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Constant_H=_HORIZONTAL
static final int
Constant_HORIZONTAL=0
static final int
Constant_V=_VERTICAL
static final int
Constant_VERTICAL=1
static final Orientation
ConstantH
static final Orientation
ConstantV
-
Method Summary
Modifier and TypeMethodDescriptionShort name, H or V.boolean
isHorizontal.boolean
isVertical.int
value()
Deprecated.use ordinal()static Orientation
Returns the enum constant of this class with the specified name.static Orientation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HORIZONTAL
Horizontal orientation. -
VERTICAL
Vertical orientation.
-
-
Field Details
-
_HORIZONTAL
public static final int _HORIZONTALConstant_HORIZONTAL=0
- See Also:
-
_VERTICAL
public static final int _VERTICALConstant_VERTICAL=1
- See Also:
-
_H
public static final int _HConstant_H=_HORIZONTAL
- See Also:
-
_V
public static final int _VConstant_V=_VERTICAL
- See Also:
-
H
ConstantH
-
V
ConstantV
-
-
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
-
value
Deprecated.use ordinal()Same as ordinal.- Returns:
- ordinal
-
isHorizontal
public boolean isHorizontal()isHorizontal.
- Returns:
- a boolean
-
isVertical
public boolean isVertical()isVertical.
- Returns:
- a boolean
-
getShortName
Short name, H or V.
- Returns:
- a short name, H or V
-