Package jmri.jmrix.acela.acelamon
Class AcelaMonAction
java.lang.Object
javax.swing.AbstractAction
jmri.jmrix.swing.AbstractSystemConnectionAction<AcelaSystemConnectionMemo>
jmri.jmrix.acela.acelamon.AcelaMonAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action,SystemConnectionAction<AcelaSystemConnectionMemo>
Swing action to create and register an AcelaMonFrame object
- See Also:
-
Field Summary
Fields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSet<Class<? extends SystemConnectionMemo>>Get a list ofSystemConnectionMemosubclasses that the implementing class accepts.Methods inherited from class jmri.jmrix.swing.AbstractSystemConnectionAction
getSystemConnectionMemo, setSystemConnectionMemoMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
AcelaMonAction
-
AcelaMonAction
public AcelaMonAction()
-
-
Method Details
-
actionPerformed
-
getSystemConnectionMemoClasses
Description copied from interface:SystemConnectionActionGet a list ofSystemConnectionMemosubclasses that the implementing class accepts.If the implementing class is a subclass of a class that does accept SystemConnectionMemos, but the implementing class does not accept any, return an empty array instead of null.
- Returns:
- Set of SystemConnectionMemo subclasses or empty array.
-