Package jmri.jmrit.display.layoutEditor
Enum PositionablePoint.PointType
- java.lang.Object
-
- java.lang.Enum<PositionablePoint.PointType>
-
- jmri.jmrit.display.layoutEditor.PositionablePoint.PointType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PositionablePoint.PointType>
- Enclosing class:
- PositionablePoint
public static enum PositionablePoint.PointType extends java.lang.Enum<PositionablePoint.PointType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANCHOR
EDGE_CONNECTOR
END_BUMPER
NONE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PositionablePoint.PointType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PositionablePoint.PointType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final PositionablePoint.PointType NONE
-
ANCHOR
public static final PositionablePoint.PointType ANCHOR
-
END_BUMPER
public static final PositionablePoint.PointType END_BUMPER
-
EDGE_CONNECTOR
public static final PositionablePoint.PointType EDGE_CONNECTOR
-
-
Method Detail
-
values
public static PositionablePoint.PointType[] 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 (PositionablePoint.PointType c : PositionablePoint.PointType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PositionablePoint.PointType 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
-
-