Package | Description |
---|---|
org.jfree.chart.axis |
Axis classes and interfaces.
|
org.jfree.chart.text |
Text-related classes formerly in the JCommon class library.
|
Modifier and Type | Method and Description |
---|---|
protected TextBlock |
ExtendedCategoryAxis.createLabel(Comparable category,
float width,
RectangleEdge edge,
Graphics2D g2)
Overrides the default behaviour by adding the sublabel to the text
block that is used for the category label.
|
protected TextBlock |
CategoryAxis.createLabel(Comparable category,
float width,
RectangleEdge edge,
Graphics2D g2)
Creates a label.
|
TextBlock |
CategoryTick.getLabel()
Returns the label.
|
Modifier and Type | Method and Description |
---|---|
protected double |
CategoryAxis.calculateTextBlockHeight(TextBlock block,
CategoryLabelPosition position,
Graphics2D g2)
A utility method for determining the height of a text block.
|
protected double |
CategoryAxis.calculateTextBlockWidth(TextBlock block,
CategoryLabelPosition position,
Graphics2D g2)
A utility method for determining the width of a text block.
|
Constructor and Description |
---|
CategoryTick(Comparable category,
TextBlock label,
TextBlockAnchor labelAnchor,
TextAnchor rotationAnchor,
double angle)
Creates a new tick.
|
Modifier and Type | Method and Description |
---|---|
static TextBlock |
TextUtils.createTextBlock(String text,
Font font,
Paint paint)
Creates a
TextBlock from a String . |
static TextBlock |
TextUtils.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 |
TextUtils.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–2017 JFree.org. All rights reserved.