Package jmri.jmrit.logixng.actions
Enum CommonManager
- java.lang.Object
-
- java.lang.Enum<CommonManager>
-
- jmri.jmrit.logixng.actions.CommonManager
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CommonManager>
public enum CommonManager extends java.lang.Enum<CommonManager>
Enum of common managers.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Audio
Blocks
EntryExit
LayoutBlocks
Lights
Memories
Reporters
Routes
Sections
Sensors
SignalHeads
SignalMasts
Transits
Turnouts
Warrants
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Manager<? extends NamedBean>
getManager()
static void
reset()
java.lang.String
toString()
static CommonManager
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CommonManager[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Sensors
public static final CommonManager Sensors
-
Turnouts
public static final CommonManager Turnouts
-
Lights
public static final CommonManager Lights
-
SignalHeads
public static final CommonManager SignalHeads
-
SignalMasts
public static final CommonManager SignalMasts
-
Routes
public static final CommonManager Routes
-
Blocks
public static final CommonManager Blocks
-
Reporters
public static final CommonManager Reporters
-
Memories
public static final CommonManager Memories
-
Audio
public static final CommonManager Audio
-
LayoutBlocks
public static final CommonManager LayoutBlocks
-
EntryExit
public static final CommonManager EntryExit
-
Warrants
public static final CommonManager Warrants
-
Sections
public static final CommonManager Sections
-
Transits
public static final CommonManager Transits
-
-
Method Detail
-
values
public static CommonManager[] 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 (CommonManager c : CommonManager.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommonManager 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
-
getManager
public Manager<? extends NamedBean> getManager()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<CommonManager>
-
reset
public static void reset()
-
-