public class DBTableListModel extends javax.swing.AbstractListModel
Modifier and Type | Field and Description |
---|---|
protected java.util.Vector |
mItems |
protected DBTableFrame |
mTableFrame |
Constructor and Description |
---|
DBTableListModel(DBTableFrame aTableFrame)
Constructor - KNows who the table frame is
|
Modifier and Type | Method and Description |
---|---|
void |
add(DBTableField aField)
Add a field to the list
|
void |
add(DSTableFieldIFace aField)
Add a field to the list
|
java.lang.Object |
getElementAt(int index)
Get a single field (data item)
|
java.util.Vector |
getFields()
Returns the Vector of field object (data)
|
int |
getSize()
Get the number of fields
|
protected DBTableFrame mTableFrame
protected java.util.Vector mItems
public DBTableListModel(DBTableFrame aTableFrame)
aTableFrame
- public void add(DSTableFieldIFace aField)
aField
- the fieldpublic void add(DBTableField aField)
aField
- the fieldpublic int getSize()
public java.lang.Object getElementAt(int index)
public java.util.Vector getFields()