Crossfire JXClient, Trunk
R20561
|
A GUICommand sending a request to link a character to an account. More...
Public Member Functions | |
AccountLinkCharacterCommand (@NotNull final CommandCallback commandCallback, @NotNull final Component button) | |
Creates a new instance. More... | |
boolean | canExecute () |
Returns whether this command may be executed.
| |
void | execute () |
Executes the command.Does nothing if called while canExecute() returns false . More... | |
Private Attributes | |
final CommandCallback | commandCallback |
The CommandCallback to use. More... | |
final Component | element |
The Component to find information for account creation. More... | |
A GUICommand sending a request to link a character to an account.
Definition at line 35 of file AccountLinkCharacterCommand.java.
com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.AccountLinkCharacterCommand | ( | @NotNull final CommandCallback | commandCallback, |
@NotNull final Component | button | ||
) |
Creates a new instance.
commandCallback | what to inform of the request |
button | the element to find the Gui for the other fields |
Definition at line 54 of file AccountLinkCharacterCommand.java.
References com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.commandCallback.
boolean com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.canExecute | ( | ) |
Returns whether this command may be executed.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.
Definition at line 63 of file AccountLinkCharacterCommand.java.
void com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.execute | ( | ) |
Executes the command.Does nothing if called while canExecute() returns
.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.
Definition at line 71 of file AccountLinkCharacterCommand.java.
References com.realtime.crossfire.jxclient.gui.textinput.CommandCallback.accountLink(), com.realtime.crossfire.jxclient.gui.gui.GuiUtils.getGui(), and com.realtime.crossfire.jxclient.gui.textinput.GUIText.getText().
|
private |
The CommandCallback to use.
Definition at line 41 of file AccountLinkCharacterCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.AccountLinkCharacterCommand().
|
private |
The Component to find information for account creation.
Definition at line 47 of file AccountLinkCharacterCommand.java.