|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectTableEngine
ObjectTableEngine
is intermediator betwean arbitrary objects
and ObjectTableModel
structure. It converts objects to
TableRow
s and executes operations on rows.
Method Summary | |
---|---|
java.lang.String |
getColumnName(int index)
Returns name of column. |
TableRow |
getTableRow(java.lang.Object key)
Creates new row for key object. |
void |
releaseTableRow(java.lang.Object key,
TableRow row)
Signals to factory that row with associated key is no longer in use. |
void |
setValue(java.lang.Object value,
java.lang.Object key,
TableRow row,
int columnIndex)
Sets new value which resulted from user interaction with table to the context underlayng kay object. |
Method Detail |
---|
TableRow getTableRow(java.lang.Object key)
key
- key for which row is created
void releaseTableRow(java.lang.Object key, TableRow row)
key
- kay object for rowrow
- row to be releasedvoid setValue(java.lang.Object value, java.lang.Object key, TableRow row, int columnIndex)
value
- new value as user has set with table editorskey
- the key objectrow
- row associated with kay objectcolumnIndex
- DOCUMENT ME!java.lang.String getColumnName(int index)
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |