Package jmri.jmrit.logixng.actions
Enum ActionBlock.DirectOperation
- java.lang.Object
-
- java.lang.Enum<ActionBlock.DirectOperation>
-
- jmri.jmrit.logixng.actions.ActionBlock.DirectOperation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ActionBlock.DirectOperation>
- Enclosing class:
- ActionBlock
public static enum ActionBlock.DirectOperation extends java.lang.Enum<ActionBlock.DirectOperation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SetAltColorOff
SetAltColorOn
SetNotOccupied
SetNullValue
SetOccupied
SetValue
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static ActionBlock.DirectOperation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ActionBlock.DirectOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SetOccupied
public static final ActionBlock.DirectOperation SetOccupied
-
SetNotOccupied
public static final ActionBlock.DirectOperation SetNotOccupied
-
SetAltColorOn
public static final ActionBlock.DirectOperation SetAltColorOn
-
SetAltColorOff
public static final ActionBlock.DirectOperation SetAltColorOff
-
SetNullValue
public static final ActionBlock.DirectOperation SetNullValue
-
SetValue
public static final ActionBlock.DirectOperation SetValue
-
-
Method Detail
-
values
public static ActionBlock.DirectOperation[] 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 (ActionBlock.DirectOperation c : ActionBlock.DirectOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActionBlock.DirectOperation 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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<ActionBlock.DirectOperation>
-
-