Package apps.gui3.lccpro
Class LccProAction
java.lang.Object
javax.swing.AbstractAction
jmri.util.swing.JmriAbstractAction
apps.gui3.lccpro.LccProAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
AbstractAction for the LccPro window so that further windows can be opened
- See Also:
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionLccProAction(String pName, boolean allowQuit) Method for opening a new window via the classic JMRI interfaceLccProAction(String s, Icon i, WindowInterface wi) LccProAction(String s, WindowInterface wi) -
Method Summary
Methods inherited from class jmri.util.swing.JmriAbstractAction
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
-
mainFrame
-
allowQuit
boolean allowQuit
-
-
Constructor Details
-
LccProAction
-
LccProAction
-
LccProAction
Method for opening a new window via the classic JMRI interface- Parameters:
pName- the action nameallowQuit- true if closing theLccProWindowshould quit the application; false otherwise
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener- Overrides:
actionPerformedin classJmriAbstractAction
-
makePanel
- Specified by:
makePanelin classJmriAbstractAction
-