|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GUICmd
This interface defines GUI command methods.
Method Summary | |
---|---|
boolean |
checked()
Tests if this command includes a menu checkbox. |
void |
execute(GUI gui)
Executes the command. |
java.lang.String |
help()
Returns the command help. |
java.lang.String |
key()
Returns the command shortcut. |
java.lang.String |
label()
Returns the command label. |
void |
refresh(GUI gui,
javax.swing.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, javax.swing.AbstractButton button)
gui
- reference to the main windowbutton
- button to be modifiedboolean checked()
java.lang.String label()
java.lang.String help()
java.lang.String key()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |