Josh
Native console access wrapper for Java

Constant Field Values


Contents
com.yifanlu.*

com.yifanlu.Josh.ConsoleAttribute
public static final int COMMON_LVB_GRID_HORIZONTAL 1024
public static final int COMMON_LVB_GRID_LVERTICAL 2048
public static final int COMMON_LVB_GRID_RVERTICAL 4096
public static final int COMMON_LVB_LEADING_BYTE 256
public static final int COMMON_LVB_REVERSE_VIDEO 16384
public static final int COMMON_LVB_TRAILING_BYTE 512
public static final int COMMON_LVB_UNDERSCORE 32768

com.yifanlu.Josh.ConsoleColor
public static final int BACKGROUND_BLUE 16
public static final int BACKGROUND_GREEN 32
public static final int BACKGROUND_INTENSITY 128
public static final int BACKGROUND_RED 64
public static final int FOREGROUND_BLUE 1
public static final int FOREGROUND_GREEN 2
public static final int FOREGROUND_INTENSITY 8
public static final int FOREGROUND_RED 4

com.yifanlu.Josh.ConsoleEvent
public static final int CAPSLOCK_ON 128
public static final int ENHANCED_KEY 256
public static final int FOCUS_EVENT 16
public static final int KEY_EVENT 1
public static final int LEFT_ALT_PRESSED 2
public static final int LEFT_CTRL_PRESSED 8
public static final int MENU_EVENT 8
public static final int MOUSE_EVENT 2
public static final int NUMLOCK_ON 32
public static final int RIGHT_ALT_PRESSED 1
public static final int RIGHT_CTRL_PRESSED 4
public static final int SCROLLLOCK_ON 64
public static final int SHIFT_PRESSED 16
public static final int WINDOW_BUFFER_SIZE_EVENT 4

com.yifanlu.Josh.ConsoleEventMouse
public static final int DOUBLE_CLICK 2
public static final int FROM_LEFT_1ST_BUTTON_PRESSED 1
public static final int FROM_LEFT_2ND_BUTTON_PRESSED 4
public static final int FROM_LEFT_3RD_BUTTON_PRESSED 8
public static final int FROM_LEFT_4TH_BUTTON_PRESSED 16
public static final int MOUSE_HWHEELED 8
public static final int MOUSE_MOVED 1
public static final int MOUSE_WHEELED 4
public static final int RIGHTMOST_BUTTON_PRESSED 2

com.yifanlu.Josh.ConsoleHistoryInfo
public static final int HISTORY_NO_DUP_FLAG 1

com.yifanlu.Josh.ConsoleSelectionInfo
public static final int CONSOLE_MOUSE_DOWN 8
public static final int CONSOLE_MOUSE_SELECTION 4
public static final int CONSOLE_NO_SELECTION 0
public static final int CONSOLE_SELECTION_IN_PROGRESS 1
public static final int CONSOLE_SELECTION_NOT_EMPTY 2

com.yifanlu.Josh.Josh
public static final int STD_ERROR_HANDLE -12
public static final int STD_INPUT_HANDLE -10
public static final int STD_OUTPUT_HANDLE -11

com.yifanlu.Josh.JoshOutBuffer
public static final int ENABLE_ECHO_INPUT 4
public static final int ENABLE_INSERT_MODE 32
public static final int ENABLE_LINE_INPUT 2
public static final int ENABLE_MOUSE_INPUT 16
public static final int ENABLE_PROCESSED_INPUT 1
public static final int ENABLE_PROCESSED_OUTPUT 1
public static final int ENABLE_QUICK_EDIT_MODE 64
public static final int ENABLE_WINDOW_INPUT 8
public static final int ENABLE_WRAP_AT_EOL_OUTPUT 2

com.yifanlu.Josh.OSNotSupportedException
public static final int WINDOWS_2000 1280
public static final int WINDOWS_VISTA 1536
public static final int WINDOWS_XP 1281


Copyright © 2010 Yifan Lu