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:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
- Direct Known Subclasses:
SerialMonPane.Default
public class RfidNamedPaneAction extends JmriNamedPaneAction
Action to create and load a JmriPanel from just its name.- Since:
- 2.11.4
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) RfidSystemConnectionMemo
memo
-
Fields inherited from class jmri.util.swing.JmriNamedPaneAction
paneClass
-
Fields inherited from class jmri.util.swing.JmriAbstractAction
context, hint, wi
-
-
Constructor Summary
Constructors Constructor Description RfidNamedPaneAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi, java.lang.String paneClass, RfidSystemConnectionMemo memo)
RfidNamedPaneAction(java.lang.String s, WindowInterface wi, java.lang.String paneClass, RfidSystemConnectionMemo memo)
Enhanced constructor for placing the pane in various GUIs.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JmriPanel
makePanel()
Invoked 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.-
Methods inherited from class jmri.util.swing.JmriAbstractAction
actionPerformed, dispose, setContext, setHint, setName, setParameter, setParameter, setWindowInterface, toString
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
RfidNamedPaneAction
public RfidNamedPaneAction(java.lang.String s, WindowInterface wi, java.lang.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(java.lang.String s, javax.swing.Icon i, WindowInterface wi, java.lang.String paneClass, RfidSystemConnectionMemo memo)
-
-
Method Detail
-
makePanel
public JmriPanel makePanel()
Description copied from class:JmriNamedPaneAction
Invoked 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:
makePanel
in classJmriNamedPaneAction
-
-