Package jmri.jmrit.logixng
Enum NamedBeanAddressing
- All Implemented Interfaces:
Serializable,Comparable<NamedBeanAddressing>,java.lang.constant.Constable
How should a named bean be addressed by an action or expression?
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDirect addressing, by entering the name of the named beanAddresssing by formula, by entering a formula that points to the named bean.Addresssing by local variable, by entering a local variable that points to the named bean.Addresssing by memory, by entering a memory that points to the named bean.Addresssing by reference, by entering a reference that points to the named bean.Addresssing by formula, by entering a formula that points to the named bean. -
Method Summary
Modifier and TypeMethodDescriptiontoString()static NamedBeanAddressingReturns the enum constant of this type with the specified name.static NamedBeanAddressing[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Direct
Direct addressing, by entering the name of the named bean -
Reference
Addresssing by reference, by entering a reference that points to the named bean. -
Memory
Addresssing by memory, by entering a memory that points to the named bean. -
LocalVariable
Addresssing by local variable, by entering a local variable that points to the named bean. -
Formula
Addresssing by formula, by entering a formula that points to the named bean. -
Table
Addresssing by formula, by entering a formula that points to the named bean.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<NamedBeanAddressing>
-