static class HierarchicalGraphView.LayoutSettings extends Object
Constructor and Description |
---|
LayoutSettings(int nodeWidth,
float scale) |
Modifier and Type | Method and Description |
---|---|
int |
getBottomGap() |
(package private) int |
getBranchGap() |
int |
getLeftGap() |
(package private) int |
getLevelGap() |
(package private) int |
getNodeWidth() |
int |
getRightGap() |
Rectangle |
getSignBounds(Rectangle parentNode)
Compute bounds of the collapse/expand sign.
|
Point |
getSignOffset() |
Dimension |
getSignSize() |
int |
getTopGap() |
public LayoutSettings(int nodeWidth, float scale)
nodeWidth
- The width of the nodes.scale
- scale factorpublic Rectangle getSignBounds(Rectangle parentNode)
parentNode
- The bounds of the node above the signpublic int getBottomGap()
public int getRightGap()
final int getBranchGap()
public Dimension getSignSize()
public Point getSignOffset()
public int getLeftGap()
public int getTopGap()
final int getNodeWidth()
final int getLevelGap()
KNIME GmbH, Konstanz, Germany
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.