|
http://www.eteks.com | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.eteks.jeks.JeksCellSet
Contiguous set of table cells.
Constructor Summary | |
JeksCellSet(int firstRow,
int firstColumn,
int lastRow,
int lastColumn)
Constructs a set of cells from the cell at coordinates (firstRow,firstColumn) to the one at coordinates
(lastRow,lastColumn) . |
|
JeksCellSet(JeksCell firstCell,
JeksCell lastCell)
Constructs a set of cells from the cell firstCell to the cell
lastCell . |
Method Summary | |
boolean |
containsCell(int row,
int column)
Returns true if the cell at coordinates (row,column)
is contained in this cells set. |
int |
getFirstColumn()
Returns the column index of the first cell of this table cells set. |
int |
getFirstRow()
Returns the row index of the first cell of this table cells set. |
int |
getLastColumn()
Returns the column index of the last cell of this table cells set. |
int |
getLastRow()
Returns the row index of the last cell of this table cells set. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JeksCellSet(int firstRow, int firstColumn, int lastRow, int lastColumn)
(firstRow,firstColumn)
to the one at coordinates
(lastRow,lastColumn)
. The coordinates don't need
to be ordonated (firstRow
may be greater than
lastRow
).firstRow
- The coordinates of the first cell.firstColumn
- lastRow
- The coordinates of the last cell.lastColumn
- public JeksCellSet(JeksCell firstCell, JeksCell lastCell)
firstCell
to the cell
lastCell
.firstCell
- The first cell.lastCell
- The last cell.Method Detail |
public final int getFirstRow()
public final int getFirstColumn()
public final int getLastRow()
public final int getLastColumn()
public boolean containsCell(int row, int column)
true
if the cell at coordinates (row,column)
is contained in this cells set.row
- The coordinates of a cell.column
- true
if this cells set contains the cell.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |