org.knime.base.node.mine.decisiontree2.view.graph
Class HierarchicalGraphView.LayoutSettings
java.lang.Object
org.knime.base.node.mine.decisiontree2.view.graph.HierarchicalGraphView.LayoutSettings
- Enclosing class:
- HierarchicalGraphView<K>
static class HierarchicalGraphView.LayoutSettings
- extends Object
Constants for the layout.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HierarchicalGraphView.LayoutSettings
public HierarchicalGraphView.LayoutSettings(int nodeWidth,
float scale)
- Parameters:
nodeWidth - The width of the nodes.scale - scale factor
getSignBounds
public Rectangle getSignBounds(Rectangle parentNode)
- Compute bounds of the collapse/expand sign.
- Parameters:
parentNode - The bounds of the node above the sign
- Returns:
- the bounds of the sign
getBottomGap
public int getBottomGap()
- Returns:
- the gap at the bottom
getRightGap
public int getRightGap()
- Returns:
- the gap on the right side
getBranchGap
final int getBranchGap()
- Returns:
- the branchGap
getSignSize
public Dimension getSignSize()
- Returns:
- the plus sign size
getSignOffset
public Point getSignOffset()
- Returns:
- the plus sign offset
getLeftGap
public int getLeftGap()
- Returns:
- the gap on the left side
getTopGap
public int getTopGap()
- Returns:
- the gap on top
getNodeWidth
final int getNodeWidth()
- Returns:
- the common width of nodes
getLevelGap
final int getLevelGap()
- Returns:
- the levelGap
Copyright, 2003 - 2012. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.