java.lang.Object
mslinks.extra.ConsoleData
- All Implemented Interfaces:
Serializable
public class ConsoleData extends Object implements Serializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConsoleData.CursorSizestatic classConsoleData.Fontonly this fonts are working... -
Field Summary
-
Constructor Summary
Constructors Constructor Description ConsoleData()ConsoleData(ByteReader br, int sz) -
Method Summary
Modifier and Type Method Description static intb(int rgb)static intg(int rgb)SizegetBufferSize()int[]getColorTable()ConsoleFlagsgetConsoleFlags()ConsoleData.CursorSizegetCursorSize()ConsoleData.FontgetFont()intgetFontSize()intgetHistoryBuffers()intgetHistorySize()intgetPopupTextBackground()get index in array returned by getColorTable() methodintgetPopupTextColor()get index in array returned by getColorTable() methodintgetTextBackground()get index in array returned by getColorTable() methodintgetTextColor()get index in array returned by getColorTable() methodSizegetWindowPos()SizegetWindowSize()static intr(int rgb)static intrgb(int r, int g, int b)voidserialize(ByteWriter bw)ConsoleDatasetCursorSize(ConsoleData.CursorSize cs)ConsoleDatasetFont(ConsoleData.Font f)ConsoleDatasetFontSize(int n)ConsoleDatasetHistoryBuffers(int n)ConsoleDatasetHistorySize(int n)ConsoleDatasetPopupTextBackground(int n)set index in array returned by getColorTable() methodConsoleDatasetPopupTextColor(int n)set index in array returned by getColorTable() methodConsoleDatasetTextBackground(int n)set index in array returned by getColorTable() methodConsoleDatasetTextColor(int n)set index in array returned by getColorTable() method
-
Field Details
-
signature
public static final int signature- See Also:
- Constant Field Values
-
size
public static final int size- See Also:
- Constant Field Values
-
-
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
-