|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The SpTableModel interface is implemented by IndexedCollectionTableModel, the model that SpTable uses. It should be used by any other model developped to be an SpTable model.
Method Summary | |
java.lang.String |
getColumnDataName(int columnIndex)
Returns the name of the data column at columnIndex. |
int |
getColumnSize(int columnIndex)
Returns the size of the column at columnIndex. |
DataElement |
getDataElement(int arg1,
int arg2)
Returns the cell DataElement at row=arg1 and column=arg2. |
IndexedCollection |
getICol()
Gets the IndexedCollection property value. |
void |
setICol(IndexedCollection ic)
Sets the IndexedCollection of KeyedCollections to be associated to the table model. |
void |
updateColumns(VectorEditor v)
Updates the table columns. |
Methods inherited from interface javax.swing.table.TableModel |
addTableModelListener,
getColumnClass,
getColumnCount,
getColumnName,
getRowCount,
getValueAt,
isCellEditable,
removeTableModelListener,
setValueAt |
Method Detail |
public java.lang.String getColumnDataName(int columnIndex)
columnIndex
- int, the column.public int getColumnSize(int columnIndex)
columnIndex
- int, the columnpublic DataElement getDataElement(int arg1, int arg2)
arg1
- int, the rowarg2
- int, the columnpublic IndexedCollection getICol()
public void setICol(IndexedCollection ic)
ic
- IndexedCollection, the IndexedCollection associated to the modelpublic void updateColumns(VectorEditor v)
v
- VectorEditor, the vector with the columns information
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |