Package jmri.jmrit.beantable
Class PropertyAddEditAction
java.lang.Object
javax.swing.AbstractAction
jmri.jmrit.beantable.PropertyAddEditAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
Swing Action to display an Add/Edit dialong for a specific NamedBean
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON -
Constructor Summary
ConstructorsConstructorDescriptionCtor captures a reference to the bean to add/edit properties in -
Method Summary
Modifier and TypeMethodDescriptionvoid(package private) void(package private) voidMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
thisBean
-
selector
-
valueField
-
-
Constructor Details
-
PropertyAddEditAction
Ctor captures a reference to the bean to add/edit properties in- Parameters:
bean- The NamedBean that will be editied
-
-
Method Details
-
actionPerformed
-
selectionChanged
void selectionChanged() -
setButtonPressed
void setButtonPressed()
-