Crossfire JXClient, Trunk
R20561
|
A GUICommand sending a play character request to the server. More...
Public Member Functions | |
AccountPlayCharacterCommand (@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 play character request to the server.
Definition at line 36 of file AccountPlayCharacterCommand.java.
com.realtime.crossfire.jxclient.gui.commands.AccountPlayCharacterCommand.AccountPlayCharacterCommand | ( | @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 55 of file AccountPlayCharacterCommand.java.
References com.realtime.crossfire.jxclient.gui.commands.AccountPlayCharacterCommand.commandCallback.
boolean com.realtime.crossfire.jxclient.gui.commands.AccountPlayCharacterCommand.canExecute | ( | ) |
Returns whether this command may be executed.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.
Definition at line 64 of file AccountPlayCharacterCommand.java.
void com.realtime.crossfire.jxclient.gui.commands.AccountPlayCharacterCommand.execute | ( | ) |
Executes the command.Does nothing if called while canExecute() returns
.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.
Definition at line 72 of file AccountPlayCharacterCommand.java.
References com.realtime.crossfire.jxclient.gui.textinput.CommandCallback.accountPlayCharacter(), com.realtime.crossfire.jxclient.gui.list.GUICharacterList.getCurrentCharacter(), com.realtime.crossfire.jxclient.gui.gui.GuiUtils.getGui(), and com.realtime.crossfire.jxclient.account.CharacterInformation.getName().
|
private |
The CommandCallback to use.
Definition at line 42 of file AccountPlayCharacterCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.AccountPlayCharacterCommand.AccountPlayCharacterCommand().
|
private |
The Component to find information for account creation.
Definition at line 48 of file AccountPlayCharacterCommand.java.