Java javafx.scene Node fields, constructors, methods, implement or subclass

Example usage for Java javafx.scene Node fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javafx.scene Node.

The text is from its open source code.

Method

voidaddEventFilter(final EventType eventType, final EventHandler eventFilter)
Registers an event filter to this node.
voidaddEventHandler(final EventType eventType, final EventHandler eventHandler)
Registers an event handler to this node.
booleancontains(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 .
BooleanPropertydisableProperty()
Defines the individual disabled state of this Node .
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
voidfireEvent(Event event)
Fires the specified event.
BoundsgetBoundsInLocal()
BoundsgetBoundsInParent()
ClassgetClass()
Returns the runtime class of this Object .
EffectgetEffect()
StringgetId()
The id of this Node .
BoundsgetLayoutBounds()
doublegetLayoutX()
doublegetLayoutY()
doublegetOpacity()
ParentgetParent()
ObservableMapgetProperties()
Returns an observable map of properties on this node for use primarily by application developers.
ScenegetScene()
ObservableListgetStyleClass()
doublegetTranslateX()
doublegetTranslateY()
booleanisVisible()
Point2DlocalToScene(Point2D localPoint)
Transforms a point from the local coordinate space of this Node into the coordinate space of its scene.
Point3DlocalToScene(Point3D localPoint)
Transforms a point from the local coordinate space of this Node into the coordinate space of its scene.
BoundslocalToScene(Bounds localBounds)
Transforms a bounds from the local coordinate space of this Node into the coordinate space of its scene.
voidlocalToScene(com.sun.javafx.geom.Point2D pt)
voidlocalToScene(com.sun.javafx.geom.Vec3d pt)
Point2DlocalToScene(double localX, double localY)
Transforms a point from the local coordinate space of this Node into the coordinate space of its scene.
Point3DlocalToScene(Point3D localPoint, boolean rootScene)
Transforms a point from the local coordinate space of this Node into the coordinate space of its scene.
Point2DlocalToScene(Point2D localPoint, boolean rootScene)
Transforms a point from the local coordinate space of this Node into the coordinate space of its scene.
BoundslocalToScene(Bounds localBounds, boolean rootScene)
Transforms a bounds from the local coordinate space of this Node into the coordinate space of its scene.
Point2DlocalToScreen(double localX, double localY)
Transforms a point from the local coordinate space of this Node into the coordinate space of its javafx.stage.Screen .
Nodelookup(String selector)
Finds this Node , or the first sub-node, based on the given CSS selector.
SetlookupAll(String selector)
Finds all Node s, including this one and any children, which match the given CSS selector.
voidrelocate(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.
voidrequestFocus()
Requests that this Node get the input focus, and that this Node 's top-level ancestor become the focused window.
Point2DsceneToLocal(Point2D scenePoint)
Transforms a point from the coordinate space of the scene into the local coordinate space of this Node .
Point3DsceneToLocal(Point3D scenePoint)
Transforms a point from the coordinate space of the scene into the local coordinate space of this Node .
BoundssceneToLocal(Bounds sceneBounds)
Transforms a rectangle from the coordinate space of the scene into the local coordinate space of this Node .
voidsceneToLocal(com.sun.javafx.geom.Point2D pt)
voidsceneToLocal(com.sun.javafx.geom.Vec3d pt)
voidsetDisable(boolean value)
voidsetEffect(Effect value)
voidsetId(String value)
voidsetManaged(boolean value)
voidsetOnMouseClicked(EventHandler value)
voidsetOnMouseDragged(EventHandler value)
voidsetOnMouseEntered(EventHandler value)
voidsetOnMouseExited(EventHandler value)
voidsetOnMouseMoved(EventHandler value)
voidsetOnMousePressed(EventHandler value)
voidsetOpacity(double value)
voidsetStyle(String value)
A string representation of the CSS style associated with this specific Node .
voidsetTranslateX(double value)
voidsetTranslateY(double value)
voidsetVisible(boolean value)
WritableImagesnapshot(SnapshotParameters params, WritableImage image)
Takes a snapshot of this node and returns the rendered image when it is ready.
StringPropertystyleProperty()
StringtoString()
Returns a string representation for the object.