21 package com.realtime.crossfire.jxclient.gui.commands;
26 import org.jetbrains.annotations.NotNull;
final boolean selected
Whether to select the element.
Interface defining an abstract GUI element.
SelectCommand(@NotNull final GUISelectable element, final boolean selected)
Creates a new instance.
A GUICommand for selecting or deselecting a GUIElement.
boolean canExecute()
Returns whether this command may be executed.whether this command may be executed ...
final GUISelectable element
The GUISelectable to affect.
void execute()
Executes the command.Does nothing if called while canExecute() returnsfalse .