Uses of Class
org.jfree.chart.text.TextBlock
-
Packages that use TextBlock Package Description org.jfree.chart.axis Axis classes and interfaces.org.jfree.chart.block Blocks and layout classes used extensively by theLegendTitle
class.org.jfree.chart.text Text-related classes formerly in the JCommon class library.org.jfree.chart.title Classes used to display chart titles and subtitles. -
-
Uses of TextBlock in org.jfree.chart.axis
Fields in org.jfree.chart.axis declared as TextBlock Modifier and Type Field Description private TextBlock
CategoryTick. label
The label.Methods in org.jfree.chart.axis that return TextBlock Modifier and Type Method Description protected TextBlock
CategoryAxis. createLabel(java.lang.Comparable category, float width, RectangleEdge edge, java.awt.Graphics2D g2)
Creates a label.protected TextBlock
ExtendedCategoryAxis. createLabel(java.lang.Comparable category, float width, RectangleEdge edge, java.awt.Graphics2D g2)
Overrides the default behaviour by adding the sublabel to the text block that is used for the category label.TextBlock
CategoryTick. getLabel()
Returns the label.Methods in org.jfree.chart.axis with parameters of type TextBlock Modifier and Type Method Description protected double
CategoryAxis. calculateTextBlockHeight(TextBlock block, CategoryLabelPosition position, java.awt.Graphics2D g2)
A utility method for determining the height of a text block.protected double
CategoryAxis. calculateTextBlockWidth(TextBlock block, CategoryLabelPosition position, java.awt.Graphics2D g2)
A utility method for determining the width of a text block.Constructors in org.jfree.chart.axis with parameters of type TextBlock Constructor Description CategoryTick(java.lang.Comparable category, TextBlock label, TextBlockAnchor labelAnchor, TextAnchor rotationAnchor, double angle)
Creates a new tick. -
Uses of TextBlock in org.jfree.chart.block
Fields in org.jfree.chart.block declared as TextBlock Modifier and Type Field Description private TextBlock
LabelBlock. label
The label. -
Uses of TextBlock in org.jfree.chart.text
Fields in org.jfree.chart.text declared as TextBlock Modifier and Type Field Description private TextBlock
TextBox. textBlock
The text block.Methods in org.jfree.chart.text that return TextBlock Modifier and Type Method Description static TextBlock
TextUtils. createTextBlock(java.lang.String text, java.awt.Font font, java.awt.Paint paint)
Creates aTextBlock
from aString
.static TextBlock
TextUtils. 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 themaxWidth
value is respected.static TextBlock
TextUtils. 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 themaxWidth
value is respected.TextBlock
TextBox. getTextBlock()
Returns the text block.Methods in org.jfree.chart.text with parameters of type TextBlock Modifier and Type Method Description void
TextBox. setTextBlock(TextBlock block)
Sets the text block.Constructors in org.jfree.chart.text with parameters of type TextBlock Constructor Description TextBox(TextBlock block)
Creates a new text box. -
Uses of TextBlock in org.jfree.chart.title
Fields in org.jfree.chart.title declared as TextBlock Modifier and Type Field Description private TextBlock
TextTitle. content
The content.
-