Package jmri.jmrit.operations.logixng
Class OperationsProStartAutomation.AutomationItem
- java.lang.Object
-
- jmri.jmrit.operations.logixng.OperationsProStartAutomation.AutomationItem
-
- All Implemented Interfaces:
LogixNG_SelectComboBox.Item
- Enclosing class:
- OperationsProStartAutomation
public static class OperationsProStartAutomation.AutomationItem extends java.lang.Object implements LogixNG_SelectComboBox.Item
-
-
Constructor Summary
Constructors Constructor Description AutomationItem(Automation automation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKey()
Return the key that's used to store the item in the tables and panels file, as well as when indirect addessing is used.java.lang.String
toString()
Return the value that's used to show the item in the ComboBox.
-
-
-
Constructor Detail
-
AutomationItem
public AutomationItem(Automation automation)
-
-
Method Detail
-
getKey
public java.lang.String getKey()
Description copied from interface:LogixNG_SelectComboBox.Item
Return the key that's used to store the item in the tables and panels file, as well as when indirect addessing is used.- Specified by:
getKey
in interfaceLogixNG_SelectComboBox.Item
- Returns:
- the key
-
toString
public java.lang.String toString()
Description copied from interface:LogixNG_SelectComboBox.Item
Return the value that's used to show the item in the ComboBox.- Specified by:
toString
in interfaceLogixNG_SelectComboBox.Item
- Overrides:
toString
in classjava.lang.Object
- Returns:
- the value
-
-