|
JComponentPack 1.3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CellSpanModel
| Method Summary | |
|---|---|
void |
addCellSpanListener(CellSpanListener l)
Adds a listener to the list that is notified each time a change to the cell span model occurs. |
Cell |
getCellSpans(int rowIndex,
int columnIndex)
Returns the cell that spans the specified cell at rowIndex and columnIndex. |
Cell[] |
getCellSpans(int firstRow,
int lastRow,
int firstColumn,
int lastColumn)
Returns the cells that spans the specified cell area. |
Cell[] |
getSpannedCells()
Returns all spanned cells. |
boolean |
hasCellSpans(int rowIndex,
int columnIndex)
Returns true if has cell spans the specified cell at rowIndex and columnIndex. |
boolean |
hasCellSpans(int firstRow,
int lastRow,
int firstColumn,
int lastColumn)
Returns true if has some cells spans the specified cell area. |
boolean |
isSpannedCell(Cell c)
Determines whether the cell is spanned cell. |
boolean |
merge(Cell c)
Merges the cell. |
void |
removeCellSpanListener(CellSpanListener l)
Removes a listener from the list that is notified each time a change to the cell span model occurs. |
boolean |
split(Cell c)
Splits the cell. |
| Method Detail |
|---|
boolean hasCellSpans(int rowIndex,
int columnIndex)
rowIndex and columnIndex.
rowIndex - the row index of the specified cellcolumnIndex - the column index of the specified cellgetCellSpans(int,int)
Cell getCellSpans(int rowIndex,
int columnIndex)
rowIndex and columnIndex.
rowIndex - the row index of the specified cellcolumnIndex - the column index of the specified cell
hasCellSpans(int,int)
boolean hasCellSpans(int firstRow,
int lastRow,
int firstColumn,
int lastColumn)
Note:Some cell spans the area can have row and column index out of the area index.
firstRow - the first row index of the specified cell arealastRow - the last row index of the specified cell areafirstColumn - the first column index of the specified cell arealastColumn - the last column index of the specified cell area
getCellSpans(int,int,int,int)
Cell[] getCellSpans(int firstRow,
int lastRow,
int firstColumn,
int lastColumn)
Note:Some cell spans the area can have row and column index out of the area index.
firstRow - the first row index of the specified cell arealastRow - the last row index of the specified cell areafirstColumn - the first column index of the specified cell arealastColumn - the last column index of the specified cell area
hasCellSpans(int,int,int,int)boolean isSpannedCell(Cell c)
c - the cell
merge(com.zfqjava.swing.cell.Cell).Cell[] getSpannedCells()
merge(com.zfqjava.swing.cell.Cell).boolean merge(Cell c)
true if this model changes
as a result of the call. (Returns false if this model
already contains such spanned cell c or does not permit
such operation.)
c - the cell
split(com.zfqjava.swing.cell.Cell)boolean split(Cell c)
true if this model changes
as a result of the call. (Returns false if this model
have not such spanned cell or does not permit such operation.)
c - the cell
merge(com.zfqjava.swing.cell.Cell)void addCellSpanListener(CellSpanListener l)
l - the CellSpanListenervoid removeCellSpanListener(CellSpanListener l)
l - the CellSpanListener
|
JComponentPack 1.3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||