Modifier and Type | Method and Description |
---|---|
static Point2D |
getScreenLocation(Node node)
Gets the location of a
Node in screen coordinates. |
static boolean |
isParent(Parent parent,
Node node)
Checks if the provided Parent] is either a direct or indirect parent of the provided {@link Node}.
|
public static Point2D getScreenLocation(Node node)
Node
in screen coordinates.node
- a Node
public static boolean isParent(Parent parent, Node node)
parent
- the parentnode
- the nodeCopyright © 2012–2017 Drombler. All rights reserved.