|
||||||||||
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 | |
---|---|
C_ABOUT
Shows the "about" information. |
|
C_CLOSE
Closes the database. |
|
C_COLOR
Color schema. |
|
C_COMMUNITY
Opens the community web page. |
|
C_COPY
Copies the currently marked nodes. |
|
C_COPYPATH
Copies the current path. |
|
C_CREATE
Opens a dialog to create a new database. |
|
C_DELETE
Deletes the currently marked nodes. |
|
C_EDIT
Opens a dialog to edit the currently marked nodes. |
|
C_EDIT_GOTO
Jumps to a certain line. |
|
C_EDITCLOSE
Closes the current editor file. |
|
C_EDITNEW
Creates a new file in the editor. |
|
C_EDITOPEN
Opens a new file in the editor. |
|
C_EDITREOPEN
Reverts the current editor file. |
|
C_EDITSAVE
Saves the current file in the editor. |
|
C_EDITSAVEAS
Saves the current editor file under a new name. |
|
C_EXIT
Exits the application. |
|
C_EXPORT
Exports a database. |
|
C_FILTER
Filters the currently marked nodes. |
|
C_FONTS
Changes the fonts. |
|
C_FULL
Fullscreen mode. |
|
C_GOBACK
Goes one step back. |
|
C_GOFORWARD
Goes one step forward. |
|
C_GOHOME
Goes to the root node. |
|
C_GOUP
Goes one level up. |
|
C_HELP
Shows the documentation web page. |
|
C_HOME
Displays the root node in the text view. |
|
C_INFO
Shows database info. |
|
C_INSERT
Inserts new nodes. |
|
C_MAPLAYOUT
Map layout. |
|
C_OPEN_MANAGE
Opens a dialog to manage databases. |
|
C_PACKAGES
Repository manager. |
|
C_PASTE
Pastes the copied nodes. |
|
C_PREFS
Shows a preference dialog. |
|
C_RTEXEC
Realtime execution on/off. |
|
C_RTFILTER
Realtime filtering on/off. |
|
C_SERVER
Server Dialog. |
|
C_SHOWBUTTONS
Shows the buttons. |
|
C_SHOWEDITOR
Shows the XQuery view. |
|
C_SHOWEXPLORE
Shows the explorer view. |
|
C_SHOWFOLDER
Shows the tree view. |
|
C_SHOWINFO
Shows info. |
|
C_SHOWINPUT
Show Input Field. |
|
C_SHOWMAP
Shows the map. |
|
C_SHOWPLOT
Shows the plot view. |
|
C_SHOWRESULT
Shows the text view. |
|
C_SHOWSTATUS
Shows the status bar. |
|
C_SHOWTABLE
Shows the table view. |
|
C_SHOWTREE
Shows the tree view. |
|
C_TREEOPTIONS
TreeView options. |
|
C_UPDATES
Opens the update web page. |
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. |
java.lang.String |
label()
Returns the command label. |
void |
refresh(GUI gui,
javax.swing.AbstractButton b)
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 |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.basex.gui.GUICmd |
---|
execute |
Enum Constant Detail |
---|
public static final GUICommands C_CREATE
public static final GUICommands C_OPEN_MANAGE
public static final GUICommands C_INFO
public static final GUICommands C_EXPORT
public static final GUICommands C_CLOSE
public static final GUICommands C_SERVER
public static final GUICommands C_EDITNEW
public static final GUICommands C_EDITOPEN
public static final GUICommands C_EDITREOPEN
public static final GUICommands C_EDITSAVE
public static final GUICommands C_EDITSAVEAS
public static final GUICommands C_EDITCLOSE
public static final GUICommands C_EDIT_GOTO
public static final GUICommands C_EXIT
public static final GUICommands C_COPYPATH
public static final GUICommands C_COPY
public static final GUICommands C_PASTE
public static final GUICommands C_DELETE
public static final GUICommands C_INSERT
public static final GUICommands C_EDIT
public static final GUICommands C_FILTER
public static final GUICommands C_SHOWEDITOR
public static final GUICommands C_SHOWINFO
public static final GUICommands C_PACKAGES
public static final GUICommands C_SHOWBUTTONS
public static final GUICommands C_SHOWINPUT
public static final GUICommands C_SHOWSTATUS
public static final GUICommands C_SHOWRESULT
public static final GUICommands C_SHOWMAP
public static final GUICommands C_SHOWTREE
public static final GUICommands C_SHOWFOLDER
public static final GUICommands C_SHOWPLOT
public static final GUICommands C_SHOWTABLE
public static final GUICommands C_SHOWEXPLORE
public static final GUICommands C_FULL
public static final GUICommands C_RTEXEC
public static final GUICommands C_RTFILTER
public static final GUICommands C_COLOR
public static final GUICommands C_FONTS
public static final GUICommands C_MAPLAYOUT
public static final GUICommands C_TREEOPTIONS
public static final GUICommands C_PREFS
public static final GUICommands C_HELP
public static final GUICommands C_COMMUNITY
public static final GUICommands C_UPDATES
public static final GUICommands C_ABOUT
public static final GUICommands C_GOBACK
public static final GUICommands C_GOFORWARD
public static final GUICommands C_GOUP
public static final GUICommands C_GOHOME
public static final GUICommands C_HOME
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 void refresh(GUI gui, javax.swing.AbstractButton b)
GUICmd
refresh
in interface GUICmd
gui
- reference to the main windowb
- button to be modifiedpublic final boolean checked()
GUICmd
checked
in interface GUICmd
public java.lang.String help()
GUICmd
help
in interface GUICmd
public java.lang.String label()
GUICmd
label
in interface GUICmd
public java.lang.String key()
GUICmd
key
in interface GUICmd
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |