Module mslinks
Package mslinks.extra

Class ConsoleData

    • Field Detail

      • 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
      • historysize

        private int historysize
      • historybuffers

        private int historybuffers
      • colors

        private int[] colors
    • Method Detail

      • 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 java.io.IOException
        Specified by:
        serialize in interface Serializable
        Throws:
        java.io.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()
      • getFontSize

        public int getFontSize()
      • setFontSize

        public ConsoleData setFontSize​(int n)
      • getHistorySize

        public int getHistorySize()
      • setHistorySize

        public ConsoleData setHistorySize​(int n)
      • getHistoryBuffers

        public int getHistoryBuffers()
      • setHistoryBuffers

        public ConsoleData setHistoryBuffers​(int n)