Package apps.gui3.paned
Class PanelProAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.util.swing.JmriAbstractAction
-
- apps.gui3.paned.PanelProAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class PanelProAction extends JmriAbstractAction
Action to produce a new, standalone PanelPro window. Ignores WindowInterface.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class jmri.util.swing.JmriAbstractAction
context, hint, wi
-
-
Constructor Summary
Constructors Constructor Description PanelProAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi)
PanelProAction(java.lang.String s, WindowInterface wi)
Enhanced constructor for placing the pane in various GUIs
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
void
dispose()
JmriPanel
makePanel()
-
Methods inherited from class jmri.util.swing.JmriAbstractAction
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
-
PanelProAction
public PanelProAction(java.lang.String s, WindowInterface wi)
Enhanced constructor for placing the pane in various GUIs- Parameters:
s
- Name of the actionwi
- The window this action is associated with
-
PanelProAction
public PanelProAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
- Overrides:
actionPerformed
in classJmriAbstractAction
-
dispose
public void dispose()
- Overrides:
dispose
in classJmriAbstractAction
-
makePanel
public JmriPanel makePanel()
- Specified by:
makePanel
in classJmriAbstractAction
-
-