Example usage for Java javafx.scene Node fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addEventFilter(final EventType Registers an event filter to this node. |
void | addEventHandler(final EventType Registers an event handler to this node. |
boolean | contains(Point2D localPoint) Returns true if the given point (specified in the local coordinate space of this Node ) is contained within the shape of this Node . |
BooleanProperty | disableProperty() Defines the individual disabled state of this Node . |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
void | fireEvent(Event event) Fires the specified event. |
Bounds | getBoundsInLocal() |
Bounds | getBoundsInParent() |
Class> | getClass() Returns the runtime class of this Object . |
Effect | getEffect() |
String | getId() The id of this Node . |
Bounds | getLayoutBounds() |
double | getLayoutX() |
double | getLayoutY() |
double | getOpacity() |
Parent | getParent() |
ObservableMap | getProperties() Returns an observable map of properties on this node for use primarily by application developers. |
Scene | getScene() |
ObservableList | getStyleClass() |
double | getTranslateX() |
double | getTranslateY() |
boolean | isVisible() |
Point2D | localToScene(Point2D localPoint) Transforms a point from the local coordinate space of this Node into the coordinate space of its scene. |
Point3D | localToScene(Point3D localPoint) Transforms a point from the local coordinate space of this Node into the coordinate space of its scene. |
Bounds | localToScene(Bounds localBounds) Transforms a bounds from the local coordinate space of this Node into the coordinate space of its scene. |
void | localToScene(com.sun.javafx.geom.Point2D pt) |
void | localToScene(com.sun.javafx.geom.Vec3d pt) |
Point2D | localToScene(double localX, double localY) Transforms a point from the local coordinate space of this Node into the coordinate space of its scene. |
Point3D | localToScene(Point3D localPoint, boolean rootScene) Transforms a point from the local coordinate space of this Node into the coordinate space of its scene. |
Point2D | localToScene(Point2D localPoint, boolean rootScene) Transforms a point from the local coordinate space of this Node into the coordinate space of its scene. |
Bounds | localToScene(Bounds localBounds, boolean rootScene) Transforms a bounds from the local coordinate space of this Node into the coordinate space of its scene. |
Point2D | localToScreen(double localX, double localY) Transforms a point from the local coordinate space of this Node into the coordinate space of its javafx.stage.Screen . |
Node | lookup(String selector) Finds this Node , or the first sub-node, based on the given CSS selector. |
Set | lookupAll(String selector) Finds all Node s, including this one and any children, which match the given CSS selector. |
void | relocate(double x, double y) Sets the node's layoutX and layoutY translation properties in order to relocate this node to the x,y location in the parent. |
void | requestFocus() Requests that this Node get the input focus, and that this Node 's top-level ancestor become the focused window. |
Point2D | sceneToLocal(Point2D scenePoint) Transforms a point from the coordinate space of the scene into the local coordinate space of this Node . |
Point3D | sceneToLocal(Point3D scenePoint) Transforms a point from the coordinate space of the scene into the local coordinate space of this Node . |
Bounds | sceneToLocal(Bounds sceneBounds) Transforms a rectangle from the coordinate space of the scene into the local coordinate space of this Node . |
void | sceneToLocal(com.sun.javafx.geom.Point2D pt) |
void | sceneToLocal(com.sun.javafx.geom.Vec3d pt) |
void | setDisable(boolean value) |
void | setEffect(Effect value) |
void | setId(String value) |
void | setManaged(boolean value) |
void | setOnMouseClicked(EventHandler super MouseEvent> value) |
void | setOnMouseDragged(EventHandler super MouseEvent> value) |
void | setOnMouseEntered(EventHandler super MouseEvent> value) |
void | setOnMouseExited(EventHandler super MouseEvent> value) |
void | setOnMouseMoved(EventHandler super MouseEvent> value) |
void | setOnMousePressed(EventHandler super MouseEvent> value) |
void | setOpacity(double value) |
void | setStyle(String value) A string representation of the CSS style associated with this specific Node . |
void | setTranslateX(double value) |
void | setTranslateY(double value) |
void | setVisible(boolean value) |
WritableImage | snapshot(SnapshotParameters params, WritableImage image) Takes a snapshot of this node and returns the rendered image when it is ready. |
StringProperty | styleProperty() |
String | toString() Returns a string representation for the object. |