|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GUICommand
This interface defines GUI command methods.
Method Summary | |
---|---|
boolean |
checked()
Returns if this command includes a menu checkbox. |
String |
desc()
Returns the command entry. |
void |
execute(GUI gui)
Executes the command. |
String |
help()
Returns the command help. |
String |
key()
Returns the command shortcut. |
void |
refresh(GUI gui,
AbstractButton button)
Enables or disables the specified button, depending on the command properties. |
Method Detail |
---|
void execute(GUI gui)
gui
- reference to the main windowvoid refresh(GUI gui, AbstractButton button)
gui
- reference to the main windowbutton
- button to be modifiedboolean checked()
String desc()
String help()
String key()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |