01: package org.wingx.treetable;
02:
03: import javax.swing.tree.TreeModel;
04:
05: import org.wingx.tree.XTreeNode;
06:
07: /**
08: * basic node class
09: */
10: public abstract class DefaultTreeTableNode extends XTreeNode implements
11: XTreeTableNode {
12: public DefaultTreeTableNode(Object userObject) {
13: super (userObject);
14: }
15:
16: public DefaultTreeTableNode(TreeModel treeModel, Object userObject,
17: boolean allowsChildren) {
18: super (treeModel, userObject, allowsChildren);
19: }
20:
21: public Object getValueAt(int column) {
22: return null;
23: }
24:
25: public void setValueAt(Object value, int column) {
26: }
27:
28: public Class getNodeClass() {
29: return null;
30: }
31:
32: public String toString() {
33: return getUserObject().toString();
34: }
35: }
|