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

public abstract Class ShapeHelper

extends NodeHelper
Class Inheritance
Known Direct Subclasses
com.sun.javafx.scene.shape.SVGPathHelper, com.sun.javafx.scene.shape.TextHelper, com.sun.javafx.scene.shape.ArcHelper, com.sun.javafx.scene.shape.CircleHelper, com.sun.javafx.scene.shape.CubicCurveHelper, com.sun.javafx.scene.shape.EllipseHelper, com.sun.javafx.scene.shape.LineHelper, com.sun.javafx.scene.shape.PathHelper, com.sun.javafx.scene.shape.PolygonHelper, com.sun.javafx.scene.shape.PolylineHelper, com.sun.javafx.scene.shape.QuadCurveHelper, com.sun.javafx.scene.shape.RectangleHelper
Imports
com.sun.javafx.geom.BaseBounds, com.sun.javafx.geom.transform.BaseTransform, com.sun.javafx.scene.DirtyBits, .NodeHelper, com.sun.javafx.sg.prism.NGShape, com.sun.javafx.util.Utils, javafx.scene.Node, javafx.scene.paint.Paint, javafx.scene.shape.Shape

Used to access internal methods of Shape.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface

Field Summary

Modifier and TypeField and Description
private static ShapeHelper.ShapeAccessor

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected boolean
computeContainsImpl(Node node, double localX, double localY)

Implements abstract com.sun.javafx.scene.NodeHelper.computeContainsImpl.

protected BaseBounds
public static Shape
protected abstract Shape
public static Paint
protected Paint
public static Paint
protected Paint
public static NGShape.Mode
getMode(Shape shape)

protected void
public static void
public static void
protected void
Inherited from com.sun.javafx.scene.NodeHelper:
addTransitionTimercomputeContainscomputeGeomBoundscomputeIntersectscomputeIntersectsImplcomputeLayoutBoundscomputeLayoutBoundsImplcreatePeercreatePeerImplfindStylesfindTransitionDefinitionfindTransitionDefinitionsfindTransitionTimergeomChangedgeomChangedImplgetAccessiblegetHelpergetLeafTransformgetMatchingStylesgetMediaQueryContextgetNodeAccessorgetPeergetPivotXgetPivotYgetPivotZgetSubScenegetTransitionPropertyintersectsintersectsBoundsisDerivedDepthTestisDirtyisDirtyEmptyisInitialCssStateisShowMnemonicsisTreeShowingisTreeVisiblelayoutBoundsChangedlayoutNodeForPrintingmarkDirtynotifyLayoutBoundsChangednotifyLayoutBoundsChangedImplpickNodepickNodeLocalpickNodeLocalImplprocessCSSprocessCSSImplreapplyCSSrecalculateRelativeSizePropertiesremoveTransitionTimerrequestFocusVisiblesetHelpersetNodeAccessorsetParentsetScenessetShowMnemonicsshowMnemonicsPropertysyncPeertransformsChangedtransformsChangedImpltraversetreeVisiblePropertyupdateBoundsupdatePeer

Field Detail

shapeAccessorback to summary
private static ShapeHelper.ShapeAccessor shapeAccessor

Constructor Detail

ShapeHelperback to summary
public ShapeHelper()

Method Detail

computeContainsImplback to summary
protected boolean computeContainsImpl(Node node, double localX, double localY)

Implements abstract com.sun.javafx.scene.NodeHelper.computeContainsImpl.

Annotations
@Override
computeGeomBoundsImplback to summary
protected BaseBounds computeGeomBoundsImpl(Node node, BaseBounds bounds, BaseTransform tx)

Implements abstract com.sun.javafx.scene.NodeHelper.computeGeomBoundsImpl.

Annotations
@Override
configShapeback to summary
public static Shape configShape(Shape shape)
configShapeImplback to summary
protected abstract Shape configShapeImpl(Shape shape)
cssGetFillInitialValueback to summary
public static Paint cssGetFillInitialValue(Shape shape)
cssGetFillInitialValueImplback to summary
protected Paint cssGetFillInitialValueImpl(Shape shape)
cssGetStrokeInitialValueback to summary
public static Paint cssGetStrokeInitialValue(Shape shape)
cssGetStrokeInitialValueImplback to summary
protected Paint cssGetStrokeInitialValueImpl(Shape shape)
getModeback to summary
public static NGShape.Mode getMode(Shape shape)
markDirtyImplback to summary
protected void markDirtyImpl(Node node, DirtyBits dirtyBit)

Overrides com.sun.javafx.scene.NodeHelper.markDirtyImpl.

Annotations
@Override
setShapeAccessorback to summary
public static void setShapeAccessor(final ShapeHelper.ShapeAccessor newAccessor)
setShapeChangeListenerback to summary
public static void setShapeChangeListener(Shape shape, Runnable listener)
updatePeerImplback to summary
protected void updatePeerImpl(Node node)

Overrides com.sun.javafx.scene.NodeHelper.updatePeerImpl.

Annotations
@Override
com.sun.javafx.scene.shape back to summary

public Interface ShapeHelper.ShapeAccessor


Method Summary

Modifier and TypeMethod and Description
public boolean
doComputeContains(Node node, double localX, double localY)

public BaseBounds
public Paint
public Paint
public void
doMarkDirty(Node node, DirtyBits dirtyBit)

public void
public NGShape.Mode
getMode(Shape shape)

public void

Method Detail

doComputeContainsback to summary
public boolean doComputeContains(Node node, double localX, double localY)
doComputeGeomBoundsback to summary
public BaseBounds doComputeGeomBounds(Node node, BaseBounds bounds, BaseTransform tx)
doCssGetFillInitialValueback to summary
public Paint doCssGetFillInitialValue(Shape shape)
doCssGetStrokeInitialValueback to summary
public Paint doCssGetStrokeInitialValue(Shape shape)
doMarkDirtyback to summary
public void doMarkDirty(Node node, DirtyBits dirtyBit)
doUpdatePeerback to summary
public void doUpdatePeer(Node node)
getModeback to summary
public NGShape.Mode getMode(Shape shape)
setShapeChangeListenerback to summary
public void setShapeChangeListener(Shape shape, Runnable listener)