|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sciapp.table.span.CellSpan
public class CellSpan
The class that defines a span for a cell.
Field Summary | |
---|---|
static int |
ALL_COLUMNS
identifies a cellspan where all columns are spanned. |
static int |
ALL_ROWS
identifies a cellspan where all rows are spanned. |
protected int |
columnSpan
the number of columns this cell spans. |
protected int |
rowSpan
the number of rows this cell spans. |
protected int |
spannedColumn
the cell's spanned column. |
protected int |
spannedRow
the cell's spanned row. |
Constructor Summary | |
---|---|
CellSpan(int spannedRow,
int spannedColumn,
int rowSpan,
int columnSpan)
Constructs a CellSpan. |
Method Summary | |
---|---|
int |
getColumnSpan()
Returns the number of columns this cell spans. |
int |
getRowSpan()
Returns the number of rows this cell spans. |
int |
getSpannedColumn()
Returns the cell's spanned column. |
int |
getSpannedRow()
Returns the cell's spanned row. |
void |
setColumnSpan(int newColumnSpan)
Sets the number of columns this cell spans. |
void |
setRowSpan(int newRowSpan)
Sets the number of rows this cell spans. |
void |
setSpannedColumn(int newSpannedColumn)
Sets the spanned column. |
void |
setSpannedRow(int newSpannedRow)
Sets the spanned row. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int spannedRow
protected int spannedColumn
protected int rowSpan
protected int columnSpan
public static final int ALL_ROWS
public static final int ALL_COLUMNS
Constructor Detail |
---|
public CellSpan(int spannedRow, int spannedColumn, int rowSpan, int columnSpan)
Method Detail |
---|
public int getColumnSpan()
public int getRowSpan()
public int getSpannedColumn()
public int getSpannedRow()
public void setColumnSpan(int newColumnSpan)
newColumnSpan
- the number of columns this cell spans.public void setRowSpan(int newRowSpan)
newRowSpan
- the number of rows this cell spans.public void setSpannedColumn(int newSpannedColumn)
newSpannedColumn
- the spanned column.public void setSpannedRow(int newSpannedRow)
newSpannedRow
- the spanned row.
|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |