public enum BaseXKeys extends Enum<BaseXKeys>
Enum Constant and Description |
---|
ADDIMPORT
Add as import.
|
CLOSETAB
Close tab.
|
COMPLETE
Code completion.
|
CONTEXT
Context menu.
|
COPY1
Copy.
|
COPY2
Copy.
|
COPYPATH
Copy path.
|
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.
|
EXEC1
Execute.
|
EXEC2
Execute.
|
FIND
Find search term.
|
FINDNEXT1
Find next hit.
|
FINDNEXT2
Find next hit.
|
FINDPREV1
Find previous hit.
|
FINDPREV2
Find previous hit.
|
GOBACK
Browse back.
|
GOBACK2
Browse back.
|
GOFORWARD
Browse forward.
|
GOHOME
Browse home.
|
GOTOLINE
Go to line.
|
GOUP
Browse up.
|
INCFONT1
Increment size.
|
INCFONT2
Increment size.
|
INPUTBAR
Jump to input bar.
|
LINEEND
End of line.
|
LINESTART
Beginning of line.
|
MOVEDOWN
Move line(s) down.
|
MOVEUP
Move line(s) up.
|
NEWDIR
New directory.
|
NEXTCHAR
Right.
|
NEXTLINE
Down.
|
NEXTPAGE
Page down.
|
NEXTPAGE_RO
Page down (read-only).
|
NEXTTAB
Next tab.
|
NEXTWORD
Word right.
|
NORMFONT
Standard size.
|
PASTE1
Paste.
|
PASTE2
Paste.
|
PREVCHAR
Left.
|
PREVLINE
Up.
|
PREVPAGE
Page up.
|
PREVPAGE_RO
Page up (read-only).
|
PREVTAB
Previous tab.
|
PREVWORD
Word left.
|
REDOSTEP
Redo.
|
REFRESH
Refresh.
|
RENAME
Rename.
|
SCROLLDOWN
Scroll down.
|
SCROLLUP
Scroll up.
|
SELECTALL
Select all.
|
SHIFT_ENTER
Shift Enter.
|
SPACE
Space key.
|
TAB
Tab key.
|
TEXTEND
End of text.
|
TEXTSTART
Beginning of text.
|
UNDOSTEP
Undo.
|
UNIT
Test.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
control(KeyEvent e)
Returns true if the pressed key includes a control key.
|
boolean |
is(KeyEvent e)
Returns true if the specified key combination was pressed.
|
static boolean |
modifier(KeyEvent e)
Returns true if the pressed key is a modifier key
(including 'escape' and 'alt'-'tab').
|
static boolean |
sc(InputEvent e)
Returns true if the system's shortcut key was pressed.
|
String |
toString() |
static BaseXKeys |
valueOf(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.
|
public static final BaseXKeys PREVCHAR
public static final BaseXKeys NEXTCHAR
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 TEXTSTART
public static final BaseXKeys TEXTEND
public static final BaseXKeys SCROLLUP
public static final BaseXKeys SCROLLDOWN
public static final BaseXKeys TAB
public static final BaseXKeys PREVPAGE_RO
public static final BaseXKeys NEXTPAGE_RO
public static final BaseXKeys DELPREV
public static final BaseXKeys DELNEXT
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 MOVEDOWN
public static final BaseXKeys MOVEUP
public static final BaseXKeys COMPLETE
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 INPUTBAR
public static final BaseXKeys NEXTTAB
public static final BaseXKeys PREVTAB
public static final BaseXKeys CLOSETAB
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 GOTOLINE
public static final BaseXKeys FIND
public static final BaseXKeys FINDNEXT1
public static final BaseXKeys FINDNEXT2
public static final BaseXKeys FINDPREV1
public static final BaseXKeys FINDPREV2
public static final BaseXKeys INCFONT1
public static final BaseXKeys INCFONT2
public static final BaseXKeys DECFONT
public static final BaseXKeys NORMFONT
public static final BaseXKeys EXEC1
public static final BaseXKeys EXEC2
public static final BaseXKeys UNIT
public static final BaseXKeys ESCAPE
public static final BaseXKeys CONTEXT
public static final BaseXKeys COPYPATH
public static final BaseXKeys ADDIMPORT
public static final BaseXKeys REFRESH
public static final BaseXKeys RENAME
public static final BaseXKeys NEWDIR
public static final BaseXKeys SPACE
public static final BaseXKeys ENTER
public static final BaseXKeys SHIFT_ENTER
public static BaseXKeys[] values()
for (BaseXKeys c : BaseXKeys.values()) System.out.println(c);
public static BaseXKeys valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean is(KeyEvent e)
e
- key eventpublic static boolean sc(InputEvent e)
e
- input eventpublic static boolean control(KeyEvent e)
e
- key eventpublic static boolean modifier(KeyEvent e)
e
- key eventCopyright © 2005–2015 BaseX Team. All rights reserved.