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

Public Member Functions

 AccountLinkCharacterCommand (@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 a request to link a character to an account.

Author
Nicolas Weeger

Definition at line 37 of file AccountLinkCharacterCommand.java.

Constructor & Destructor Documentation

◆ AccountLinkCharacterCommand()

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

Creates a new instance.

Parameters
commandCallbackwhat to inform of the request
buttonthe element to find the Gui for the other fields
guiFactorythe global GUI factory instance

Definition at line 63 of file AccountLinkCharacterCommand.java.

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

Member Function Documentation

◆ canExecute()

boolean com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.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 70 of file AccountLinkCharacterCommand.java.

◆ execute()

void com.realtime.crossfire.jxclient.gui.commands.AccountLinkCharacterCommand.execute ( )

Member Data Documentation

◆ commandCallback

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

◆ element

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

◆ guiFactory

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

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