Protege 3.0

edu.stanford.smi.protege.util
Class LazyTreeRoot

java.lang.Object
  extended byedu.stanford.smi.protege.util.LazyTreeNode
      extended byedu.stanford.smi.protege.util.LazyTreeRoot
All Implemented Interfaces:
TreeNode
Direct Known Subclasses:
ClsClsReferenceRoot, ParentChildRoot, ReferenceRoot, SlotSubslotRoot

public abstract class LazyTreeRoot
extends LazyTreeNode

The Root node for a lazy tree. Note that this root is never displayed. Its child lazy tree nodes are the apparent roots of the tree.

Author:
Ray Fergerson

Constructor Summary
LazyTreeRoot(Collection c)
           
LazyTreeRoot(Object o)
           
 
Method Summary
protected  int getChildObjectCount()
           
 Collection getChildObjects()
           
 void notifyChildNodeAdded(LazyTreeNode parent, int index, LazyTreeNode child)
           
 void notifyChildNodeRemoved(LazyTreeNode parent, int index, LazyTreeNode child)
           
 void notifyNodeChanged(LazyTreeNode node)
           
 void notifyNodeStructureChanged(LazyTreeNode node)
           
 void setModel(LazyTreeModel model)
           
 
Methods inherited from class edu.stanford.smi.protege.util.LazyTreeNode
childAdded, childAdded, childRemoved, children, createNode, dispose, equals, getAllowsChildren, getChildAt, getChildCount, getComparator, getIndex, getIndex, getLazyTreeNodeParent, getParent, getUserObject, getUserObjectIndex, isLeaf, reload, reload, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LazyTreeRoot

public LazyTreeRoot(Object o)

LazyTreeRoot

public LazyTreeRoot(Collection c)
Method Detail

getChildObjectCount

protected int getChildObjectCount()
Specified by:
getChildObjectCount in class LazyTreeNode

getChildObjects

public Collection getChildObjects()
Specified by:
getChildObjects in class LazyTreeNode

notifyChildNodeAdded

public void notifyChildNodeAdded(LazyTreeNode parent,
                                 int index,
                                 LazyTreeNode child)
Overrides:
notifyChildNodeAdded in class LazyTreeNode

notifyChildNodeRemoved

public void notifyChildNodeRemoved(LazyTreeNode parent,
                                   int index,
                                   LazyTreeNode child)
Overrides:
notifyChildNodeRemoved in class LazyTreeNode

notifyNodeChanged

public void notifyNodeChanged(LazyTreeNode node)
Overrides:
notifyNodeChanged in class LazyTreeNode

notifyNodeStructureChanged

public void notifyNodeStructureChanged(LazyTreeNode node)
Overrides:
notifyNodeStructureChanged in class LazyTreeNode

setModel

public void setModel(LazyTreeModel model)

Protege 3.0

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2005 Stanford University.