|
EchoPoint 2.1.0rc4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectechopointng.TableEx.CellMatrix
CellMatrix is used to hold the content for a given sized
set of cells.
The index of the cell matrix is 0,0 to (rowCount,cellCount) unless there is a isHeaderVisible in which case it is 0,-1 to ((rowCount*cellCount)
| Constructor Summary | |
TableEx.CellMatrix(int columnCount,
int rowCount,
java.lang.Object cellSpanObject)
Constructs a CellMatrix |
|
| Method Summary | |
boolean |
containsCellContent(java.lang.Object value)
Returns true if the specified value is part of the content in this CellMatrix |
java.lang.Object |
getCellContent(int column,
int row)
Returns the cell content at the specified column and row co-ordinate. |
java.lang.Object |
getCellProperties(int column,
int row,
java.lang.String propertyName)
|
java.lang.Object |
getCellSpanObject()
|
int |
getColumnCount()
|
int |
getRowCount()
|
void |
setCellContent(java.lang.Object value,
int column,
int row)
Sets the content of the cells at the specified column/row co-ordinate. |
void |
setCellContent(java.lang.Object value,
int column,
int row,
int colSpan,
int rowSpan)
Sets the content of the cells at the specified column/row co-ordinate. |
void |
setCellProperties(int column,
int row,
java.lang.String propertyName,
java.lang.Object value)
Called to set specific property information for a cell. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TableEx.CellMatrix(int columnCount,
int rowCount,
java.lang.Object cellSpanObject)
CellMatrix
columnCount - -
the maximum number of columnsrowCount - -
the maximum number of rowscellSpanObject - -
the object to be stored in a cell if its is spanned via
rowCount and colSpan values.| Method Detail |
public boolean containsCellContent(java.lang.Object value)
CellMatrix
value - -
what the check for
CellMatrix
public java.lang.Object getCellContent(int column,
int row)
column - row -
java.lang.IllegalArgumentException - if the specified column and row co-ordinate is outside
the bounds of the CellMatrix.public java.lang.Object getCellSpanObject()
public int getColumnCount()
public int getRowCount()
public void setCellContent(java.lang.Object value,
int column,
int row)
value - -
the content value to be placed in the cellcolumn - -
the column indexrow - -
the row index
java.lang.IllegalArgumentException - if the specified column and row co-ordinate is outside
the bounds of the CellMatrix.
public void setCellContent(java.lang.Object value,
int column,
int row,
int colSpan,
int rowSpan)
value - -
the content value to be placed in the cellcolumn - -
the column indexrow - -
the row indexcolSpan - -
the column spanrowSpan - -
the row span
java.lang.IllegalArgumentException - if the specified column and row co-ordinate is outside
the bounds of the CellMatrix.
public void setCellProperties(int column,
int row,
java.lang.String propertyName,
java.lang.Object value)
column - -
the column of the cellrow - -
the row of the cellpropertyName - -
the property namevalue - -
a value for that property at that cell
public java.lang.Object getCellProperties(int column,
int row,
java.lang.String propertyName)
|
EchoPoint 2.1.0rc4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||