Top Fields Constructors Methods
com.sun.javafx.text

public Class PrismTextLayoutFactory

extends Object
implements TextLayoutFactory
Class Inheritance
All Implemented Interfaces
com.sun.javafx.scene.text.TextLayoutFactory
Imports
java.util.concurrent.atomic.AtomicBoolean, com.sun.javafx.font.PrismFontFactory, com.sun.javafx.scene.text.TextLayout, .TextLayoutFactory

Field Summary

Modifier and TypeField and Description
private static final PrismTextLayoutFactory
private static final AtomicBoolean
private static final TextLayout

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public TextLayout
createLayout()

Implements com.sun.javafx.scene.text.TextLayoutFactory.createLayout.

Returns a new TextLayout instance.

public void
disposeLayout(TextLayout layout)

Implements com.sun.javafx.scene.text.TextLayoutFactory.disposeLayout.

Disposes the reusable TextLayout.

public static PrismTextLayoutFactory
public TextLayout
getLayout()

Implements com.sun.javafx.scene.text.TextLayoutFactory.getLayout.

Returns a reusable instance of TextLayout, the caller is responsible by returning the instance back to the factory using disposeLayout().

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

FACTORYback to summary
private static final PrismTextLayoutFactory FACTORY
IN_USEback to summary
private static final AtomicBoolean IN_USE
REUSABLE_INSTANCEback to summary
private static final TextLayout REUSABLE_INSTANCE

Constructor Detail

PrismTextLayoutFactoryback to summary
private PrismTextLayoutFactory()

Method Detail

createLayoutback to summary
public TextLayout createLayout()

Implements com.sun.javafx.scene.text.TextLayoutFactory.createLayout.

Doc from com.sun.javafx.scene.text.TextLayoutFactory.createLayout.

Returns a new TextLayout instance.

Annotations
@Override
disposeLayoutback to summary
public void disposeLayout(TextLayout layout)

Implements com.sun.javafx.scene.text.TextLayoutFactory.disposeLayout.

Doc from com.sun.javafx.scene.text.TextLayoutFactory.disposeLayout.

Disposes the reusable TextLayout.

Annotations
@Override
getFactoryback to summary
public static PrismTextLayoutFactory getFactory()
getLayoutback to summary
public TextLayout getLayout()

Implements com.sun.javafx.scene.text.TextLayoutFactory.getLayout.

Doc from com.sun.javafx.scene.text.TextLayoutFactory.getLayout.

Returns a reusable instance of TextLayout, the caller is responsible by returning the instance back to the factory using disposeLayout().

Annotations
@Override