public class Size extends Object
Modifier and Type | Method and Description |
---|---|
void |
copy(Size size) |
int |
cursorPos(int row,
int col)
A cursor position combines a row number with a column position.
|
boolean |
equals(Object o) |
int |
getColumns() |
int |
getRows() |
int |
hashCode() |
void |
setColumns(int columns) |
void |
setRows(int rows) |
String |
toString() |
public int getColumns()
public void setColumns(int columns)
public int getRows()
public void setRows(int rows)
public int cursorPos(int row, int col)
col+1
different column positions,
including the right margin.public void copy(Size size)
Copyright © 2018 JBoss by Red Hat. All rights reserved.