Crossfire JXClient, Trunk
Public Member Functions | Private Attributes | List of all members
com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand Class Reference
Inheritance diagram for com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand:
Inheritance graph
Collaboration diagram for com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand:
Collaboration graph

Public Member Functions

 AccountPasswordCommand (@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
 

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 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()

void com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand.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: