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

Public Member Functions

boolean canExecute ()
 
 DialogOpenCommand (@NotNull final CommandCallback commandCallback, @NotNull final String dialog)
 
void execute ()
 

Private Attributes

final CommandCallback commandCallback
 
final String dialog
 

Detailed Description

A GUICommand which opens a Gui dialog.

Author
Andreas Kirschbaum

Definition at line 34 of file DialogOpenCommand.java.

Constructor & Destructor Documentation

◆ DialogOpenCommand()

com.realtime.crossfire.jxclient.gui.commands.DialogOpenCommand.DialogOpenCommand ( @NotNull final CommandCallback  commandCallback,
@NotNull final String  dialog 
)

Creates a new instance.

Parameters
commandCallbackthe command callback to use
dialogthe dialog to open

Definition at line 53 of file DialogOpenCommand.java.

References com.realtime.crossfire.jxclient.gui.commands.DialogOpenCommand.commandCallback, and com.realtime.crossfire.jxclient.gui.commands.DialogOpenCommand.dialog.

Member Function Documentation

◆ canExecute()

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

◆ execute()

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

Member Data Documentation

◆ commandCallback

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

◆ dialog

final String com.realtime.crossfire.jxclient.gui.commands.DialogOpenCommand.dialog
private

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