Package jmri.jmrix.rfid.swing
Class RfidNamedPaneAction
java.lang.Object
javax.swing.AbstractAction
jmri.util.swing.JmriAbstractAction
jmri.util.swing.JmriNamedPaneAction
jmri.jmrix.rfid.swing.RfidNamedPaneAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
- Direct Known Subclasses:
SerialMonPane.Default
Action to create and load a JmriPanel from just its name.
- Since:
- 2.11.4
- See Also:
-
Field Summary
FieldsFields inherited from class jmri.util.swing.JmriNamedPaneAction
paneClassFields inherited from class jmri.util.swing.JmriAbstractAction
context, hint, wiFields 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
ConstructorsConstructorDescriptionRfidNamedPaneAction(String s, Icon i, WindowInterface wi, String paneClass, RfidSystemConnectionMemo memo) RfidNamedPaneAction(String s, WindowInterface wi, String paneClass, RfidSystemConnectionMemo memo) Enhanced constructor for placing the pane in various GUIs. -
Method Summary
Methods inherited from class jmri.util.swing.JmriAbstractAction
actionPerformed, dispose, setContext, setHint, setName, setParameter, setParameter, setWindowInterface, toStringMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
memo
-
-
Constructor Details
-
RfidNamedPaneAction
public RfidNamedPaneAction(String s, WindowInterface wi, String paneClass, RfidSystemConnectionMemo memo) Enhanced constructor for placing the pane in various GUIs.- Parameters:
s- action name.wi- the window interface.paneClass- the pane class.memo- system connection.
-
RfidNamedPaneAction
public RfidNamedPaneAction(String s, Icon i, WindowInterface wi, String paneClass, RfidSystemConnectionMemo memo)
-
-
Method Details
-
makePanel
Description copied from class:JmriNamedPaneActionInvoked as part of the action being invoked, e.g. when button pressed or menu item selected, this runs the panel through the initial part of its life cycle and installs in the given window interface.If different or additional initialization is needed, inherit from this class and override this method to do it.
- Overrides:
makePanelin classJmriNamedPaneAction
-