A TableModel
to hold org.kaiwitte.workbench.data.MetaRecord
s.
public interface MetaSchemeTableModel extends TableModel {public void addRecord(org.kaiwitte.workbench.data.MetaRecord[] r);
public void addRecord(net.tmorris.adt.sequence.Sequence r);
public void clear();
public MetaScheme getScheme();
public MetaRecord getRecord(int row);
public void delete(int row);
public void delete(MetaRecord record);
public void update(MetaRecord record,
int index);
}
Inheritance Path. org.kaiwitte.workbench.ui.model.MetaSchemeTableModel
Synopsis: public void addRecord(org.kaiwitte.workbench.data.MetaRecord[] r)\ ;
Parameters
r
the new record
Adds a record as a table row.
Synopsis: public void addRecord(net.tmorris.adt.sequence.Sequence r);
Parameters
r
the new record
Adds a record as a table row.
Synopsis: public void delete(int row);
Parameters
row
the row number, 0-based
Exceptions
IndexOutOfBoundsException
iff row < 0
or row >
the maximum index
Deletes the MetaRecord
in the specified row.
Synopsis: public void delete(org.kaiwitte.workbench.data.MetaRecord record)\ ;
Parameters
record
a MetaRecord to be deleted
Deletes the specified MetaRecord
.
Synopsis: public MetaRecord getRecord(int row);
Parameters
row
the row number, 0-based
the MetaRecord
in the specified row
Exceptions
IndexOutOfBoundsException
iff row < 0
or row >
the maximum index
Returns the MetaRecord
in the specified row.
Synopsis: public MetaScheme getScheme();
Parameters
the scheme
Returns the scheme that defines this table model's structure.