Package jmri.jmrit.display.layoutEditor
Enum LayoutTurnout.Geometry
- java.lang.Object
-
- java.lang.Enum<LayoutTurnout.Geometry>
-
- jmri.jmrit.display.layoutEditor.LayoutTurnout.Geometry
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LayoutTurnout.Geometry>
- Enclosing class:
- LayoutTurnout
public static enum LayoutTurnout.Geometry extends java.lang.Enum<LayoutTurnout.Geometry>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LayoutTurnout.Geometry
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LayoutTurnout.Geometry[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final LayoutTurnout.Geometry NONE
-
POINTA1
public static final LayoutTurnout.Geometry POINTA1
-
POINTA2
public static final LayoutTurnout.Geometry POINTA2
-
POINTA3
public static final LayoutTurnout.Geometry POINTA3
-
POINTB1
public static final LayoutTurnout.Geometry POINTB1
-
POINTB2
public static final LayoutTurnout.Geometry POINTB2
-
POINTC1
public static final LayoutTurnout.Geometry POINTC1
-
POINTC2
public static final LayoutTurnout.Geometry POINTC2
-
POINTD1
public static final LayoutTurnout.Geometry POINTD1
-
POINTD2
public static final LayoutTurnout.Geometry POINTD2
-
-
Method Detail
-
values
public static LayoutTurnout.Geometry[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LayoutTurnout.Geometry c : LayoutTurnout.Geometry.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LayoutTurnout.Geometry valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-