Crossfire JXClient, Trunk  R20561
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 Component button)
 Creates a new instance. More...
 
boolean canExecute ()
 Returns whether this command may be executed.
Returns
whether this command may be executed
More...
 
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...
 

Detailed Description

A GUICommand sending an account password change request.

Author
Nicolas Weeger

Definition at line 37 of file AccountPasswordCommand.java.

Constructor & Destructor Documentation

◆ AccountPasswordCommand()

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

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

Definition at line 57 of file AccountPasswordCommand.java.

References com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand.commandCallback.

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 66 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 Component com.realtime.crossfire.jxclient.gui.commands.AccountPasswordCommand.element
private

The Component to find the Gui containing the fields.

Definition at line 49 of file AccountPasswordCommand.java.


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