Crossfire JXClient, Trunk
com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand Class Reference

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 AbstractGUIElement button, @NotNull final GuiFactory guiFactory)
 Creates a new instance. More...
 
boolean canExecute ()
 Returns whether this command may be executed. More...
 
void execute ()
 Executes the command. More...
 

Private Attributes

final CommandCallback commandCallback
 The CommandCallback to use. More...
 
final AbstractGUIElement element
 The AbstractGUIElement to find the Gui containing the fields. More...
 
final GuiFactory guiFactory
 The global GuiFactory instance. More...
 

Detailed Description

A GUICommand sending an account password change request.

Author
Nicolas Weeger

Definition at line 39 of file AccountPasswordCommand.java.

Constructor & Destructor Documentation

◆ AccountPasswordCommand()

com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand.AccountPasswordCommand ( @NotNull final CommandCallback  commandCallback,
@NotNull final AbstractGUIElement  button,
@NotNull final GuiFactory  guiFactory 
)

Creates a new instance.

Parameters
commandCallbackwhat to inform of various changes
buttonthe item to link to find the Gui from which to get information
guiFactorythe global GUI factory instance

Definition at line 66 of file AccountPasswordCommand.java.

References com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand.commandCallback, com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand.element, and com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand.guiFactory.

Member Function Documentation

◆ canExecute()

boolean com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand.canExecute ( )

Returns whether this command may be executed.

Returns
whether this command may be executed

Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.

Definition at line 73 of file AccountPasswordCommand.java.

◆ execute()

Member Data Documentation

◆ commandCallback

final CommandCallback com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand.commandCallback
private

◆ element

final AbstractGUIElement com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand.element
private

◆ guiFactory

final GuiFactory com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand.guiFactory
private

The documentation for this class was generated from the following file: