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

Public Member Functions

boolean canExecute ()
 
 ExecSelectionCommand (@NotNull final GUIItemList<?> list, @NotNull final CommandType command, @NotNull final CrossfireServerConnection crossfireServerConnection, @NotNull final FloorView floorView, @NotNull final CommandQueue commandQueue)
 
void execute ()
 

Private Attributes

final CommandType command
 
final CommandQueue commandQueue
 
final CrossfireServerConnection crossfireServerConnection
 
final FloorView floorView
 
final GUIItemList<?> list
 

Detailed Description

A GUICommand that executes a command on the selected item of a GUIItemList.

Author
Andreas Kirschbaum

Definition at line 37 of file ExecSelectionCommand.java.

Constructor & Destructor Documentation

◆ ExecSelectionCommand()

com.realtime.crossfire.jxclient.gui.commands.ExecSelectionCommand.ExecSelectionCommand ( @NotNull final GUIItemList<?>  list,
@NotNull final CommandType  command,
@NotNull final CrossfireServerConnection  crossfireServerConnection,
@NotNull final FloorView  floorView,
@NotNull final CommandQueue  commandQueue 
)

Creates a new instance.

Parameters
listthe list to execute in
commandthe command to execute
crossfireServerConnectionthe connection to execute commands on
floorViewthe floor view to use
commandQueuethe command queue to use

Definition at line 77 of file ExecSelectionCommand.java.

References com.realtime.crossfire.jxclient.gui.commands.ExecSelectionCommand.command, com.realtime.crossfire.jxclient.gui.commands.ExecSelectionCommand.commandQueue, com.realtime.crossfire.jxclient.gui.commands.ExecSelectionCommand.crossfireServerConnection, com.realtime.crossfire.jxclient.gui.commands.ExecSelectionCommand.floorView, and com.realtime.crossfire.jxclient.gui.commands.ExecSelectionCommand.list.

Member Function Documentation

◆ canExecute()

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

◆ execute()

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

Member Data Documentation

◆ command

final CommandType com.realtime.crossfire.jxclient.gui.commands.ExecSelectionCommand.command
private

◆ commandQueue

final CommandQueue com.realtime.crossfire.jxclient.gui.commands.ExecSelectionCommand.commandQueue
private

◆ crossfireServerConnection

final CrossfireServerConnection com.realtime.crossfire.jxclient.gui.commands.ExecSelectionCommand.crossfireServerConnection
private

◆ floorView

final FloorView com.realtime.crossfire.jxclient.gui.commands.ExecSelectionCommand.floorView
private

◆ list

final GUIItemList<?> com.realtime.crossfire.jxclient.gui.commands.ExecSelectionCommand.list
private

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