|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITableModel
Adds to the swing TableModel the posibility
of add, remove and modify rows.
In the model there are no null rows, but cells with null
are allowed.
When add, insert or modify rows you can send null, but the
implementation will store a empty array or equivalent.
| Method Summary | |
|---|---|
void |
addRow(java.lang.Object[] rowData)
Add a row at end. |
java.lang.Object[] |
getRow(int row)
Return a array with data of indicated row. |
void |
insertRow(int row,
java.lang.Object[] rowData)
Insert the row in the indicated place. |
void |
removeAllRows()
|
void |
removeRow(int row)
|
void |
setRow(int row,
java.lang.Object[] rowData)
Set new values in the row. |
| Methods inherited from interface javax.swing.table.TableModel |
|---|
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt |
| Method Detail |
|---|
void addRow(java.lang.Object[] rowData)
rowData - Data to add, if null add a row
which datas are null, but row itself
is not null.java.lang.Object[] getRow(int row)
!= null
void insertRow(int row,
java.lang.Object[] rowData)
*
rowData - Data to insert, if null add a row
which datas are null, but row itself
is not null.void removeAllRows()
void removeRow(int row)
void setRow(int row,
java.lang.Object[] rowData)
rowData - Data to set, if null add a row
which datas are null, but row itself
is not null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||