java.lang.Object
mslinks.extra.ConsoleData
- All Implemented Interfaces:
Serializable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static enum
only this fonts are working... -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Size
private int[]
private ConsoleData.CursorSize
private ConsoleFlags
private ConsoleData.Font
private int
private int
private int
private int
private int
static final int
static final int
private int
private int
private Size
private Size
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
b
(int rgb) static int
g
(int rgb) int[]
getFont()
int
int
int
int
get index in array returned by getColorTable() methodint
get index in array returned by getColorTable() methodint
get index in array returned by getColorTable() methodint
get index in array returned by getColorTable() methodstatic int
r
(int rgb) static int
rgb
(int r, int g, int b) void
serialize
(ByteWriter bw) setFontSize
(int n) setHistoryBuffers
(int n) setHistorySize
(int n) setPopupTextBackground
(int n) set index in array returned by getColorTable() methodsetPopupTextColor
(int n) set index in array returned by getColorTable() methodsetTextBackground
(int n) set index in array returned by getColorTable() methodsetTextColor
(int n) set index in array returned by getColorTable() method
-
Field Details
-
signature
public static final int signature- See Also:
-
size
public static final int size- See Also:
-
flags
-
textFG
private int textFG -
textBG
private int textBG -
popupFG
private int popupFG -
popupBG
private int popupBG -
buffer
-
window
-
windowpos
-
fontsize
private int fontsize -
font
-
cursize
-
historysize
private int historysize -
historybuffers
private int historybuffers -
colors
private int[] colors
-
-
Constructor Details
-
ConsoleData
public ConsoleData() -
ConsoleData
- Throws:
ShellLinkException
IOException
-
-
Method Details
-
rgb
public static int rgb(int r, int g, int b) -
r
public static int r(int rgb) -
g
public static int g(int rgb) -
b
public static int b(int rgb) -
serialize
- Specified by:
serialize
in interfaceSerializable
- Throws:
IOException
-
getColorTable
public int[] getColorTable() -
getTextColor
public int getTextColor()get index in array returned by getColorTable() method -
setTextColor
set index in array returned by getColorTable() method -
getTextBackground
public int getTextBackground()get index in array returned by getColorTable() method -
setTextBackground
set index in array returned by getColorTable() method -
getPopupTextColor
public int getPopupTextColor()get index in array returned by getColorTable() method -
setPopupTextColor
set index in array returned by getColorTable() method -
getPopupTextBackground
public int getPopupTextBackground()get index in array returned by getColorTable() method -
setPopupTextBackground
set index in array returned by getColorTable() method -
getBufferSize
-
getWindowSize
-
getWindowPos
-
getConsoleFlags
-
getFontSize
public int getFontSize() -
setFontSize
-
getFont
-
setFont
-
getCursorSize
-
setCursorSize
-
getHistorySize
public int getHistorySize() -
setHistorySize
-
getHistoryBuffers
public int getHistoryBuffers() -
setHistoryBuffers
-