Crossfire JXClient, Trunk
|
Public Member Functions | |
boolean | canExecute () |
void | execute () |
MetaCommand (@NotNull final GuiStateManager guiStateManager) | |
Private Attributes | |
final GuiStateManager | guiStateManager |
A GUICommand which shows the server selection screen.
Definition at line 34 of file MetaCommand.java.
com.realtime.crossfire.jxclient.gui.commands.MetaCommand.MetaCommand | ( | @NotNull final GuiStateManager | guiStateManager | ) |
Creates a new instance.
guiStateManager | the gui state manager to affect |
Definition at line 46 of file MetaCommand.java.
References com.realtime.crossfire.jxclient.gui.commands.MetaCommand.guiStateManager.
boolean com.realtime.crossfire.jxclient.gui.commands.MetaCommand.canExecute | ( | ) |
Returns whether this command may be executed.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.
Definition at line 51 of file MetaCommand.java.
void com.realtime.crossfire.jxclient.gui.commands.MetaCommand.execute | ( | ) |
Executes the command. Does nothing if called while canExecute() returns
.
Implements com.realtime.crossfire.jxclient.gui.commandlist.GUICommand.
Definition at line 56 of file MetaCommand.java.
References com.realtime.crossfire.jxclient.guistate.GuiStateManager.changeGUI(), com.realtime.crossfire.jxclient.gui.commands.MetaCommand.guiStateManager, and com.realtime.crossfire.jxclient.guistate.GuiState.METASERVER.
|
private |
The GuiStateManager to affect.
Definition at line 40 of file MetaCommand.java.
Referenced by com.realtime.crossfire.jxclient.gui.commands.MetaCommand.execute(), and com.realtime.crossfire.jxclient.gui.commands.MetaCommand.MetaCommand().