public class QuestsFilterCommand extends java.lang.Object implements GUICommand
GUICommand
for setting a quest filter.Constructor and Description |
---|
QuestsFilterCommand(@NotNull QuestsView view,
@NotNull QuestsFilter filter)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canExecute()
Returns whether this command may be executed.
|
void |
execute()
Executes the command.
|
public QuestsFilterCommand(@NotNull @NotNull QuestsView view, @NotNull @NotNull QuestsFilter filter)
view
- the quests view to updatefilter
- the quests filter to setpublic boolean canExecute()
GUICommand
canExecute
in interface GUICommand
public void execute()
GUICommand
GUICommand.canExecute()
returns false
.execute
in interface GUICommand