de.matthiasmann.twl.model
Class AbstractTreeTableNode

java.lang.Object
  extended by de.matthiasmann.twl.model.AbstractTreeTableNode
All Implemented Interfaces:
TreeTableNode

public abstract class AbstractTreeTableNode
extends java.lang.Object
implements TreeTableNode


Constructor Summary
protected AbstractTreeTableNode(TreeTableNode parent)
           
 
Method Summary
protected  void fireNodeChanged()
           
 TreeTableNode getChild(int idx)
           
 int getChildIndex(TreeTableNode child)
           
 int getNumChildren()
           
 TreeTableNode getParent()
           
 java.lang.Object getTooltipContent(int column)
           
protected  AbstractTreeTableModel getTreeTableModel()
           
protected  void insertChild(TreeTableNode node, int idx)
           
 boolean isLeaf()
           
protected  void removeAllChildren()
           
protected  void removeChild(int idx)
           
protected  void setLeaf(boolean leaf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.matthiasmann.twl.model.TreeTableNode
getData
 

Constructor Detail

AbstractTreeTableNode

protected AbstractTreeTableNode(TreeTableNode parent)
Method Detail

getTooltipContent

public java.lang.Object getTooltipContent(int column)
Specified by:
getTooltipContent in interface TreeTableNode

getParent

public final TreeTableNode getParent()
Specified by:
getParent in interface TreeTableNode

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface TreeTableNode

getNumChildren

public int getNumChildren()
Specified by:
getNumChildren in interface TreeTableNode

getChild

public TreeTableNode getChild(int idx)
Specified by:
getChild in interface TreeTableNode

getChildIndex

public int getChildIndex(TreeTableNode child)
Specified by:
getChildIndex in interface TreeTableNode

setLeaf

protected void setLeaf(boolean leaf)

insertChild

protected void insertChild(TreeTableNode node,
                           int idx)

removeChild

protected void removeChild(int idx)

removeAllChildren

protected void removeAllChildren()

getTreeTableModel

protected AbstractTreeTableModel getTreeTableModel()

fireNodeChanged

protected void fireNodeChanged()