|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.gui.GUIBaseCmd
public abstract class GUIBaseCmd
This class provides a default implementation for GUI commands.
Field Summary | |
---|---|
static GUICmd |
SEPARATOR
Separator. |
Constructor Summary | |
---|---|
GUIBaseCmd()
|
Method Summary | |
---|---|
boolean |
checked()
Tests if this command includes a menu checkbox. |
java.lang.String |
help()
Returns the command help. |
java.lang.String |
key()
Returns the command shortcut. |
void |
refresh(GUI main,
javax.swing.AbstractButton button)
Enables or disables the specified button, depending on the command properties. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.basex.gui.GUICmd |
---|
execute, label |
Field Detail |
---|
public static final GUICmd SEPARATOR
Constructor Detail |
---|
public GUIBaseCmd()
Method Detail |
---|
public boolean checked()
GUICmd
checked
in interface GUICmd
public java.lang.String help()
GUICmd
help
in interface GUICmd
public java.lang.String key()
GUICmd
key
in interface GUICmd
public void refresh(GUI main, javax.swing.AbstractButton button)
GUICmd
refresh
in interface GUICmd
main
- reference to the main windowbutton
- button to be modified
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |