edu.mit.ai.psg.ui.outliner
Class OutlineModel.HiddenRootNode

java.lang.Object
  |
  +--javax.swing.tree.DefaultMutableTreeNode
        |
        +--edu.mit.ai.psg.ui.outliner.OutlineNodeDefault
              |
              +--edu.mit.ai.psg.ui.outliner.OutlineModel.HiddenRootNode
Enclosing class:
OutlineModel

public static class OutlineModel.HiddenRootNode
extends OutlineNodeDefault

class used for hidden root node in outlines (outlines have a hidden root so that every display node has a parent, and rerendering can simply replace the node in its parent). Contains reference to model, so nodes can find of what model they are part. [if visible, jTree.setRootVisible(false)]

See Also:
Serialized Form

Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
OutlineModel.HiddenRootNode(OutlineRenderer noteRenderer)
           
 
Method Summary
 OutlineModel getModel()
           
 void setModel(OutlineModel model)
           
 
Methods inherited from class edu.mit.ai.psg.ui.outliner.OutlineNodeDefault
add, childrenAreComputed, getLabel, getObject, getRenderer, isLeaf, setChildrenAreComputed, setIsLeaf, toString
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isNodeAncestor, isNodeChild, isNodeDescendant, 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

OutlineModel.HiddenRootNode

public OutlineModel.HiddenRootNode(OutlineRenderer noteRenderer)
Method Detail

setModel

public void setModel(OutlineModel model)

getModel

public OutlineModel getModel()

Copyright (c) 1996-1999
Massachusetts Institute of Technology

Feedback: jeva-feedback@ai.mit.edu