@Dependent public class CanvasLayoutUtils extends Object
| Constructor and Description |
|---|
CanvasLayoutUtils() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
Point2D |
getNext(CanvasHandler canvasHandler,
Node<View<?>,Edge> root,
double rootNodeWidth,
double rootNodeHeight,
double newNodeWidth,
double newNodeHeight,
Point2D offset,
Point2D rootNodeCoordinates) |
Point2D |
getNext(CanvasHandler canvasHandler,
Node<View<?>,Edge> root,
Node<View<?>,Edge> newNode) |
static int |
getPaddingX() |
static int |
getPaddingY() |
static boolean |
isCanvasRoot(Diagram diagram,
Element parent) |
static boolean |
isCanvasRoot(Diagram diagram,
String pUUID) |
public static int getPaddingX()
public static int getPaddingY()
@PreDestroy public void destroy()
public Point2D getNext(CanvasHandler canvasHandler, Node<View<?>,Edge> root, Node<View<?>,Edge> newNode)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.