| Package | Description |
|---|---|
| org.jfree.text |
Utility classes relating to text.
|
| Modifier and Type | Field and Description |
|---|---|
private TextBlock |
TextBox.textBlock
The text block.
|
| Modifier and Type | Method and Description |
|---|---|
static TextBlock |
TextUtilities.createTextBlock(java.lang.String text,
java.awt.Font font,
java.awt.Paint paint)
Creates a
TextBlock from a String. |
static TextBlock |
TextUtilities.createTextBlock(java.lang.String text,
java.awt.Font font,
java.awt.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(java.lang.String text,
java.awt.Font font,
java.awt.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.
|