Crossfire JXClient, Trunk
|
Public Member Functions | |
boolean | canExecute () |
void | execute () |
InventoryFilterCommand (@NotNull final InventoryView view, @NotNull final InventoryFilter filter) | |
Private Attributes | |
final InventoryFilter | filter |
final InventoryView | view |
A GUICommand for setting the inventory filter.
Definition at line 34 of file InventoryFilterCommand.java.
com.realtime.crossfire.jxclient.gui.commands.InventoryFilterCommand.InventoryFilterCommand | ( | @NotNull final InventoryView | view, |
@NotNull final InventoryFilter | filter | ||
) |
Creates a new instance.
view | the inventory view to update |
filter | the 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.
boolean com.realtime.crossfire.jxclient.gui.commands.InventoryFilterCommand.canExecute | ( | ) |
Returns whether this command may be executed.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.
Definition at line 59 of file InventoryFilterCommand.java.
void com.realtime.crossfire.jxclient.gui.commands.InventoryFilterCommand.execute | ( | ) |
Executes the command. Does nothing if called while canExecute() returns
.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.
Definition at line 64 of file InventoryFilterCommand.java.
References com.realtime.crossfire.jxclient.gui.commands.InventoryFilterCommand.filter, com.realtime.crossfire.jxclient.items.InventoryView.setFilter(), and com.realtime.crossfire.jxclient.gui.commands.InventoryFilterCommand.view.
|
private |
The InventoryFilter to set.
Definition at line 46 of file InventoryFilterCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.InventoryFilterCommand.execute(), and com.realtime.crossfire.jxclient.gui.commands.InventoryFilterCommand.InventoryFilterCommand().
|
private |
The InventoryView to update.
Definition at line 40 of file InventoryFilterCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.InventoryFilterCommand.execute(), and com.realtime.crossfire.jxclient.gui.commands.InventoryFilterCommand.InventoryFilterCommand().