| Modifier and Type | Field and Description |
|---|---|
| private static final PrismTextLayoutFactory | |
| private static final AtomicBoolean | |
| private static final TextLayout |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public TextLayout | createLayout()
Implements com. Returns a new TextLayout instance. |
| public void | disposeLayout(TextLayout layout)
Implements com. Disposes the reusable TextLayout. |
| public static PrismTextLayoutFactory | |
| public TextLayout | getLayout()
Implements com. Returns a reusable instance of TextLayout, the caller is responsible by returning the instance back to the factory using disposeLayout(). |
| FACTORY | back to summary |
|---|---|
| private static final PrismTextLayoutFactory FACTORY | |
| IN_USE | back to summary |
|---|---|
| private static final AtomicBoolean IN_USE | |
| REUSABLE_INSTANCE | back to summary |
|---|---|
| private static final TextLayout REUSABLE_INSTANCE | |
| PrismTextLayoutFactory | back to summary |
|---|---|
| private PrismTextLayoutFactory() | |
| createLayout | back to summary |
|---|---|
| public TextLayout createLayout() Implements com. Doc from com. Returns a new TextLayout instance.
| |
| disposeLayout | back to summary |
|---|---|
| public void disposeLayout(TextLayout layout) Implements com. Doc from com. Disposes the reusable TextLayout.
| |
| getFactory | back to summary |
|---|---|
| public static PrismTextLayoutFactory getFactory() | |
| getLayout | back to summary |
|---|---|
| public TextLayout getLayout() Implements com. Doc from com. Returns a reusable instance of TextLayout, the caller is responsible by returning the instance back to the factory using disposeLayout().
| |