Package com.actelion.research.gui.dock
Class TreeRoot
- java.lang.Object
-
- com.actelion.research.gui.dock.TreeElement
-
- com.actelion.research.gui.dock.TreeContainer
-
- com.actelion.research.gui.dock.TreeRoot
-
public class TreeRoot extends TreeContainer
-
-
Field Summary
-
Fields inherited from class com.actelion.research.gui.dock.TreeElement
mComponent, mParent
-
-
Constructor Summary
Constructors Constructor Description TreeRoot(javax.swing.JComponent rootComponent, TreeElement child)Constructor to create a root element to which the first leaf should be connected.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclearStateInfo()java.util.ArrayList<java.lang.String>createStateInfo()TreeElementgetChild()voidprintStatus()voidremoveWithLeaf(TreeLeaf leaf)voidreplaceChildElement(TreeElement oldElement, TreeElement newElement)voidsetParent(TreeContainer parent)voidupdateChildElement(java.awt.Component oldContent, TreeElement childElement)-
Methods inherited from class com.actelion.research.gui.dock.TreeElement
getComponent, getParent, isSelected
-
-
-
-
Constructor Detail
-
TreeRoot
public TreeRoot(javax.swing.JComponent rootComponent, TreeElement child)Constructor to create a root element to which the first leaf should be connected.- Parameters:
parent-
-
-
Method Detail
-
getChild
public TreeElement getChild()
-
setParent
public void setParent(TreeContainer parent)
- Overrides:
setParentin classTreeElement
-
removeWithLeaf
public void removeWithLeaf(TreeLeaf leaf)
- Specified by:
removeWithLeafin classTreeContainer
-
replaceChildElement
public void replaceChildElement(TreeElement oldElement, TreeElement newElement)
- Specified by:
replaceChildElementin classTreeContainer
-
updateChildElement
public void updateChildElement(java.awt.Component oldContent, TreeElement childElement)- Specified by:
updateChildElementin classTreeContainer
-
clearStateInfo
protected void clearStateInfo()
- Specified by:
clearStateInfoin classTreeElement
-
createStateInfo
public java.util.ArrayList<java.lang.String> createStateInfo()
-
printStatus
public void printStatus()
- Specified by:
printStatusin classTreeElement
-
-