Package com.actelion.research.gui.dock
Class TreeFork
- java.lang.Object
-
- com.actelion.research.gui.dock.TreeElement
-
- com.actelion.research.gui.dock.TreeContainer
-
- com.actelion.research.gui.dock.TreeFork
-
public class TreeFork extends TreeContainer
-
-
Field Summary
-
Fields inherited from class com.actelion.research.gui.dock.TreeElement
mComponent, mParent
-
-
Constructor Summary
Constructors Constructor Description TreeFork(TreeLeaf oldLeaf, TreeLeaf newLeaf, int newLeafPosition, double proportionalDividerLocation)Constructor to create a fork element that is inserted between the specified parent and its former oldLeaf to carry newLeaf at the specified position.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddStateInfo(java.util.ArrayList<java.lang.String> stateInfo, java.lang.String firstDockInfo)protected voidclearStateInfo()doublegetDividerLocation()TreeElementgetLeftChild()TreeElementgetRightChild()booleanisVertical()voidprintStatus()voidremoveWithLeaf(TreeLeaf leaf)voidreplaceChildElement(TreeElement oldElement, TreeElement newElement)voidupdateChildElement(java.awt.Component oldContent, TreeElement childElement)-
Methods inherited from class com.actelion.research.gui.dock.TreeElement
getComponent, getParent, isSelected, setParent
-
-
-
-
Constructor Detail
-
TreeFork
public TreeFork(TreeLeaf oldLeaf, TreeLeaf newLeaf, int newLeafPosition, double proportionalDividerLocation)
Constructor to create a fork element that is inserted between the specified parent and its former oldLeaf to carry newLeaf at the specified position.- Parameters:
oldLeaf-newLeaf-newLeafPosition-proportionalDividerLocation-
-
-
Method Detail
-
removeWithLeaf
public void removeWithLeaf(TreeLeaf leaf)
- Specified by:
removeWithLeafin classTreeContainer
-
replaceChildElement
public void replaceChildElement(TreeElement oldElement, TreeElement newElement)
- Specified by:
replaceChildElementin classTreeContainer
-
getLeftChild
public TreeElement getLeftChild()
-
getRightChild
public TreeElement getRightChild()
-
isVertical
public boolean isVertical()
-
getDividerLocation
public double getDividerLocation()
-
updateChildElement
public void updateChildElement(java.awt.Component oldContent, TreeElement childElement)- Specified by:
updateChildElementin classTreeContainer
-
addStateInfo
protected void addStateInfo(java.util.ArrayList<java.lang.String> stateInfo, java.lang.String firstDockInfo)
-
clearStateInfo
protected void clearStateInfo()
- Specified by:
clearStateInfoin classTreeElement
-
printStatus
public void printStatus()
- Specified by:
printStatusin classTreeElement
-
-