Top Description Inners Fields Constructors Methods
com.sun.javafx.scene

public abstract Class NodeHelper

extends Object
Class Inheritance
Known Direct Subclasses
com.sun.javafx.scene.ParentHelper, com.sun.javafx.scene.SubSceneHelper, com.sun.javafx.scene.shape.Shape3DHelper, com.sun.javafx.scene.shape.ShapeHelper, com.sun.javafx.scene.canvas.CanvasHelper, com.sun.javafx.scene.CameraHelper, com.sun.javafx.scene.ImageViewHelper, com.sun.javafx.scene.LightBaseHelper
Imports
com.sun.glass.ui.Accessible, com.sun.javafx.css.TransitionDefinition, .TransitionTimer, com.sun.javafx.geom.BaseBounds, .PickRay, com.sun.javafx.geom.transform.BaseTransform, com.sun.javafx.scene.input.PickResultChooser, com.sun.javafx.scene.traversal.Direction, .TraversalMethod, com.sun.javafx.sg.prism.NGNode, com.sun.javafx.util.Utils, java.util.List, .Map, javafx.beans.binding.BooleanExpression, javafx.beans.property.BooleanProperty, javafx.css.CssMetaData, .Style, .Styleable, .StyleableProperty, javafx.geometry.Bounds, javafx.scene.Node, .SubScene, javafx.scene.text.Font

Used to access internal methods of Node.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface

Field Summary

Modifier and TypeField and Description
private static NodeHelper.NodeAccessor

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
addTransitionTimer(Node node, String propertyName, TransitionTimer timer)

public static boolean
computeContains(Node node, double localX, double localY)

protected abstract boolean
computeContainsImpl(Node node, double localX, double localY)

public static BaseBounds
protected abstract BaseBounds
public static boolean
computeIntersects(Node node, PickRay pickRay, PickResultChooser pickResult)

protected boolean
public static Bounds
protected Bounds
public static NGNode
protected abstract NGNode
public static Map<StyleableProperty<?>, List<Style>>
public static TransitionDefinition
findTransitionDefinition(Node node, CssMetaData<? extends Styleable, ?> metadata)

public static Map<CssMetaData<? extends Styleable, ?>, TransitionDefinition>
findTransitionDefinitions(Node node, CssMetaData<? extends Styleable, ?> metadata)

public static TransitionTimer
findTransitionTimer(Node node, String propertyName)

public static void
protected void
public static Accessible
protected static NodeHelper
public static BaseTransform
public static List<Style>
getMatchingStyles(CssMetaData<S extends Styleable, V> cssMetaData, Styleable styleable)

public static NodeHelper.NodeAccessor
public static <P extends NGNode> P
getPeer(Node node)

public static double
public static double
public static double
public static SubScene
public static StyleableProperty<TransitionDefinition[]>
public static boolean
intersects(Node node, PickRay pickRay, PickResultChooser pickResult)

public static double
intersectsBounds(Node node, PickRay pickRay)

public static boolean
public static boolean
isDirty(Node node, DirtyBits dirtyBit)

public static boolean
public static boolean
public static boolean
public static boolean
public static boolean
public static void
public static void
public static void
markDirty(Node node, DirtyBits dirtyBit)

protected void
markDirtyImpl(Node node, DirtyBits dirtyBit)

public static void
protected void
public static void
pickNode(Node node, PickRay pickRay, PickResultChooser result)

public static void
pickNodeLocal(Node node, PickRay localPickRay, PickResultChooser result)

protected void
pickNodeLocalImpl(Node node, PickRay localPickRay, PickResultChooser result)

public static void
protected void
public static void
public static void
recalculateRelativeSizeProperties(Node node, Font fontForRelativeSizes)

public static void
removeTransitionTimer(Node node, String propertyName)

public static void
protected static void
setHelper(Node node, NodeHelper nodeHelper)

public static void
public static void
setShowMnemonics(Node node, boolean value)

public static BooleanProperty
public static void
syncPeer(Node node)

public static void
protected void
public static boolean
traverse(Node node, Direction direction, TraversalMethod method)

public static BooleanExpression
public static void
protected void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nodeAccessorback to summary
private static NodeHelper.NodeAccessor nodeAccessor

Constructor Detail

NodeHelperback to summary
protected NodeHelper()

Method Detail

addTransitionTimerback to summary
public static void addTransitionTimer(Node node, String propertyName, TransitionTimer timer)
computeContainsback to summary
public static boolean computeContains(Node node, double localX, double localY)
computeContainsImplback to summary
protected abstract boolean computeContainsImpl(Node node, double localX, double localY)
computeGeomBoundsback to summary
public static BaseBounds computeGeomBounds(Node node, BaseBounds bounds, BaseTransform tx)
computeGeomBoundsImplback to summary
protected abstract BaseBounds computeGeomBoundsImpl(Node node, BaseBounds bounds, BaseTransform tx)
computeIntersectsback to summary
public static boolean computeIntersects(Node node, PickRay pickRay, PickResultChooser pickResult)
computeIntersectsImplback to summary
protected boolean computeIntersectsImpl(Node node, PickRay pickRay, PickResultChooser pickResult)
computeLayoutBoundsback to summary
public static Bounds computeLayoutBounds(Node node)
computeLayoutBoundsImplback to summary
protected Bounds computeLayoutBoundsImpl(Node node)
createPeerback to summary
public static NGNode createPeer(Node node)
createPeerImplback to summary
protected abstract NGNode createPeerImpl(Node node)
findStylesback to summary
public static Map<StyleableProperty<?>, List<Style>> findStyles(Node node, Map<StyleableProperty<?>, List<Style>> styleMap)
findTransitionDefinitionback to summary
public static TransitionDefinition findTransitionDefinition(Node node, CssMetaData<? extends Styleable, ?> metadata)
findTransitionDefinitionsback to summary
public static Map<CssMetaData<? extends Styleable, ?>, TransitionDefinition> findTransitionDefinitions(Node node, CssMetaData<? extends Styleable, ?> metadata)
findTransitionTimerback to summary
public static TransitionTimer findTransitionTimer(Node node, String propertyName)
geomChangedback to summary
public static void geomChanged(Node node)
geomChangedImplback to summary
protected void geomChangedImpl(Node node)
getAccessibleback to summary
public static Accessible getAccessible(Node node)
getHelperback to summary
protected static NodeHelper getHelper(Node node)
getLeafTransformback to summary
public static BaseTransform getLeafTransform(Node node)
getMatchingStylesback to summary
public static List<Style> getMatchingStyles(CssMetaData<S extends Styleable, V> cssMetaData, Styleable styleable)
getNodeAccessorback to summary
public static NodeHelper.NodeAccessor getNodeAccessor()
getPeerback to summary
public static <P extends NGNode> P getPeer(Node node)
getPivotXback to summary
public static double getPivotX(Node node)
getPivotYback to summary
public static double getPivotY(Node node)
getPivotZback to summary
public static double getPivotZ(Node node)
getSubSceneback to summary
public static SubScene getSubScene(Node node)
getTransitionPropertyback to summary
public static StyleableProperty<TransitionDefinition[]> getTransitionProperty(Node node)
intersectsback to summary
public static boolean intersects(Node node, PickRay pickRay, PickResultChooser pickResult)
intersectsBoundsback to summary
public static double intersectsBounds(Node node, PickRay pickRay)
isDerivedDepthTestback to summary
public static boolean isDerivedDepthTest(Node node)
isDirtyback to summary
public static boolean isDirty(Node node, DirtyBits dirtyBit)
isDirtyEmptyback to summary
public static boolean isDirtyEmpty(Node node)
isInitialCssStateback to summary
public static boolean isInitialCssState(Node node)
isShowMnemonicsback to summary
public static boolean isShowMnemonics(Node node)
isTreeShowingback to summary
public static boolean isTreeShowing(Node node)
isTreeVisibleback to summary
public static boolean isTreeVisible(Node node)
layoutBoundsChangedback to summary
public static void layoutBoundsChanged(Node node)
layoutNodeForPrintingback to summary
public static void layoutNodeForPrinting(Node node)
markDirtyback to summary
public static void markDirty(Node node, DirtyBits dirtyBit)
markDirtyImplback to summary
protected void markDirtyImpl(Node node, DirtyBits dirtyBit)
notifyLayoutBoundsChangedback to summary
public static void notifyLayoutBoundsChanged(Node node)
notifyLayoutBoundsChangedImplback to summary
protected void notifyLayoutBoundsChangedImpl(Node node)
pickNodeback to summary
public static void pickNode(Node node, PickRay pickRay, PickResultChooser result)
pickNodeLocalback to summary
public static void pickNodeLocal(Node node, PickRay localPickRay, PickResultChooser result)
pickNodeLocalImplback to summary
protected void pickNodeLocalImpl(Node node, PickRay localPickRay, PickResultChooser result)
processCSSback to summary
public static void processCSS(Node node)
processCSSImplback to summary
protected void processCSSImpl(Node node)
reapplyCSSback to summary
public static void reapplyCSS(Node node)
recalculateRelativeSizePropertiesback to summary
public static void recalculateRelativeSizeProperties(Node node, Font fontForRelativeSizes)
removeTransitionTimerback to summary
public static void removeTransitionTimer(Node node, String propertyName)
requestFocusVisibleback to summary
public static void requestFocusVisible(Node node)
setHelperback to summary
protected static void setHelper(Node node, NodeHelper nodeHelper)
setNodeAccessorback to summary
public static void setNodeAccessor(final NodeHelper.NodeAccessor newAccessor)
setShowMnemonicsback to summary
public static void setShowMnemonics(Node node, boolean value)
showMnemonicsPropertyback to summary
public static BooleanProperty showMnemonicsProperty(Node node)
syncPeerback to summary
public static void syncPeer(Node node)
transformsChangedback to summary
public static void transformsChanged(Node node)
transformsChangedImplback to summary
protected void transformsChangedImpl(Node node)
traverseback to summary
public static boolean traverse(Node node, Direction direction, TraversalMethod method)
treeVisiblePropertyback to summary
public static BooleanExpression treeVisibleProperty(Node node)
updatePeerback to summary
public static void updatePeer(Node node)
updatePeerImplback to summary
protected void updatePeerImpl(Node node)
com.sun.javafx.scene back to summary

public Interface NodeHelper.NodeAccessor


Method Summary

Modifier and TypeMethod and Description
public void
addTransitionTimer(Node node, String propertyName, TransitionTimer timer)

public boolean
public Bounds
public void
public void
doMarkDirty(Node node, DirtyBits dirtyBit)

public void
public void
doPickNodeLocal(Node node, PickRay localPickRay, PickResultChooser result)

public void
public void
public void
public Map<StyleableProperty<?>, List<Style>>
public TransitionDefinition
findTransitionDefinition(Node node, CssMetaData<? extends Styleable, ?> metadata)

public Map<CssMetaData<? extends Styleable, ?>, TransitionDefinition>
findTransitionDefinitions(Node node, CssMetaData<? extends Styleable, ?> metadata)

public TransitionTimer
findTransitionTimer(Node node, String propertyName)

public Accessible
public NodeHelper
public BaseTransform
public List<Style>
getMatchingStyles(CssMetaData<S extends Styleable, V> cssMetaData, Styleable styleable)

public <P extends NGNode> P
getPeer(Node node)

public double
public double
public double
public SubScene
public StyleableProperty<TransitionDefinition[]>
public boolean
intersects(Node node, PickRay pickRay, PickResultChooser pickResult)

public double
intersectsBounds(Node node, PickRay pickRay)

public boolean
public boolean
isDirty(Node node, DirtyBits dirtyBit)

public boolean
public boolean
public boolean
public boolean
public boolean
public void
public void
public void
pickNode(Node node, PickRay pickRay, PickResultChooser result)

public void
public void
recalculateRelativeSizeProperties(Node node, Font fontForRelativeSizes)

public void
removeTransitionTimer(Node node, String propertyName)

public void
public void
setHelper(Node node, NodeHelper nodeHelper)

public void
setLabeledBy(Node node, Node labeledBy)

public void
setShowMnemonics(Node node, boolean value)

public BooleanProperty
public void
syncPeer(Node node)

public boolean
traverse(Node node, Direction direction, TraversalMethod method)

public BooleanExpression

Method Detail

addTransitionTimerback to summary
public void addTransitionTimer(Node node, String propertyName, TransitionTimer timer)
doComputeIntersectsback to summary
public boolean doComputeIntersects(Node node, PickRay pickRay, PickResultChooser pickResult)
doComputeLayoutBoundsback to summary
public Bounds doComputeLayoutBounds(Node node)
doGeomChangedback to summary
public void doGeomChanged(Node node)
doMarkDirtyback to summary
public void doMarkDirty(Node node, DirtyBits dirtyBit)
doNotifyLayoutBoundsChangedback to summary
public void doNotifyLayoutBoundsChanged(Node node)
doPickNodeLocalback to summary
public void doPickNodeLocal(Node node, PickRay localPickRay, PickResultChooser result)
doProcessCSSback to summary
public void doProcessCSS(Node node)
doTransformsChangedback to summary
public void doTransformsChanged(Node node)
doUpdatePeerback to summary
public void doUpdatePeer(Node node)
findStylesback to summary
public Map<StyleableProperty<?>, List<Style>> findStyles(Node node, Map<StyleableProperty<?>, List<Style>> styleMap)
findTransitionDefinitionback to summary
public TransitionDefinition findTransitionDefinition(Node node, CssMetaData<? extends Styleable, ?> metadata)
findTransitionDefinitionsback to summary
public Map<CssMetaData<? extends Styleable, ?>, TransitionDefinition> findTransitionDefinitions(Node node, CssMetaData<? extends Styleable, ?> metadata)
findTransitionTimerback to summary
public TransitionTimer findTransitionTimer(Node node, String propertyName)
getAccessibleback to summary
public Accessible getAccessible(Node node)
getHelperback to summary
public NodeHelper getHelper(Node node)
getLeafTransformback to summary
public BaseTransform getLeafTransform(Node node)
getMatchingStylesback to summary
public List<Style> getMatchingStyles(CssMetaData<S extends Styleable, V> cssMetaData, Styleable styleable)
getPeerback to summary
public <P extends NGNode> P getPeer(Node node)
getPivotXback to summary
public double getPivotX(Node node)
getPivotYback to summary
public double getPivotY(Node node)
getPivotZback to summary
public double getPivotZ(Node node)
getSubSceneback to summary
public SubScene getSubScene(Node node)
getTransitionPropertyback to summary
public StyleableProperty<TransitionDefinition[]> getTransitionProperty(Node node)
intersectsback to summary
public boolean intersects(Node node, PickRay pickRay, PickResultChooser pickResult)
intersectsBoundsback to summary
public double intersectsBounds(Node node, PickRay pickRay)
isDerivedDepthTestback to summary
public boolean isDerivedDepthTest(Node node)
isDirtyback to summary
public boolean isDirty(Node node, DirtyBits dirtyBit)
isDirtyEmptyback to summary
public boolean isDirtyEmpty(Node node)
isInitialCssStateback to summary
public boolean isInitialCssState(Node node)
isShowMnemonicsback to summary
public boolean isShowMnemonics(Node node)
isTreeShowingback to summary
public boolean isTreeShowing(Node node)
isTreeVisibleback to summary
public boolean isTreeVisible(Node node)
layoutBoundsChangedback to summary
public void layoutBoundsChanged(Node node)
layoutNodeForPrintingback to summary
public void layoutNodeForPrinting(Node node)
pickNodeback to summary
public void pickNode(Node node, PickRay pickRay, PickResultChooser result)
reapplyCSSback to summary
public void reapplyCSS(Node node)
recalculateRelativeSizePropertiesback to summary
public void recalculateRelativeSizeProperties(Node node, Font fontForRelativeSizes)
removeTransitionTimerback to summary
public void removeTransitionTimer(Node node, String propertyName)
requestFocusVisibleback to summary
public void requestFocusVisible(Node node)
setHelperback to summary
public void setHelper(Node node, NodeHelper nodeHelper)
setLabeledByback to summary
public void setLabeledBy(Node node, Node labeledBy)
setShowMnemonicsback to summary
public void setShowMnemonics(Node node, boolean value)
showMnemonicsPropertyback to summary
public BooleanProperty showMnemonicsProperty(Node node)
syncPeerback to summary
public void syncPeer(Node node)
traverseback to summary
public boolean traverse(Node node, Direction direction, TraversalMethod method)
treeVisiblePropertyback to summary
public BooleanExpression treeVisibleProperty(Node node)