|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<GUICommands>
org.basex.gui.GUICommands
public enum GUICommands
This enumeration encapsulates all commands that are triggered by GUI operations.
| Enum Constant Summary | |
|---|---|
ABOUT
Show about information. |
|
BACK
Go one step back. |
|
CLOSE
Reset database. |
|
COLORS
Color schema. |
|
COPY
Copy the currently marked nodes. |
|
CREATE
Create database. |
|
DELETE
Delete the currently marked nodes. |
|
DROP
Drop database. |
|
EDIT
Copy the currently marked nodes. |
|
EXIT
Exit BaseX. |
|
EXPORT
Export document. |
|
FILTER
Filter currently marked nodes. |
|
FONTS
Change fonts. |
|
FORWARD
Go one step forward. |
|
FULL
Fullscreen mode. |
|
IMPORTFS
Import filesystem. |
|
INFO
Show Database info. |
|
INPUTMODE
Realtime filtering on/off. |
|
INSERT
Insert new nodes. |
|
MAPLAYOUT
Map layout. |
|
OPEN
Open database. |
|
PASTE
Paste the copied nodes. |
|
PREFS
Database path. |
|
ROOT
Go to root node. |
|
RTFILTER
Realtime filtering on/off. |
|
SELECT
Select current nodes. |
|
SHOWBUTTONS
Show buttons. |
|
SHOWHELP
Show Help. |
|
SHOWINFO
Show info. |
|
SHOWINPUT
Show Input Field. |
|
SHOWMAP
Show map. |
|
SHOWMENU
Show menu. |
|
SHOWSEARCH
Show search. |
|
SHOWSTATUS
Show Status Bar. |
|
SHOWTABLE
Show Table View. |
|
SHOWTEXT
Show Text View. |
|
SHOWTREE
Show Tree View. |
|
UP
Go one level up. |
|
| Field Summary | |
|---|---|
java.lang.String |
entry
Menu entry. |
java.lang.String |
help
Help string. |
java.lang.String |
key
Key shortcut. |
| Method Summary | |
|---|---|
boolean |
checked()
Returns if this command includes a menu checkbox. |
abstract void |
execute()
Executes the command. |
static GUICommands |
get(java.lang.String cmd)
Return the command for the specified string. |
void |
refresh(javax.swing.AbstractButton button,
boolean sel)
Enables or disables the specified button, depending on the command properties. |
static GUICommands |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static GUICommands[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final GUICommands ABOUT
public static final GUICommands BACK
public static final GUICommands CLOSE
public static final GUICommands COLORS
public static final GUICommands COPY
public static final GUICommands CREATE
public static final GUICommands DELETE
public static final GUICommands DROP
public static final GUICommands EDIT
public static final GUICommands EXIT
public static final GUICommands EXPORT
public static final GUICommands FILTER
public static final GUICommands FONTS
public static final GUICommands FORWARD
public static final GUICommands FULL
public static final GUICommands IMPORTFS
public static final GUICommands INFO
public static final GUICommands INPUTMODE
public static final GUICommands INSERT
public static final GUICommands MAPLAYOUT
public static final GUICommands OPEN
public static final GUICommands PASTE
public static final GUICommands PREFS
public static final GUICommands ROOT
public static final GUICommands RTFILTER
public static final GUICommands SELECT
public static final GUICommands SHOWBUTTONS
public static final GUICommands SHOWHELP
public static final GUICommands SHOWINFO
public static final GUICommands SHOWINPUT
public static final GUICommands SHOWMAP
public static final GUICommands SHOWMENU
public static final GUICommands SHOWSEARCH
public static final GUICommands SHOWSTATUS
public static final GUICommands SHOWTABLE
public static final GUICommands SHOWTEXT
public static final GUICommands SHOWTREE
public static final GUICommands UP
| Field Detail |
|---|
public final java.lang.String entry
public final java.lang.String help
public final java.lang.String key
| Method Detail |
|---|
public boolean checked()
public abstract void execute()
public static GUICommands get(java.lang.String cmd)
cmd - command to be checked
public void refresh(javax.swing.AbstractButton button,
boolean sel)
button - button to be modifiedsel - selection flagpublic static GUICommands valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic static GUICommands[] values()
for (GUICommands c : GUICommands.values()) System.out.println(c);
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||