|
ObjectTreeTableModel |
Top Previous Next |
ObjectTreeTableModel is a treetable model whose nodes' cell value depends on the user object attribute of a DefaultMutableTreeNode.
The user object is retrieved with DefaultMutableTreeNode's method:
public Object getUserObject();
Then, the user object is passed to the method:
public Object getObjectAt(Object userObject, int column);
, so that to return a value for the specific treetable cell.
ObjectTreeTableModel is an abstract class. Subclasses need only provide the column names and classes and implement the getObjectAt method described above.