Top Methods
com.sun.javafx.scene.text

public Interface TextSpan

Known Direct Implementers
javafx.scene.text.TextFlow.EmbeddedSpan
Imports
com.sun.javafx.geom.RectBounds

Method Summary

Modifier and TypeMethod and Description
public RectBounds
getBounds()

The bounds for embedded object, only used the font returns null.

public Object
getFont()

The font for the span, if null the span is handled as embedded object.

public String
getText()

The text for the span, can be empty but not null.

Method Detail

getBoundsback to summary
public RectBounds getBounds()

The bounds for embedded object, only used the font returns null. The text for a embedded object should be a single char ("" is recommended).

getFontback to summary
public Object getFont()

The font for the span, if null the span is handled as embedded object.

getTextback to summary
public String getText()

The text for the span, can be empty but not null.