Package | Description |
---|---|
org.uberfire.ext.wires.core.trees.client.layout | |
org.uberfire.ext.wires.core.trees.client.layout.treelayout |
Modifier and Type | Method and Description |
---|---|
static Rectangle2D |
WiresLayoutUtilities.alignLayoutInCanvas(Map<WiresBaseShape,com.ait.lienzo.client.core.types.Point2D> layout)
Align the Layout within a Canvas
|
static Rectangle2D |
WiresLayoutUtilities.getCanvasBounds(Rectangle2D layoutBounds)
Get the bounds of the Canvas to hold the provided Layout bounds.
|
static Rectangle2D |
WiresLayoutUtilities.getLayoutBounds(Map<WiresBaseShape,com.ait.lienzo.client.core.types.Point2D> layout)
Get the bounds of the layout information
|
Modifier and Type | Method and Description |
---|---|
static Rectangle2D |
WiresLayoutUtilities.getCanvasBounds(Rectangle2D layoutBounds)
Get the bounds of the Canvas to hold the provided Layout bounds.
|
static void |
WiresLayoutUtilities.resizeViewPort(Rectangle2D canvasBounds,
com.ait.lienzo.client.core.shape.Viewport viewport)
Resize the canvas based on the layout information
|
Modifier and Type | Method and Description |
---|---|
Rectangle2D |
TreeLayout.getBounds()
Returns the bounds of the tree layout.
|
Modifier and Type | Method and Description |
---|---|
Map<TreeNode,Rectangle2D> |
TreeLayout.getNodeBounds()
Returns the layout of the tree nodes by mapping each node of the tree to
its bounds (position and size).
|
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.