Interface Sized
- All Known Subinterfaces:
Terminal, TerminalExt
- All Known Implementing Classes:
AbstractPosixTerminal, AbstractTerminal, AbstractUnixSysTerminal, AbstractWindowsTerminal, DeferredTerminal, Display, DumbTerminal, ExternalTerminal, LineDisciplineTerminal, PosixPtyTerminal, PosixSysTerminal, ScreenTerminal, Size
public interface Sized
Represents an object (e.g. a terminal) which has a size in character cells.
- Columns - The width of this object in character cells
- Rows - The height of this object in character cells
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of columns (width) in this object.intgetRows()Returns the number of rows (height) in this object.
-
Method Details
-
getColumns
int getColumns()Returns the number of columns (width) in this object.The number of columns represents the width in character cells.
- Returns:
- The number of columns (width) in this object.
-
getRows
int getRows()Returns the number of rows (height) in this object.The number of rows represents the height in character cells.
- Returns:
- The number of rows (height) in this object.
-