Package jmri.jmrix.can.swing
Class CanNamedPaneAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.util.swing.JmriAbstractAction
-
- jmri.util.swing.JmriNamedPaneAction
-
- jmri.jmrix.can.swing.CanNamedPaneAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
- Direct Known Subclasses:
CanSendPane.Default
,CbusBootloaderPane.Default
,CbusConsolePane.Default
,CbusEventRequestTablePane.Default
,CbusEventTablePane.Default
,CbusHubAction
,CbusSlotMonitorPane.Default
,ConfigToolPane.Default
,EventTablePane.Default
,HubAction
,IdToolPane.Default
,LoaderPane.Default
,MemoryToolPane.Default
,MonitorAction
,MonitorPane.Default
,NetworkTreeAction
,NodeConfigToolPane.Default
,OpenLcbCanSendAction
,SimulatorPane.Default
,StlEditorPane.Default
public class CanNamedPaneAction extends JmriNamedPaneAction
Action to create and load a CAN-specific JmriPanel- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) CanSystemConnectionMemo
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 CanNamedPaneAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi, java.lang.String paneClass, CanSystemConnectionMemo memo)
Enhanced constructor for placing the pane in various GUIs.CanNamedPaneAction(java.lang.String s, WindowInterface wi, java.lang.String paneClass, CanSystemConnectionMemo 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()
Makes Panel and calls initComponents 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
-
CanNamedPaneAction
public CanNamedPaneAction(java.lang.String s, WindowInterface wi, java.lang.String paneClass, CanSystemConnectionMemo memo)
Enhanced constructor for placing the pane in various GUIs.- Parameters:
s
- Window Namewi
- JmriJFrameInterfacepaneClass
- Name of class to openmemo
- System Connection
-
CanNamedPaneAction
public CanNamedPaneAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi, java.lang.String paneClass, CanSystemConnectionMemo memo)
Enhanced constructor for placing the pane in various GUIs.- Parameters:
s
- Window Namei
- Icon to displaywi
- JmriJFrameInterfacepaneClass
- Name of class to openmemo
- System Connection
-
-
Method Detail
-
makePanel
public JmriPanel makePanel()
Makes Panel and calls initComponents 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
-
-