|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<BaseXKeys>
org.basex.gui.layout.BaseXKeys
public enum BaseXKeys
This class offers system-dependent key mappings.
Enum Constant Summary | |
---|---|
COMMENT
(Un)comment. |
|
CONTEXT
Context menu. |
|
COPY1
Copy. |
|
COPY2
Copy. |
|
CUT1
Cut. |
|
CUT2
Cut. |
|
DECFONT
Decrease size. |
|
DELLINE
Delete complete line. |
|
DELLINEEND
Delete line to end. |
|
DELLINESTART
Delete line to begin. |
|
DELNEXT
Delete. |
|
DELNEXTWORD
Delete word. |
|
DELPREV
Delete backwards. |
|
DELPREVWORD
Delete word backwards. |
|
ENTER
Enter. |
|
ESCAPE
Escape. |
|
EXEC
Execute. |
|
FIND
Find search term. |
|
FINDERROR
Jump to error. |
|
FINDNEXT
Find next hit. |
|
FINDNEXT2
Find next hit. |
|
FINDPREV
Find previous hit. |
|
FINDPREV2
Find previous hit. |
|
GOBACK
Browse back. |
|
GOBACK2
Browse back. |
|
GOFORWARD
Browse forward. |
|
GOHOME
Browse home. |
|
GOUP
Browse up. |
|
INCFONT1
Increment size. |
|
INCFONT2
Increment size. |
|
INPUTBAR
Jump to input bar. |
|
LINEEND
End of line. |
|
LINESTART
Beginning of line. |
|
NEXT
Right. |
|
NEXTLINE
Down. |
|
NEXTPAGE
Page down. |
|
NEXTPAGE_RO
Page down (read-only). |
|
NEXTTAB
Next panel. |
|
NEXTWORD
Word right. |
|
NORMFONT
Standard size. |
|
PASTE1
Paste. |
|
PASTE2
Paste. |
|
PREV
Left. |
|
PREVLINE
Up. |
|
PREVPAGE
Page up. |
|
PREVPAGE_RO
Page up (read-only). |
|
PREVTAB
Previous panel. |
|
PREVWORD
Word left. |
|
REDOSTEP
Redo. |
|
SCROLLDOWN
Scroll down. |
|
SCROLLUP
Scroll up. |
|
SELECTALL
Select all. |
|
SPACE
Space key. |
|
TAB
Tab key. |
|
TEXTEND
End of text. |
|
TEXTSTART
Beginning of text. |
|
UNDOSTEP
Undo. |
Method Summary | |
---|---|
static boolean |
control(java.awt.event.KeyEvent e)
Returns true if the pressed key includes a control key. |
boolean |
is(java.awt.event.KeyEvent e)
Returns true if the specified key combination was pressed. |
static boolean |
modifier(java.awt.event.KeyEvent e)
Returns true if the pressed key is a modifier key (including 'escape' and 'alt'-'tab'). |
static boolean |
sc(java.awt.event.InputEvent e)
Returns true if the system's shortcut key was pressed. |
java.lang.String |
toString()
|
static BaseXKeys |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BaseXKeys[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final BaseXKeys PREV
public static final BaseXKeys NEXT
public static final BaseXKeys PREVWORD
public static final BaseXKeys NEXTWORD
public static final BaseXKeys LINESTART
public static final BaseXKeys LINEEND
public static final BaseXKeys PREVLINE
public static final BaseXKeys NEXTLINE
public static final BaseXKeys PREVPAGE
public static final BaseXKeys NEXTPAGE
public static final BaseXKeys PREVPAGE_RO
public static final BaseXKeys NEXTPAGE_RO
public static final BaseXKeys TEXTSTART
public static final BaseXKeys TEXTEND
public static final BaseXKeys SCROLLUP
public static final BaseXKeys SCROLLDOWN
public static final BaseXKeys FIND
public static final BaseXKeys FINDNEXT
public static final BaseXKeys FINDNEXT2
public static final BaseXKeys FINDPREV
public static final BaseXKeys FINDPREV2
public static final BaseXKeys FINDERROR
public static final BaseXKeys UNDOSTEP
public static final BaseXKeys REDOSTEP
public static final BaseXKeys CUT1
public static final BaseXKeys CUT2
public static final BaseXKeys COPY1
public static final BaseXKeys COPY2
public static final BaseXKeys PASTE1
public static final BaseXKeys PASTE2
public static final BaseXKeys SELECTALL
public static final BaseXKeys DELPREV
public static final BaseXKeys DELNEXT
public static final BaseXKeys DELPREVWORD
public static final BaseXKeys DELNEXTWORD
public static final BaseXKeys DELLINESTART
public static final BaseXKeys DELLINEEND
public static final BaseXKeys DELLINE
public static final BaseXKeys COMMENT
public static final BaseXKeys EXEC
public static final BaseXKeys INPUTBAR
public static final BaseXKeys NEXTTAB
public static final BaseXKeys PREVTAB
public static final BaseXKeys GOBACK
public static final BaseXKeys GOBACK2
public static final BaseXKeys GOFORWARD
public static final BaseXKeys GOUP
public static final BaseXKeys GOHOME
public static final BaseXKeys INCFONT1
public static final BaseXKeys INCFONT2
public static final BaseXKeys DECFONT
public static final BaseXKeys NORMFONT
public static final BaseXKeys ESCAPE
public static final BaseXKeys CONTEXT
public static final BaseXKeys SPACE
public static final BaseXKeys TAB
public static final BaseXKeys ENTER
Method Detail |
---|
public static BaseXKeys[] values()
for (BaseXKeys c : BaseXKeys.values()) System.out.println(c);
public static BaseXKeys 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 boolean is(java.awt.event.KeyEvent e)
e
- key event
public static boolean sc(java.awt.event.InputEvent e)
e
- input event
public static boolean control(java.awt.event.KeyEvent e)
e
- key event
public static boolean modifier(java.awt.event.KeyEvent e)
e
- key event
public java.lang.String toString()
toString
in class java.lang.Enum<BaseXKeys>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |