Crossfire JXClient, Trunk
|
Public Member Functions | |
AccountCreateCommand (@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 an account creation request.
Definition at line 39 of file AccountCreateCommand.java.
com.realtime.crossfire.jxclient.gui.commands.AccountCreateCommand.AccountCreateCommand | ( | @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 65 of file AccountCreateCommand.java.
References com.realtime.crossfire.jxclient.gui.commands.AccountCreateCommand.commandCallback, com.realtime.crossfire.jxclient.gui.commands.AccountCreateCommand.element, and com.realtime.crossfire.jxclient.gui.commands.AccountCreateCommand.guiFactory.
boolean com.realtime.crossfire.jxclient.gui.commands.AccountCreateCommand.canExecute | ( | ) |
Returns whether this command may be executed.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.
Definition at line 72 of file AccountCreateCommand.java.
void com.realtime.crossfire.jxclient.gui.commands.AccountCreateCommand.execute | ( | ) |
Executes the command. Does nothing if called while canExecute() returns
.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.
Definition at line 77 of file AccountCreateCommand.java.
References com.realtime.crossfire.jxclient.gui.textinput.CommandCallback.accountCreate(), com.realtime.crossfire.jxclient.gui.commands.AccountCreateCommand.commandCallback, com.realtime.crossfire.jxclient.gui.commands.AccountCreateCommand.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(), com.realtime.crossfire.jxclient.gui.commands.AccountCreateCommand.guiFactory, com.realtime.crossfire.jxclient.gui.gui.ActivatableGUIElement.setActive(), com.realtime.crossfire.jxclient.gui.label.AbstractLabel.setText(), and com.realtime.crossfire.jxclient.gui.textinput.GUIText.setText().
|
private |
The CommandCallback to use.
Definition at line 45 of file AccountCreateCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.AccountCreateCommand.AccountCreateCommand(), and com.realtime.crossfire.jxclient.gui.commands.AccountCreateCommand.execute().
|
private |
The AbstractGUIElement to find information for account creation.
Definition at line 51 of file AccountCreateCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.AccountCreateCommand.AccountCreateCommand(), and com.realtime.crossfire.jxclient.gui.commands.AccountCreateCommand.execute().
|
private |
The global GuiFactory instance.
Definition at line 57 of file AccountCreateCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.AccountCreateCommand.AccountCreateCommand(), and com.realtime.crossfire.jxclient.gui.commands.AccountCreateCommand.execute().