22 package com.realtime.crossfire.jxclient.gui.commands;
27 import org.jetbrains.annotations.NotNull;
DialogOpenCommand(@NotNull final CommandCallback commandCallback, @NotNull final String dialog)
Creates a new instance.
void openDialog(@NotNull String dialog)
Opens a dialog.
final CommandCallback commandCallback
The CommandCallback to use.
Combines a list of GUIElements to for a gui.
A GUICommand which opens a Gui dialog.
boolean canExecute()
Returns whether this command may be executed.whether this command may be executed ...
Interface that defines callback functions needed by commands.
final String dialog
The dialog to open.
void execute()
Executes the command.Does nothing if called while canExecute() returnsfalse .