| Package | Description |
|---|---|
| com.sun.javafx.scene.control.skin | |
| javafx.scene.text |
Provides the set of classes for fonts and renderable Text Node.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) static TextBoundsType |
Utils.DEFAULT_BOUNDS_TYPE |
| Modifier and Type | Method and Description |
|---|---|
(package private) static java.lang.String |
Utils.computeClippedWrappedText(Font font,
java.lang.String text,
double width,
double height,
OverrunStyle truncationStyle,
java.lang.String ellipsisString,
TextBoundsType boundsType) |
(package private) static double |
Utils.computeTextHeight(Font font,
java.lang.String text,
double wrappingWidth,
double lineSpacing,
TextBoundsType boundsType) |
(package private) static double |
Utils.computeTextHeight(Font font,
java.lang.String text,
double wrappingWidth,
TextBoundsType boundsType) |
(package private) static double |
Utils.getAscent(Font font,
TextBoundsType boundsType) |
(package private) static double |
Utils.getLineHeight(Font font,
TextBoundsType boundsType) |
| Modifier and Type | Field and Description |
|---|---|
private TextBoundsType |
TextBuilder.boundsType
Deprecated.
|
private static TextBoundsType |
Text.DEFAULT_BOUNDS_TYPE |
| Modifier and Type | Field and Description |
|---|---|
private static CssMetaData<Text,TextBoundsType> |
Text.StyleableProperties.BOUNDS_TYPE |
private ObjectProperty<TextBoundsType> |
Text.boundsType
Determines how the bounds of the text node are calculated.
|
| Modifier and Type | Method and Description |
|---|---|
TextBoundsType |
Text.getBoundsType() |
static TextBoundsType |
TextBoundsType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextBoundsType[] |
TextBoundsType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectProperty<TextBoundsType> |
Text.boundsTypeProperty() |
| Modifier and Type | Method and Description |
|---|---|
B |
TextBuilder.boundsType(TextBoundsType x)
Deprecated.
Set the value of the
boundsType property for the instance constructed by this builder. |
void |
Text.setBoundsType(TextBoundsType value) |