|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetaSchemeTableModel
A TableModel
to hold MetaRecord
s.
Method Summary | |
---|---|
void |
addRecord(MetaRecord... r)
Adds a record as a table row. |
void |
clear()
Removes all entries. |
void |
delete(int row)
Deletes the MetaRecord in the specified row. |
void |
delete(MetaRecord record)
Deletes the specified MetaRecord . |
MetaRecord |
getRecord(int row)
Returns the MetaRecord in the specified row. |
MetaScheme |
getScheme()
Returns the scheme that defines this table model's structure. |
void |
update(MetaRecord record,
int index)
Updates the MetaRecord at the specified index. |
Methods inherited from interface javax.swing.table.TableModel |
---|
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt |
Method Detail |
---|
void addRecord(MetaRecord... r)
r
- the new recordvoid clear()
MetaScheme getScheme()
MetaRecord getRecord(int row)
MetaRecord
in the specified row.
row
- the row number, 0-based
MetaRecord
in the specified row
java.lang.IndexOutOfBoundsException
- iff row < 0
or row >
the maximum indexvoid delete(int row)
MetaRecord
in the specified row.
row
- the row number, 0-based
java.lang.IndexOutOfBoundsException
- iff row < 0
or row >
the maximum indexvoid delete(MetaRecord record)
MetaRecord
.
record
- a MetaRecord to be deleted
void update(MetaRecord record, int index)
MetaRecord
at the specified index.
record
- a MetaRecord to be updated
index
- the index of the record
java.lang.IndexOutOfBoundsException
- iff index < 0
or index >
the maximum index
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |