Crossfire JXClient, Trunk
|
Public Member Functions | |
AccountPlayCharacterCommand (@NotNull final CommandCallback commandCallback, @NotNull final AbstractGUIElement button, @NotNull final GuiFactory guiFactory) | |
boolean | canExecute () |
void | execute () |
Private Attributes | |
final CommandCallback | commandCallback |
final AbstractGUIElement | element |
final GuiFactory | guiFactory |
A GUICommand sending a play character request to the server.
Definition at line 38 of file AccountPlayCharacterCommand.java.
com.realtime.crossfire.jxclient.gui.commands.AccountPlayCharacterCommand.AccountPlayCharacterCommand | ( | @NotNull final CommandCallback | commandCallback, |
@NotNull final AbstractGUIElement | button, | ||
@NotNull final GuiFactory | guiFactory | ||
) |
Creates a new instance.
commandCallback | what to inform of the request |
button | the element to find the Gui for the other fields |
guiFactory | the global GUI factory instance |
Definition at line 64 of file AccountPlayCharacterCommand.java.
References com.realtime.crossfire.jxclient.gui.commands.AccountPlayCharacterCommand.commandCallback, com.realtime.crossfire.jxclient.gui.commands.AccountPlayCharacterCommand.element, and com.realtime.crossfire.jxclient.gui.commands.AccountPlayCharacterCommand.guiFactory.
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 71 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 76 of file AccountPlayCharacterCommand.java.
References com.realtime.crossfire.jxclient.gui.textinput.CommandCallback.accountPlayCharacter(), com.realtime.crossfire.jxclient.gui.commands.AccountPlayCharacterCommand.commandCallback, com.realtime.crossfire.jxclient.gui.commands.AccountPlayCharacterCommand.element, com.realtime.crossfire.jxclient.gui.list.GUICharacterList.getCurrentCharacter(), com.realtime.crossfire.jxclient.gui.gui.Gui.getFirstElement(), com.realtime.crossfire.jxclient.skin.skin.GuiFactory.getGui(), com.realtime.crossfire.jxclient.account.CharacterInformation.getName(), and com.realtime.crossfire.jxclient.gui.commands.AccountPlayCharacterCommand.guiFactory.
|
private |
The CommandCallback to use.
Definition at line 44 of file AccountPlayCharacterCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.AccountPlayCharacterCommand.AccountPlayCharacterCommand(), and com.realtime.crossfire.jxclient.gui.commands.AccountPlayCharacterCommand.execute().
|
private |
The AbstractGUIElement to find information for account creation.
Definition at line 50 of file AccountPlayCharacterCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.AccountPlayCharacterCommand.AccountPlayCharacterCommand(), and com.realtime.crossfire.jxclient.gui.commands.AccountPlayCharacterCommand.execute().
|
private |
The global GuiFactory instance.
Definition at line 56 of file AccountPlayCharacterCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.AccountPlayCharacterCommand.AccountPlayCharacterCommand(), and com.realtime.crossfire.jxclient.gui.commands.AccountPlayCharacterCommand.execute().