net.rubygrapefruit.platform.internal
Class MutableTerminalSize

java.lang.Object
  extended by net.rubygrapefruit.platform.internal.MutableTerminalSize
All Implemented Interfaces:
TerminalSize

public class MutableTerminalSize
extends java.lang.Object
implements TerminalSize


Constructor Summary
MutableTerminalSize()
           
 
Method Summary
 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