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.text Text-related classes. -
-
Uses of TextBlock in org.jfree.chart.axis
Methods in org.jfree.chart.axis that return TextBlock Modifier and Type Method Description protected TextBlockCategoryAxis. createLabel(Comparable category, float width, RectangleEdge edge, Graphics2D g2)Creates a label.protected TextBlockExtendedCategoryAxis. 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.TextBlockCategoryTick. getLabel()Returns the label.Methods in org.jfree.chart.axis with parameters of type TextBlock Modifier and Type Method Description protected doubleCategoryAxis. calculateCategoryLabelHeight(TextBlock block, CategoryLabelPosition position, RectangleInsets insets, Graphics2D g2)Calculates the height of a category label when rendered.protected doubleCategoryAxis. calculateCategoryLabelWidth(TextBlock label, CategoryLabelPosition position, RectangleInsets insets, Graphics2D g2)Calculates the width of a category label when rendered.Constructors in org.jfree.chart.axis with parameters of type TextBlock Constructor Description CategoryTick(Comparable<?> category, TextBlock label, TextBlockAnchor labelAnchor, TextAnchor rotationAnchor, double angle)Creates a new tick. -
Uses of TextBlock in org.jfree.chart.text
Methods in org.jfree.chart.text that return TextBlock Modifier and Type Method Description static TextBlockTextUtils. createTextBlock(String text, Font font, Paint paint)Creates aTextBlockfrom aString.static TextBlockTextUtils. 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 themaxWidthvalue is respected.static TextBlockTextUtils. 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 themaxWidthvalue is respected.TextBlockTextBox. getTextBlock()Returns the text block.Methods in org.jfree.chart.text with parameters of type TextBlock Modifier and Type Method Description voidTextBox. 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.
-