Package jmri.jmrix.qsi.swing
Class QsiSystemConnectionAction
java.lang.Object
javax.swing.AbstractAction
jmri.jmrix.swing.AbstractSystemConnectionAction<QsiSystemConnectionMemo>
jmri.jmrix.qsi.swing.QsiSystemConnectionAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action,SystemConnectionAction<QsiSystemConnectionMemo>
- Direct Known Subclasses:
PacketGenAction,QsiMonAction
public abstract class QsiSystemConnectionAction
extends AbstractSystemConnectionAction<QsiSystemConnectionMemo>
- 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 TypeMethodDescriptionSet<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, setEnabledMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.awt.event.ActionListener
actionPerformed
-
Constructor Details
-
QsiSystemConnectionAction
-
-
Method Details
-
getSystemConnectionMemoClasses
Get 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.
-