eu.beesoft.gaia.swing
Class TreeTableNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by eu.beesoft.gaia.swing.ExplorableTreeNode
          extended by eu.beesoft.gaia.swing.TreeTableNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
Direct Known Subclasses:
GanttNode

public abstract class TreeTableNode
extends ExplorableTreeNode

The hierarchical node for the JTreeTable. It inherits lazy loading possibility from the ExplorableTreeNode and adds the methods for get / set value for required column.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, EMPTY_ENUMERATION, children, parent, userObject
 
Constructor Summary
TreeTableNode()
          Default constructor.
 
Method Summary
abstract  java.lang.Object getValueAt(int column)
          Returns the value for the cell at column.
 void setValueAt(int column, java.lang.Object value)
          Sets the value in the cell at column to value.
 java.lang.String toString()
          Returns textual representation of the node.
 
Methods inherited from class eu.beesoft.gaia.swing.ExplorableTreeNode
explore, exploreImpl, getAllowsChildren, isExplorable, isExplored, isLeaf, setExplorable
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, clone, depthFirstEnumeration, getDepth, getFirstChild, getFirstLeaf, getChildAfter, getChildAt, getChildBefore, getChildCount, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, children, insert, isNodeAncestor, isNodeDescendant, isNodeChild, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TreeTableNode

public TreeTableNode()
Default constructor.

Method Detail

getValueAt

public abstract java.lang.Object getValueAt(int column)
Returns the value for the cell at column.

Parameters:
column - - the column whose value is to be queried
Returns:
the value Object at the specified cell

setValueAt

public void setValueAt(int column,
                       java.lang.Object value)
Sets the value in the cell at column to value. This empty implementation is provided so users don't have to implement this method if their data model is not editable.

Parameters:
column - - the column whose value is to be changed param
value - - the new value

toString

public java.lang.String toString()
Returns textual representation of the node.

Overrides:
toString in class javax.swing.tree.DefaultMutableTreeNode
Returns:
textual representation of the node