|
Crossfire JXClient, Trunk
R20561
|
A GUICommand sending an account password change request. More...
Inheritance diagram for com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand:
Collaboration diagram for com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand:Public Member Functions | |
| AccountPasswordCommand (@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 the Gui containing the fields. More... | |
A GUICommand sending an account password change request.
Definition at line 37 of file AccountPasswordCommand.java.
| com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand.AccountPasswordCommand | ( | @NotNull final CommandCallback | commandCallback, |
| @NotNull final Component | button | ||
| ) |
Creates a new instance.
| commandCallback | what to inform of various changes |
| button | the item to link to to find the Gui from which to get information |
Definition at line 57 of file AccountPasswordCommand.java.
References com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand.commandCallback.
| boolean com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand.canExecute | ( | ) |
Returns whether this command may be executed.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.
Definition at line 66 of file AccountPasswordCommand.java.
| void com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand.execute | ( | ) |
Executes the command.Does nothing if called while canExecute() returns
.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.
Definition at line 74 of file AccountPasswordCommand.java.
References com.realtime.crossfire.jxclient.gui.textinput.CommandCallback.accountPassword(), com.realtime.crossfire.jxclient.gui.gui.GuiUtils.getGui(), com.realtime.crossfire.jxclient.gui.textinput.GUIText.getText(), and com.realtime.crossfire.jxclient.gui.label.AbstractLabel.setText().
Here is the call graph for this function:
|
private |
The CommandCallback to use.
Definition at line 43 of file AccountPasswordCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand.AccountPasswordCommand().
|
private |
The Component to find the Gui containing the fields.
Definition at line 49 of file AccountPasswordCommand.java.