|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Allows to filter content of some existing TableModel
. You can add
a new column, remmove some existing one, or change content of some existing
column.
Method Summary | |
void |
addModelListener(ModelListener l)
Registers given listener. |
Object |
getValueAt(TableModel original,
Object node,
String columnID)
Returns filterred value to be displayed in column columnID
and row node . |
boolean |
isReadOnly(TableModel original,
Object node,
String columnID)
Filters original isReadOnly value from given table model. |
void |
removeModelListener(ModelListener l)
Unregisters given listener. |
void |
setValueAt(TableModel original,
Object node,
String columnID,
Object value)
Changes a value displayed in column columnID
and row node . |
Method Detail |
public Object getValueAt(TableModel original, Object node, String columnID) throws UnknownTypeException
columnID
and row node
. Column ID is defined in by
ColumnModel.getID()
, and rows are defined by values returned from
. You should not throw UnknownTypeException
directly from this method!
original
- the original table modelnode
- a object returned from for this rowcolumnID
- a id of column defined by ColumnModel.getID()
UnknownTypeException
- this exception can be thrown from
original.getValueAt (...)
method call only!public boolean isReadOnly(TableModel original, Object node, String columnID) throws UnknownTypeException
original
- the original table modelnode
- a object returned from for this rowcolumnID
- a id of column defined by ColumnModel.getID()
UnknownTypeException
- this exception can be thrown from
original.isReadOnly (...)
method call only!public void setValueAt(TableModel original, Object node, String columnID, Object value) throws UnknownTypeException
columnID
and row node
. Column ID is defined in by
ColumnModel.getID()
, and rows are defined by values returned from
. You should not throw UnknownTypeException
directly from this method!
original
- the original table modelnode
- a object returned from for this rowcolumnID
- a id of column defined by ColumnModel.getID()
value
- a new value of variable on given position
UnknownTypeException
- this exception can be thrown from
original.setValueAt (...)
method call only!public void addModelListener(ModelListener l)
l
- the listener to addpublic void removeModelListener(ModelListener l)
l
- the listener to remove
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |