Package jmri.jmrit.conditional
Class ConditionalEditBase.PickSingleListener
java.lang.Object
jmri.jmrit.conditional.ConditionalEditBase.PickSingleListener
- All Implemented Interfaces:
EventListener,ListSelectionListener
- Enclosing class:
- ConditionalEditBase
Listen for Pick Single table click events.
When a table row is selected, the user/system name is copied to the Action or Variable name field.
- Since:
- 4.7.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
-
Constructor Details
-
PickSingleListener
PickSingleListener(JTextField textField, Conditional.ItemType itemType) - Parameters:
textField- The target field object when an entry is selecteditemType- The current selected table type number
-
-
Method Details
-
valueChanged
- Specified by:
valueChangedin interfaceListSelectionListener
-
getItemType
-