public class Row
extends java.lang.Object
Cell
s.
Corresponding to VT100 User's Manual terminal row can have
doubled width or doubled high (or both).Constructor and Description |
---|
Row(int colNum)
Creates
Row object giving quantity of cells. |
Row(Row row)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
Cell |
cellAt(int index)
Gives access to specified cell.
|
boolean |
isDoubleHigh()
Checks if current row has doubled high.
|
boolean |
isDoubleWidth()
Checks if current row has doubled width.
|
void |
setDoubleHigh(boolean doubleHigh)
Sets current row to has doubled high.
|
void |
setDoubleWidth(boolean doubleWidth)
Sets current row to has doubled width.
|
Cell[] |
toCellArray()
Represents current row as array of
Cell objects. |
java.lang.String |
toString() |
public Row(int colNum)
Row
object giving quantity of cells.colNum
- number of cells.public Row(Row row)
row
- Row
object to be copied.public Cell cellAt(int index)
index
- number of cell to access.Cell
object with giving number.public boolean isDoubleWidth()
public void setDoubleWidth(boolean doubleWidth)
doubleWidth
- true if current row must have doubled width.public boolean isDoubleHigh()
public void setDoubleHigh(boolean doubleHigh)
doubleHigh
- true if current row must have doubled high.public Cell[] toCellArray()
Cell
objects.Cell
objects.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved