Package jmri.jmrit.beantable
Enum LogixTableAction.EditMode
- java.lang.Object
-
- java.lang.Enum<LogixTableAction.EditMode>
-
- jmri.jmrit.beantable.LogixTableAction.EditMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LogixTableAction.EditMode>
- Enclosing class:
- LogixTableAction
public static enum LogixTableAction.EditMode extends java.lang.Enum<LogixTableAction.EditMode>
Conditional edit view mode- Since:
- 4.9.x
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LogixTableAction.EditMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LogixTableAction.EditMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LISTEDIT
public static final LogixTableAction.EditMode LISTEDIT
Use the traditional table list mode for editing conditionals
-
TREEEDIT
public static final LogixTableAction.EditMode TREEEDIT
Use the tree based mode for editing condtiionals
-
-
Method Detail
-
values
public static LogixTableAction.EditMode[] 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 (LogixTableAction.EditMode c : LogixTableAction.EditMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LogixTableAction.EditMode 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
-
-