public class SendAction extends FocusOwnerAction
FocusOwnerAction
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected static SendAction |
instance
The first instance of this action
|
protected UIController |
uiController
User Interface Controller
|
focusOwner
changeSupport, enabled
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 and Description |
---|
SendAction(UIController uiController)
Creates a new send action
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent event) |
void |
clickOnSidebar(int port,
String password,
String properties,
Observer observer)
Method that will get the active cell and sends that information to the
controller
|
static SendAction |
getInstance()
Method that returns the first instance of this action
|
protected String |
getName()
Returns the action's name.
|
propertyChange
defineProperties, requiresFile, requiresModification, showErrorDialog
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
protected UIController uiController
protected static SendAction instance
public SendAction(UIController uiController)
uiController
- user interface controllerpublic static SendAction getInstance()
public void actionPerformed(ActionEvent event)
public void clickOnSidebar(int port, String password, String properties, Observer observer)
port
- the connection portpassword
- the connection passwordobserver
- the observer classprotected String getName()
BaseAction
getName
in class BaseAction