Package jmri.jmrix.powerline.swing
Class PowerlineSystemConnectionAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrix.swing.AbstractSystemConnectionAction<SerialSystemConnectionMemo>
-
- jmri.jmrix.powerline.swing.PowerlineSystemConnectionAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
,SystemConnectionAction<SerialSystemConnectionMemo>
- Direct Known Subclasses:
SerialPacketGenAction
public abstract class PowerlineSystemConnectionAction extends AbstractSystemConnectionAction<SerialSystemConnectionMemo>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PowerlineSystemConnectionAction(java.lang.String name, SerialSystemConnectionMemo memo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.Class<? extends SystemConnectionMemo>>
getSystemConnectionMemoClasses()
Get a list ofSystemConnectionMemo
subclasses that the implementing class accepts.-
Methods inherited from class jmri.jmrix.swing.AbstractSystemConnectionAction
getSystemConnectionMemo, setSystemConnectionMemo
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
PowerlineSystemConnectionAction
public PowerlineSystemConnectionAction(java.lang.String name, SerialSystemConnectionMemo memo)
-
-
Method Detail
-
getSystemConnectionMemoClasses
public java.util.Set<java.lang.Class<? extends SystemConnectionMemo>> getSystemConnectionMemoClasses()
Get a list ofSystemConnectionMemo
subclasses 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.
-
-