Module mslinks
Package mslinks.extra

Class ConsoleData

java.lang.Object
mslinks.extra.ConsoleData
All Implemented Interfaces:
Serializable

public class ConsoleData extends Object implements Serializable
  • Field Details

    • signature

      public static final int signature
      See Also:
    • size

      public static final int size
      See Also:
    • flags

      private ConsoleFlags flags
    • textFG

      private int textFG
    • textBG

      private int textBG
    • popupFG

      private int popupFG
    • popupBG

      private int popupBG
    • buffer

      private Size buffer
    • window

      private Size window
    • windowpos

      private Size windowpos
    • fontsize

      private int fontsize
    • font

      private ConsoleData.Font font
    • cursize

      private ConsoleData.CursorSize cursize
    • historysize

      private int historysize
    • historybuffers

      private int historybuffers
    • colors

      private int[] colors
  • Constructor Details

  • 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

      public void serialize(ByteWriter bw) throws IOException
      Specified by:
      serialize in interface Serializable
      Throws:
      IOException
    • getColorTable

      public int[] getColorTable()
    • getTextColor

      public int getTextColor()
      get index in array returned by getColorTable() method
    • setTextColor

      public ConsoleData setTextColor(int n)
      set index in array returned by getColorTable() method
    • getTextBackground

      public int getTextBackground()
      get index in array returned by getColorTable() method
    • setTextBackground

      public ConsoleData setTextBackground(int n)
      set index in array returned by getColorTable() method
    • getPopupTextColor

      public int getPopupTextColor()
      get index in array returned by getColorTable() method
    • setPopupTextColor

      public ConsoleData setPopupTextColor(int n)
      set index in array returned by getColorTable() method
    • getPopupTextBackground

      public int getPopupTextBackground()
      get index in array returned by getColorTable() method
    • setPopupTextBackground

      public ConsoleData setPopupTextBackground(int n)
      set index in array returned by getColorTable() method
    • getBufferSize

      public Size getBufferSize()
    • getWindowSize

      public Size getWindowSize()
    • getWindowPos

      public Size getWindowPos()
    • getConsoleFlags

      public ConsoleFlags getConsoleFlags()
    • getFontSize

      public int getFontSize()
    • setFontSize

      public ConsoleData setFontSize(int n)
    • getFont

      public ConsoleData.Font getFont()
    • setFont

      public ConsoleData setFont(ConsoleData.Font f)
    • getCursorSize

      public ConsoleData.CursorSize getCursorSize()
    • setCursorSize

      public ConsoleData setCursorSize(ConsoleData.CursorSize cs)
    • getHistorySize

      public int getHistorySize()
    • setHistorySize

      public ConsoleData setHistorySize(int n)
    • getHistoryBuffers

      public int getHistoryBuffers()
    • setHistoryBuffers

      public ConsoleData setHistoryBuffers(int n)