|
||||||||||
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. |
|
CLOSE
Reset database. |
|
COLOR
Color schema. |
|
COPY
Copy the currently marked nodes. |
|
COPYPATH
Copy the current path. |
|
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. |
|
FULL
Fullscreen mode. |
|
GOBACK
Go one step back. |
|
GOFORWARD
Go one step forward. |
|
GOUP
Go one level up. |
|
IMPORTFS
Import filesystem. |
|
INFO
Show Database info. |
|
INSERT
Insert new nodes. |
|
MAPLAYOUT
Map layout. |
|
OPEN
Open database. |
|
PASTE
Paste the copied nodes. |
|
PREFS
Database path. |
|
ROOT
Go to root node. |
|
RTEXEC
Realtime filtering on/off. |
|
RTFILTER
Realtime filtering on/off. |
|
SHOWBUTTONS
Show buttons. |
|
SHOWHELP
Show Help. |
|
SHOWINFO
Show info. |
|
SHOWINPUT
Show Input Field. |
|
SHOWMAP
Show map. |
|
SHOWMENU
Show menu. |
|
SHOWPLOT
Show Plot View. |
|
SHOWSEARCH
Show search. |
|
SHOWSTATUS
Show Status Bar. |
|
SHOWTABLE
Show Table View. |
|
SHOWTEXT
Show Text View. |
|
SHOWTREE
Show Tree View. |
|
XQOPEN
Open XQuery. |
|
XQSAVE
Save XQuery. |
Method Summary | |
---|---|
boolean |
checked()
Returns if this command includes a menu checkbox. |
java.lang.String |
desc()
Returns the command entry. |
abstract void |
execute()
Executes the command. |
java.lang.String |
help()
Returns the command help. |
java.lang.String |
key()
Returns the command shortcut. |
void |
refresh(javax.swing.AbstractButton button)
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 CREATE
public static final GUICommands OPEN
public static final GUICommands DROP
public static final GUICommands CLOSE
public static final GUICommands XQOPEN
public static final GUICommands XQSAVE
public static final GUICommands IMPORTFS
public static final GUICommands EXPORT
public static final GUICommands EXIT
public static final GUICommands COPY
public static final GUICommands COPYPATH
public static final GUICommands PASTE
public static final GUICommands DELETE
public static final GUICommands INSERT
public static final GUICommands EDIT
public static final GUICommands FILTER
public static final GUICommands SHOWSEARCH
public static final GUICommands SHOWINFO
public static final GUICommands SHOWMENU
public static final GUICommands SHOWBUTTONS
public static final GUICommands SHOWINPUT
public static final GUICommands SHOWSTATUS
public static final GUICommands SHOWTEXT
public static final GUICommands SHOWMAP
public static final GUICommands SHOWTREE
public static final GUICommands SHOWTABLE
public static final GUICommands SHOWPLOT
public static final GUICommands FULL
public static final GUICommands RTEXEC
public static final GUICommands RTFILTER
public static final GUICommands COLOR
public static final GUICommands FONTS
public static final GUICommands MAPLAYOUT
public static final GUICommands PREFS
public static final GUICommands SHOWHELP
public static final GUICommands INFO
public static final GUICommands ABOUT
public static final GUICommands GOBACK
public static final GUICommands GOFORWARD
public static final GUICommands GOUP
public static final GUICommands ROOT
Method Detail |
---|
public static GUICommands[] values()
for (GUICommands c : GUICommands.values()) System.out.println(c);
public 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 abstract void execute()
execute
in interface GUICommand
public void refresh(javax.swing.AbstractButton button)
refresh
in interface GUICommand
button
- button to be modifiedpublic boolean checked()
checked
in interface GUICommand
public java.lang.String help()
help
in interface GUICommand
public java.lang.String desc()
desc
in interface GUICommand
public java.lang.String key()
key
in interface GUICommand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |