|
ElegantJ Data Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.elegantj.data.dataprovider.Table
This class encapsulates the data structure for table which hold records.
| Constructor Summary | |
Table()
Constructs an empty table. |
|
| Method Summary | |
void |
addRecord(Record record)
Method which adds a record to this table. |
void |
addRecordAt(int index,
Record record)
Method which adds a record to this table at a specified index. |
java.util.Vector |
getRecordAt(int index)
Method which returns a record at specified index. |
java.util.Vector |
getRecordVector()
Method which returns the vector of records in this table. |
int |
getTotalRecords()
Method which returns total number of records. |
void |
modifyDataAt(Record record,
int position)
Method which modify record at specified position. |
void |
removeRecordAt(int index)
Method which removes a record at specified index. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Table()
| Method Detail |
public void addRecord(Record record)
record - A record to be added to this table.
public void addRecordAt(int index,
Record record)
index - The index at which the specified record will be added.record - A record to be added to this table.public java.util.Vector getRecordAt(int index)
index - The index from which to retrieve the record.
public void removeRecordAt(int index)
index - The index from which to remove the record.public int getTotalRecords()
public java.util.Vector getRecordVector()
public void modifyDataAt(Record record,
int position)
record - The vector containing the record data.position - The position of the record to be modified.
|
ElegantJ Data Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||