Package jmri.jmrit.conditional
Class ConditionalEditBase.NameBoxListener
- java.lang.Object
-
- jmri.jmrit.conditional.ConditionalEditBase.NameBoxListener
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.util.EventListener
- Enclosing class:
- ConditionalEditBase
static class ConditionalEditBase.NameBoxListener extends java.lang.Object implements java.awt.event.ActionListener
Listen for name combo box selection events.When a combo box row is selected, the user/system name is copied to the Action or Variable name field.
- Since:
- 4.7.3
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javax.swing.JTextField
saveTextField
-
Constructor Summary
Constructors Constructor Description NameBoxListener(javax.swing.JTextField textField)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
-
-
-
Field Detail
-
saveTextField
javax.swing.JTextField saveTextField
-
-
Constructor Detail
-
NameBoxListener
public NameBoxListener(javax.swing.JTextField textField)
- Parameters:
textField
- The target field object when an entry is selected
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
-
-