java.lang.Object
mslinks.extra.ConsoleData
- All Implemented Interfaces:
Serializable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumonly this fonts are working... -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Sizeprivate int[]private ConsoleData.CursorSizeprivate ConsoleFlagsprivate ConsoleData.Fontprivate intprivate intprivate intprivate intprivate intstatic final intstatic final intprivate intprivate intprivate Sizeprivate Size -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intb(int rgb) static intg(int rgb) int[]getFont()intintintintget index in array returned by getColorTable() methodintget index in array returned by getColorTable() methodintget index in array returned by getColorTable() methodintget index in array returned by getColorTable() methodstatic intr(int rgb) static intrgb(int r, int g, int b) voidserialize(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:
ShellLinkExceptionIOException
-
-
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:
serializein 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
-