Package jmri.jmrix.ieee802154.xbee.swing
Class XBeeSystemConnectionAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrix.swing.AbstractSystemConnectionAction<XBeeConnectionMemo>
-
- jmri.jmrix.ieee802154.xbee.swing.XBeeSystemConnectionAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
,SystemConnectionAction<XBeeConnectionMemo>
- Direct Known Subclasses:
PacketGenAction
public abstract class XBeeSystemConnectionAction extends AbstractSystemConnectionAction<XBeeConnectionMemo>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XBeeSystemConnectionAction(java.lang.String name, XBeeConnectionMemo 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
-
XBeeSystemConnectionAction
public XBeeSystemConnectionAction(java.lang.String name, XBeeConnectionMemo memo)
-
-
Method Detail
-
getSystemConnectionMemoClasses
public java.util.Set<java.lang.Class<? extends SystemConnectionMemo>> getSystemConnectionMemoClasses()
Description copied from interface:SystemConnectionAction
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.
-
-