|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<WindowsTerminal.ConsoleMode>
jline.WindowsTerminal.ConsoleMode
public static enum WindowsTerminal.ConsoleMode
Console mode
Constants copied wincon.h.
Enum Constant Summary | |
---|---|
ENABLE_ECHO_INPUT
Characters read by the ReadFile or ReadConsole function are written to the active screen buffer as they are read. |
|
ENABLE_LINE_INPUT
The ReadFile or ReadConsole function returns only when a carriage return character is read. |
|
ENABLE_MOUSE_INPUT
If the mouse pointer is within the borders of the console window and the window has the keyboard focus, mouse events generated by mouse movement and button presses are placed in the input buffer. |
|
ENABLE_PROCESSED_INPUT
CTRL+C is processed by the system and is not placed in the input buffer. |
|
ENABLE_PROCESSED_OUTPUT
When enabled, text entered in a console window will be inserted at the current cursor location and all text following that location will not be overwritten. |
|
ENABLE_WINDOW_INPUT
User interactions that change the size of the console screen buffer are reported in the console's input buffee. |
|
ENABLE_WRAP_AT_EOL_OUTPUT
This flag enables the user to use the mouse to select and edit text. |
Field Summary | |
---|---|
int |
code
|
Method Summary | |
---|---|
static WindowsTerminal.ConsoleMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static WindowsTerminal.ConsoleMode[] |
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 |
Enum Constant Detail |
---|
public static final WindowsTerminal.ConsoleMode ENABLE_LINE_INPUT
public static final WindowsTerminal.ConsoleMode ENABLE_ECHO_INPUT
public static final WindowsTerminal.ConsoleMode ENABLE_PROCESSED_INPUT
public static final WindowsTerminal.ConsoleMode ENABLE_WINDOW_INPUT
public static final WindowsTerminal.ConsoleMode ENABLE_MOUSE_INPUT
public static final WindowsTerminal.ConsoleMode ENABLE_PROCESSED_OUTPUT
public static final WindowsTerminal.ConsoleMode ENABLE_WRAP_AT_EOL_OUTPUT
Field Detail |
---|
public final int code
Method Detail |
---|
public static WindowsTerminal.ConsoleMode[] values()
for (WindowsTerminal.ConsoleMode c : WindowsTerminal.ConsoleMode.values()) System.out.println(c);
public static WindowsTerminal.ConsoleMode 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 null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |