Package | Description |
---|---|
org.jfree.text |
Utility classes relating to text.
|
Modifier and Type | Method and Description |
---|---|
static TextBlock |
TextUtilities.createTextBlock(String text,
Font font,
Paint paint)
Creates a
TextBlock from a String . |
static TextBlock |
TextUtilities.createTextBlock(String text,
Font font,
Paint paint,
float maxWidth,
int maxLines,
TextMeasurer measurer)
Creates a new text block from the given string, breaking the
text into lines so that the
maxWidth value is
respected. |
static TextBlock |
TextUtilities.createTextBlock(String text,
Font font,
Paint paint,
float maxWidth,
TextMeasurer measurer)
Creates a new text block from the given string, breaking the
text into lines so that the
maxWidth value is
respected. |
TextBlock |
TextBox.getTextBlock()
Returns the text block.
|
Modifier and Type | Method and Description |
---|---|
void |
TextBox.setTextBlock(TextBlock block)
Sets the text block.
|
Constructor and Description |
---|
TextBox(TextBlock block)
Creates a new text box.
|
Copyright © 2001–2018 JFree.org. All rights reserved.