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