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

Public Member Functions

boolean canExecute ()
 
void execute ()
 
 InventoryFilterCommand (@NotNull final InventoryView view, @NotNull final InventoryFilter filter)
 

Private Attributes

final InventoryFilter filter
 
final InventoryView view
 

Detailed Description

A GUICommand for setting the inventory filter.

Author
Andreas Kirschbaum

Definition at line 34 of file InventoryFilterCommand.java.

Constructor & Destructor Documentation

◆ InventoryFilterCommand()

com.realtime.crossfire.jxclient.gui.commands.InventoryFilterCommand.InventoryFilterCommand ( @NotNull final InventoryView  view,
@NotNull final InventoryFilter  filter 
)

Creates a new instance.

Parameters
viewthe inventory view to update
filterthe inventory filter to set

Definition at line 53 of file InventoryFilterCommand.java.

References com.realtime.crossfire.jxclient.gui.commands.InventoryFilterCommand.filter, and com.realtime.crossfire.jxclient.gui.commands.InventoryFilterCommand.view.

Member Function Documentation

◆ canExecute()

boolean com.realtime.crossfire.jxclient.gui.commands.InventoryFilterCommand.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 InventoryFilterCommand.java.

◆ execute()

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

Member Data Documentation

◆ filter

final InventoryFilter com.realtime.crossfire.jxclient.gui.commands.InventoryFilterCommand.filter
private

◆ view

final InventoryView com.realtime.crossfire.jxclient.gui.commands.InventoryFilterCommand.view
private

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