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

public Class TextHelper

extends ShapeHelper
Class Inheritance
Imports
com.sun.javafx.geom.BaseBounds, com.sun.javafx.geom.transform.BaseTransform, com.sun.javafx.sg.prism.NGNode, com.sun.javafx.util.Utils, javafx.geometry.Bounds, javafx.scene.Node, javafx.scene.shape.Shape, javafx.scene.text.Text

Used to access internal methods of Text.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface

Field Summary

Modifier and TypeField and Description
private static TextHelper.TextAccessor
private static final TextHelper

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected boolean
protected BaseBounds
protected Bounds
protected Shape
protected NGNode
protected void
private static TextHelper
public static float
public static void
public static void
public static BaseBounds
pack-priv BaseBounds
public static Bounds
pack-priv Bounds
protected void
Inherited from com.sun.javafx.scene.shape.ShapeHelper:
configShapecssGetFillInitialValuecssGetFillInitialValueImplcssGetStrokeInitialValuecssGetStrokeInitialValueImplgetModemarkDirtyImplsetShapeAccessorsetShapeChangeListener

Field Detail

textAccessorback to summary
private static TextHelper.TextAccessor textAccessor
theInstanceback to summary
private static final TextHelper theInstance

Constructor Detail

TextHelperback to summary
public TextHelper()

Method Detail

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

Overrides com.sun.javafx.scene.shape.ShapeHelper.computeContainsImpl.

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

Overrides com.sun.javafx.scene.shape.ShapeHelper.computeGeomBoundsImpl.

Annotations
@Override
computeLayoutBoundsImplback to summary
protected Bounds computeLayoutBoundsImpl(Node node)

Overrides com.sun.javafx.scene.NodeHelper.computeLayoutBoundsImpl.

Annotations
@Override
configShapeImplback to summary
protected Shape configShapeImpl(Shape shape)

Implements abstract com.sun.javafx.scene.shape.ShapeHelper.configShapeImpl.

Annotations
@Override
createPeerImplback to summary
protected NGNode createPeerImpl(Node node)

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

Annotations
@Override
geomChangedImplback to summary
protected void geomChangedImpl(Node node)

Overrides com.sun.javafx.scene.NodeHelper.geomChangedImpl.

Annotations
@Override
getInstanceback to summary
private static TextHelper getInstance()
getVisualWidthback to summary
public static float getVisualWidth(Text t)
initHelperback to summary
public static void initHelper(Text text)
setTextAccessorback to summary
public static void setTextAccessor(final TextHelper.TextAccessor newAccessor)
superComputeGeomBoundsback to summary
public static BaseBounds superComputeGeomBounds(Node node, BaseBounds bounds, BaseTransform tx)
superComputeGeomBoundsImplback to summary
pack-priv BaseBounds superComputeGeomBoundsImpl(Node node, BaseBounds bounds, BaseTransform tx)
superComputeLayoutBoundsback to summary
public static Bounds superComputeLayoutBounds(Node node)
superComputeLayoutBoundsImplback to summary
pack-priv Bounds superComputeLayoutBoundsImpl(Node node)
updatePeerImplback to summary
protected void updatePeerImpl(Node node)

Overrides com.sun.javafx.scene.shape.ShapeHelper.updatePeerImpl.

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

public Interface TextHelper.TextAccessor


Method Summary

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

public BaseBounds
public Bounds
public Shape
public NGNode
public void
public void
public float

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)
doComputeLayoutBoundsback to summary
public Bounds doComputeLayoutBounds(Node node)
doConfigShapeback to summary
public Shape doConfigShape(Shape shape)
doCreatePeerback to summary
public NGNode doCreatePeer(Node node)
doGeomChangedback to summary
public void doGeomChanged(Node node)
doUpdatePeerback to summary
public void doUpdatePeer(Node node)
getVisualWidthback to summary
public float getVisualWidth(Text t)