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.StringgetKey()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.StringtoString()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.ItemReturn 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:
getKeyin interfaceLogixNG_SelectComboBox.Item- Returns:
- the key
-
toString
public java.lang.String toString()
Description copied from interface:LogixNG_SelectComboBox.ItemReturn the value that's used to show the item in the ComboBox.- Specified by:
toStringin interfaceLogixNG_SelectComboBox.Item- Overrides:
toStringin classjava.lang.Object- Returns:
- the value
-
-