|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
$Id: CellSpan.java,v 1.0 2005/09/25 jDynTable@gmx.de $
The CellSpan Interface is implemented by DefaultCellAttribute
and used in used in some of the table classes.
It provides some basic methods concerning table cell spans. These
methods are very important for cell combination / cell split.
Field Summary | |
---|---|
static int |
COLUMN
Symbolic constant - value is 1 |
static int |
ROW
Symbolic constant - value is 0 |
Method Summary | |
---|---|
int[] |
getSpan(int row,
int column)
Returns cell span at position row/column. |
boolean |
isVisible(int row,
int column)
A cell may be not visible if its neighbor cell is combined with it |
void |
setSpan(int[] span,
int row,
int column)
Sets cell span at position row/column |
Field Detail |
public static final int ROW
public static final int COLUMN
Method Detail |
public int[] getSpan(int row, int column)
row
- integer with Rowcolumn
- integer with Column
public void setSpan(int[] span, int row, int column)
row
- integer with Rowcolumn
- integer with Columnspan
- span of the cellpublic boolean isVisible(int row, int column)
row
- integer with Rowcolumn
- integer with Column
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |