public static enum WindowsTerminal.ConsoleMode extends java.lang.Enum<WindowsTerminal.ConsoleMode>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Field and Description |
---|---|
int |
code |
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 namejava.lang.NullPointerException
- if the argument is nullCopyright © 2018. All Rights Reserved.