Crossfire JXClient, Trunk
|
Public Member Functions | |
AccountLinkCharacterCommand (@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 request to link a character to an account.
Definition at line 37 of file AccountLinkCharacterCommand.java.
com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.AccountLinkCharacterCommand | ( | @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 63 of file AccountLinkCharacterCommand.java.
References com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.commandCallback, com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.element, and com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.guiFactory.
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 70 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 75 of file AccountLinkCharacterCommand.java.
References com.realtime.crossfire.jxclient.gui.textinput.CommandCallback.accountLink(), com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.commandCallback, com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.element, com.realtime.crossfire.jxclient.gui.gui.Gui.getFirstElement(), com.realtime.crossfire.jxclient.skin.skin.GuiFactory.getGui(), com.realtime.crossfire.jxclient.gui.textinput.GUIText.getText(), and com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.guiFactory.
|
private |
The CommandCallback to use.
Definition at line 43 of file AccountLinkCharacterCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.AccountLinkCharacterCommand(), and com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.execute().
|
private |
The AbstractGUIElement to find information for account creation.
Definition at line 49 of file AccountLinkCharacterCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.AccountLinkCharacterCommand(), and com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.execute().
|
private |
The global GuiFactory instance.
Definition at line 55 of file AccountLinkCharacterCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.AccountLinkCharacterCommand(), and com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.execute().