Crossfire JXClient, Trunk
|
Public Member Functions | |
boolean | canExecute () |
void | execute () |
HideCommand (@NotNull final Component target) | |
Private Attributes | |
final Runnable | executeRunnable |
final Component | target |
A GUICommand which hides a target GUIElement.
Definition at line 35 of file HideCommand.java.
com.realtime.crossfire.jxclient.gui.commands.HideCommand.HideCommand | ( | @NotNull final Component | target | ) |
Creates a new instance.
target | the gui element to hide |
Definition at line 61 of file HideCommand.java.
References com.realtime.crossfire.jxclient.gui.commands.HideCommand.target.
boolean com.realtime.crossfire.jxclient.gui.commands.HideCommand.canExecute | ( | ) |
Returns whether this command may be executed.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.
Definition at line 66 of file HideCommand.java.
void com.realtime.crossfire.jxclient.gui.commands.HideCommand.execute | ( | ) |
Executes the command. Does nothing if called while canExecute() returns
.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.
Definition at line 71 of file HideCommand.java.
References com.realtime.crossfire.jxclient.gui.commands.HideCommand.executeRunnable, and com.realtime.crossfire.jxclient.util.SwingUtilities2.invokeAndWait().
|
private |
The Runnable that implements the functionality of execute().
Definition at line 48 of file HideCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.HideCommand.execute().
|
private |
The gui element to hide.
Definition at line 41 of file HideCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.HideCommand.HideCommand().