Class MutableTerminalSize

  • All Implemented Interfaces:
    TerminalSize

    public class MutableTerminalSize
    extends java.lang.Object
    implements TerminalSize
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCols()
      Returns the number of character columns in the terminal.
      int getRows()
      Returns the number of character rows in the terminal.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MutableTerminalSize

        public MutableTerminalSize()
    • Method Detail

      • getCols

        public int getCols()
        Description copied from interface: TerminalSize
        Returns the number of character columns in the terminal.
        Specified by:
        getCols in interface TerminalSize
      • getRows

        public int getRows()
        Description copied from interface: TerminalSize
        Returns the number of character rows in the terminal.
        Specified by:
        getRows in interface TerminalSize