Package org.astrogrid.samp.gui
Class GuiHubConnector.RegisterAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.astrogrid.samp.gui.GuiHubConnector.RegisterAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
- Enclosing class:
- GuiHubConnector
private class GuiHubConnector.RegisterAction extends javax.swing.AbstractAction
Action which registers and unregisters with the hub.
-
-
Constructor Summary
Constructors Constructor Description RegisterAction()
Constructs in an unarmed state.RegisterAction(boolean active)
Constructs with a given (initial) sense.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent evt)
protected void
registerFailed()
void
setSense(boolean active)
Sets whether this action registers or unregisters.-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-