simtools.ui
Class SourceTree.CompoundCollectionNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by simtools.ui.SourceTree.LockableTreeNode
          extended by simtools.ui.SourceTree.CollectionNode
              extended by simtools.ui.SourceTree.CompoundCollectionNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
Enclosing class:
SourceTree

protected class SourceTree.CompoundCollectionNode
extends SourceTree.CollectionNode

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Method Summary
 void changeCollection(DataSourceCollection dsc)
           
 boolean isLocked()
          A collection node is locked if one of its source is locked
protected  void setChildNodes(java.util.Iterator it)
           
 java.lang.String toString()
           
 
Methods inherited from class simtools.ui.SourceTree.CollectionNode
addDataSource, setSourceNodes
 
Methods inherited from class simtools.ui.SourceTree.LockableTreeNode
getLocked, setLocked
 
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, isLeaf, 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
 

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class SourceTree.CollectionNode

changeCollection

public void changeCollection(DataSourceCollection dsc)
Overrides:
changeCollection in class SourceTree.CollectionNode

setChildNodes

protected void setChildNodes(java.util.Iterator it)

isLocked

public boolean isLocked()
Description copied from class: SourceTree.CollectionNode
A collection node is locked if one of its source is locked

Overrides:
isLocked in class SourceTree.CollectionNode