Package | Description |
---|---|
javafx.scene |
Provides the core set of base
classes for the JavaFX Scene Graph API.
|
javafx.scene.light |
Provides the set of 3D classes for defining and performing operations on
objects related to three-dimensional light source.
|
javafx.scene.shape3d |
Provides the set of 3D classes for defining and performing operations on
objects related to three-dimensional geometry.
|
Modifier and Type | Class and Description |
---|---|
class |
Camera
Base class for a camera used to render a scene.
|
class |
Group
A
Group node contains an ObservableList of children that
are rendered in order whenever this node is rendered. |
class |
ParallelCamera
Specifies a parallel camera for rendering a scene without perspective correction.
|
class |
Parent
The base class for all nodes that have children in the scene graph.
|
class |
PerspectiveCamera
Specifies a perspective camera for rendering a scene.
|
class |
SubScene
The
SubScene class is the container for content in a scene graph. |
Modifier and Type | Field and Description |
---|---|
private Node |
Parent.bottom |
private Node |
NodeBuilder.clip |
private Node |
Node.clipParent
If this Node is being used as the clip of another Node, that other node
is referred to as the clipParent.
|
private static Node |
Node.DEFAULT_CLIP |
private Node[] |
Scene.dirtyNodes
Set of dirty nodes; processed once per frame by the synchronizer.
|
private Node |
Parent.far |
private Node |
Parent.left |
private Node |
Parent.near |
private Node |
Scene.TargetWrapper.node |
private Node |
Scene.oldFocusOwner |
private Node |
Parent.right |
private Node |
Parent.top |
Modifier and Type | Field and Description |
---|---|
private static javafx.css.CssMetaData<Node,javafx.scene.effect.BlendMode> |
Node.StyleableProperties.BLEND_MODE |
private javafx.collections.ObservableList<Node> |
Parent.children |
private java.util.Collection<? extends Node> |
GroupBuilder.children |
private java.util.Set<Node> |
Parent.childSet
Scenegraph Structure *
*
Functions and variables related to the scenegraph structure, *
modifying the structure, and walking the structure.
|
private javafx.beans.property.ObjectProperty<Node> |
Node.MiscProperties.clip |
private static javafx.css.CssMetaData<Node,Cursor> |
Node.StyleableProperties.CURSOR |
private java.util.ArrayList<Node> |
Parent.dirtyChildren
This set is used to track all of the children of this group which are
dirty.
|
private static javafx.css.CssMetaData<Node,javafx.scene.effect.Effect> |
Node.StyleableProperties.EFFECT |
private static javafx.css.CssMetaData<Node,java.lang.Boolean> |
Node.StyleableProperties.FOCUS_TRAVERSABLE |
private javafx.beans.property.ReadOnlyObjectWrapper<Node> |
Scene.focusOwner
The scene's current focus owner node.
|
private static javafx.css.CssMetaData<Node,java.lang.Number> |
Node.StyleableProperties.OPACITY |
private java.util.List<Node> |
Parent.removed |
private static javafx.css.CssMetaData<Node,java.lang.Number> |
Node.StyleableProperties.ROTATE |
private static javafx.css.CssMetaData<Node,java.lang.Number> |
Node.StyleableProperties.SCALE_X |
private static javafx.css.CssMetaData<Node,java.lang.Number> |
Node.StyleableProperties.SCALE_Y |
private static javafx.css.CssMetaData<Node,java.lang.Number> |
Node.StyleableProperties.SCALE_Z |
private static javafx.css.CssMetaData<Node,java.lang.Number> |
Node.StyleableProperties.TRANSLATE_X |
private static javafx.css.CssMetaData<Node,java.lang.Number> |
Node.StyleableProperties.TRANSLATE_Y |
private static javafx.css.CssMetaData<Node,java.lang.Number> |
Node.StyleableProperties.TRANSLATE_Z |
private javafx.collections.ObservableList<Node> |
Parent.unmodifiableChildren
A constant reference to an unmodifiable view of the children, such that every time
we ask for an unmodifiable list of children, we don't actually create a new
collection and return it.
|
private java.util.List<Node> |
Parent.unmodifiableManagedChildren
A cached reference to the unmodifiable managed children of this Parent.
|
private static javafx.css.CssMetaData<Node,java.lang.Boolean> |
Node.StyleableProperties.VISIBILITY |
Modifier and Type | Method and Description |
---|---|
protected <E extends Node> |
Parent.getManagedChildren()
Gets the list of all managed children of this
Parent . |
Modifier and Type | Method and Description |
---|---|
Node |
Node.getClip()
Gets the value of the property clip.
|
Node |
Node.MiscProperties.getClip()
Gets the value of the property clip.
|
(package private) Node |
Node.getClipParent() |
Node |
Scene.getFocusOwner()
Gets the value of the property focusOwner.
|
Node |
Node.impl_pickNode(double parentX,
double parentY)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
protected Node |
Parent.impl_pickNodeLocal(double localX,
double localY)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
protected Node |
Node.impl_pickNodeLocal(double localX,
double localY)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Node |
Scene.lookup(java.lang.String selector)
Looks for any node within the scene graph based on the specified CSS selector.
|
Node |
Parent.lookup(java.lang.String selector) |
Node |
Node.lookup(java.lang.String selector)
Finds this
Node , or the first sub-node, based on the given CSS selector. |
private Node |
Scene.MouseHandler.pickNode(double x,
double y) |
(package private) Node |
Scene.test_pick(double x,
double y)
Note: The only user of this method is in unit test: PickAndContainTest.
|
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.ObjectProperty<Node> |
Node.clipProperty()
Specifies a
Node to use to define the the clipping shape for this
Node. |
javafx.beans.property.ObjectProperty<Node> |
Node.MiscProperties.clipProperty() |
javafx.beans.property.ReadOnlyObjectProperty<Node> |
Scene.focusOwnerProperty()
The scene's current focus owner node.
|
protected javafx.collections.ObservableList<Node> |
Parent.getChildren()
Gets the list of children of this
Parent . |
javafx.collections.ObservableList<Node> |
Group.getChildren()
Gets the list of children of this
Group . |
javafx.collections.ObservableList<Node> |
Parent.getChildrenUnmodifiable()
Gets the list of children of this
Parent as a read-only
list. |
(package private) java.util.List<Node> |
Parent.lookupAll(com.sun.javafx.css.Selector selector,
java.util.List<Node> results)
Please Note: This method should never create the results set,
let the Node class implementation do this!
|
(package private) java.util.List<Node> |
Node.lookupAll(com.sun.javafx.css.Selector selector,
java.util.List<Node> results)
Used by Node and Parent for traversing the tree and adding all nodes which
match the given selector.
|
java.util.Set<Node> |
Node.lookupAll(java.lang.String selector)
Finds all
Node s, including this one and any children, which match
the given CSS selector. |
Modifier and Type | Method and Description |
---|---|
(package private) void |
Scene.addToDirtyList(Node n)
Add the specified node to this scene's dirty list.
|
void |
NodeBuilder.applyTo(Node x) |
(package private) void |
Parent.childBoundsChanged(Node node)
Called by Node whenever its bounds have changed.
|
private void |
Parent.childExcluded(Node node) |
private void |
Parent.childIncluded(Node node) |
B |
GroupBuilder.children(Node... x)
Add the given items to the List of items in the
children property for the instance constructed by this builder. |
(package private) void |
Parent.childVisibilityChanged(Node node)
Called by node whenever the visibility of the node changes.
|
B |
NodeBuilder.clip(Node x)
Set the value of the
clip property for the instance constructed by this builder. |
(package private) void |
Scene.doCSSLayoutSyncForSnapshot(Node node) |
(package private) static javafx.scene.image.WritableImage |
Scene.doSnapshot(Scene scene,
double x,
double y,
double w,
double h,
Node root,
com.sun.javafx.geom.transform.BaseTransform transform,
boolean depthBuffer,
javafx.scene.paint.Paint fill,
Camera camera,
javafx.scene.image.WritableImage wimg) |
private void |
Scene.focusIneligible(Node node)
Moves the focus to a reasonble location "near" the given node.
|
(package private) void |
Parent.impl_toBack(Node node) |
(package private) void |
Parent.impl_toFront(Node node) |
private com.sun.javafx.scene.traversal.TraversalEngine |
Scene.lookupTraversalEngine(Node node)
Searches up the scene graph for a Parent with a traversal engine.
|
(package private) void |
Scene.registerTraversable(Node n)
Registers a traversable node with a traversal engine
on this scene.
|
(package private) void |
Scene.requestFocus(Node node) |
private void |
Scene.KeyHandler.requestFocus(Node node) |
private void |
Scene.TargetWrapper.set(Node n,
Scene s) |
private void |
Parent.setChildDirty(Node node,
boolean dirty) |
void |
Node.setClip(Node value)
Sets the value of the property clip.
|
private void |
Scene.KeyHandler.setFocusOwner(Node value) |
void |
Scene.TargetWrapper.setNode(Node node) |
private int |
Scene.ScenePulseListener.syncAll(Node node)
Recursive function for synchronizing every node in the scenegraph.
|
private static void |
Node.syncAll(Node node)
Recursive function for synchronizing a node and all descendents
|
(package private) void |
Scene.traverse(Node node,
com.sun.javafx.scene.traversal.Direction dir)
Traverses focus from the given node in the given direction.
|
(package private) void |
Scene.unregisterTraversable(Node n)
Unregisters a traversable node from this scene.
|
(package private) boolean |
Node.wouldCreateCycle(Node parent,
Node child)
Tests whether creating a parent-child relationship between these
nodes would cause a cycle.
|
Modifier and Type | Method and Description |
---|---|
B |
GroupBuilder.children(java.util.Collection<? extends Node> x)
Add the given items to the List of items in the
children property for the instance constructed by this builder. |
private void |
Parent.createCachedBounds(java.util.List<Node> fromNodes) |
(package private) java.util.List<Node> |
Parent.lookupAll(com.sun.javafx.css.Selector selector,
java.util.List<Node> results)
Please Note: This method should never create the results set,
let the Node class implementation do this!
|
(package private) java.util.List<Node> |
Node.lookupAll(com.sun.javafx.css.Selector selector,
java.util.List<Node> results)
Used by Node and Parent for traversing the tree and adding all nodes which
match the given selector.
|
(package private) void |
Parent.printSeq(java.lang.String prefix,
java.util.List<Node> nodes) |
private boolean |
Parent.updateCachedBounds(java.util.List<Node> dirtyNodes,
int remainingDirtyNodes) |
Constructor and Description |
---|
Group(Node... children)
Constructs a group consisting of children.
|
Constructor and Description |
---|
Group(java.util.Collection<Node> children)
Constructs a group consisting of the given children.
|
Modifier and Type | Class and Description |
---|---|
class |
AmbientLight
Defines an ambient light source object.
|
class |
LightBase
The
LightBase class provides definitions of common properties for
objects that represent a form of Light source. |
class |
PointLight
Defines a point light source object.
|
Modifier and Type | Field and Description |
---|---|
private javafx.collections.ObservableList<Node> |
LightBase.scope |
private java.util.Collection<? extends Node> |
LightBaseBuilder.scope |
Modifier and Type | Method and Description |
---|---|
javafx.collections.ObservableList<Node> |
LightBase.getScope()
Gets the list of nodes that specifies the
hierarchical scope of this Light.
|
Modifier and Type | Method and Description |
---|---|
B |
LightBaseBuilder.scope(Node... x)
Add the given items to the List of items in the
scope property for the instance constructed by this builder. |
Modifier and Type | Method and Description |
---|---|
B |
LightBaseBuilder.scope(java.util.Collection<? extends Node> x)
Add the given items to the List of items in the
scope property for the instance constructed by this builder. |
Modifier and Type | Class and Description |
---|---|
class |
Box
The
Box class defines a 3 dimensional box with the specified size. |
class |
Cylinder
The
Cylinder class defines a 3 dimensional cylinder with the specified size. |
class |
MeshView
The
MeshView class defines a surface with the specified 3D
mesh data. |
class |
Shape3D
The
Shape3D base class provides definitions of common properties for
objects that represent some form of 3D geometric shape. |
class |
Sphere
The
Sphere class defines a 3 dimensional sphere with the specified size. |
Modifier and Type | Method and Description |
---|---|
private boolean |
TriangleMesh.computeIntersectsFace(com.sun.javafx.geom.PickRay pickRay,
javafx.geometry.Point3D origin,
javafx.geometry.Point3D dir,
int faceIndex,
CullFace cullFace,
Node candidate,
com.sun.javafx.scene.input.PickResultChooser result)
Computes intersection of a pick ray and a single triangle face.
|
protected boolean |
TriangleMesh.impl_computeIntersects(com.sun.javafx.geom.PickRay pickRay,
com.sun.javafx.scene.input.PickResultChooser pickResult,
Node candidate,
CullFace cullFace)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
protected abstract boolean |
Mesh.impl_computeIntersects(com.sun.javafx.geom.PickRay pickRay,
com.sun.javafx.scene.input.PickResultChooser pickResult,
Node candidate,
CullFace cullFace)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.