Uses of Class
org.jfree.chart.ui.TextAnchor
| Package | Description |
|---|---|
| org.jfree.chart.annotations |
A framework for adding annotations to charts.
|
| org.jfree.chart.axis |
Axis classes and interfaces.
|
| org.jfree.chart.labels |
Generators and other classes used for the display of item labels and tooltips.
|
| org.jfree.chart.plot |
Plot classes and related interfaces.
|
| org.jfree.chart.plot.dial |
Classes for creating dial plots.
|
| org.jfree.chart.text |
Text-related classes formerly in the JCommon class library.
|
| org.jfree.chart.ui |
Utility classes that relate to user interface items.
|
| org.jfree.chart.util |
Utility classes used by JFreeChart.
|
-
Uses of TextAnchor in org.jfree.chart.annotations
Fields in org.jfree.chart.annotations declared as TextAnchor Modifier and Type Field Description static TextAnchorTextAnnotation. DEFAULT_ROTATION_ANCHORThe default rotation anchor.static TextAnchorXYTextAnnotation. DEFAULT_ROTATION_ANCHORThe default rotation anchor.static TextAnchorTextAnnotation. DEFAULT_TEXT_ANCHORThe default text anchor.static TextAnchorXYTextAnnotation. DEFAULT_TEXT_ANCHORThe default text anchor.Methods in org.jfree.chart.annotations that return TextAnchor Modifier and Type Method Description TextAnchorTextAnnotation. getRotationAnchor()Returns the rotation anchor.TextAnchorXYTextAnnotation. getRotationAnchor()Returns the rotation anchor.TextAnchorTextAnnotation. getTextAnchor()Returns the text anchor.TextAnchorXYTextAnnotation. getTextAnchor()Returns the text anchor.Methods in org.jfree.chart.annotations with parameters of type TextAnchor Modifier and Type Method Description voidTextAnnotation. setRotationAnchor(TextAnchor anchor)Sets the rotation anchor point and sends anAnnotationChangeEventto all registered listeners.voidXYTextAnnotation. setRotationAnchor(TextAnchor anchor)Sets the rotation anchor point and sends anAnnotationChangeEventto all registered listeners.voidTextAnnotation. setTextAnchor(TextAnchor anchor)Sets the text anchor (the point on the text bounding rectangle that is aligned to the (x, y) coordinate of the annotation) and sends anAnnotationChangeEventto all registered listeners.voidXYTextAnnotation. setTextAnchor(TextAnchor anchor)Sets the text anchor (the point on the text bounding rectangle that is aligned to the (x, y) coordinate of the annotation) and sends anAnnotationChangeEventto all registered listeners. -
Uses of TextAnchor in org.jfree.chart.axis
Methods in org.jfree.chart.axis that return TextAnchor Modifier and Type Method Description TextAnchorCategoryLabelPosition. getRotationAnchor()Returns the rotation anchor point.TextAnchorTick. getRotationAnchor()Returns the text anchor that defines the point around which the label is rotated.TextAnchorTick. getTextAnchor()Returns the text anchor.protected TextAnchorAxis. labelAnchorH(AxisLabelLocation location)Returns the appropriate horizontal text anchor for the specified axis location.protected TextAnchorAxis. labelAnchorV(AxisLabelLocation location)Returns the appropriate vertical text anchor for the specified axis location.Constructors in org.jfree.chart.axis with parameters of type TextAnchor Constructor Description CategoryLabelPosition(RectangleAnchor categoryAnchor, TextBlockAnchor labelAnchor, TextAnchor rotationAnchor, double angle, CategoryLabelWidthType widthType, float widthRatio)Creates a new position record.CategoryTick(Comparable category, TextBlock label, TextBlockAnchor labelAnchor, TextAnchor rotationAnchor, double angle)Creates a new tick.CycleBoundTick(boolean mapToLastCycle, Number number, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)Creates a new tick.DateTick(Date date, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)Creates a new date tick.DateTick(TickType tickType, Date date, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)Creates a new date tick.LogTick(TickType type, double value, AttributedString label, TextAnchor textAnchor)Creates a new instance.NumberTick(Number number, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)Creates a new tick.NumberTick(TickType tickType, double value, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)Creates a new tick.Tick(String text, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)Creates a new tick.ValueTick(double value, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)Creates a new value tick.ValueTick(TickType tickType, double value, String label, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)Creates a new value tick. -
Uses of TextAnchor in org.jfree.chart.labels
Methods in org.jfree.chart.labels that return TextAnchor Modifier and Type Method Description TextAnchorItemLabelPosition. getRotationAnchor()Returns the rotation anchor point.TextAnchorItemLabelPosition. getTextAnchor()Returns the text anchor.Constructors in org.jfree.chart.labels with parameters of type TextAnchor Constructor Description ItemLabelPosition(ItemLabelAnchor itemLabelAnchor, TextAnchor textAnchor)Creates a new position record (with zero rotation).ItemLabelPosition(ItemLabelAnchor itemLabelAnchor, TextAnchor textAnchor, TextAnchor rotationAnchor, double angle)Creates a new position record. -
Uses of TextAnchor in org.jfree.chart.plot
Methods in org.jfree.chart.plot that return TextAnchor Modifier and Type Method Description protected TextAnchorPolarPlot. calculateTextAnchor(double angleDegrees)Calculate the text position for the given degrees.TextAnchorMarker. getLabelTextAnchor()Returns the label text anchor.Methods in org.jfree.chart.plot with parameters of type TextAnchor Modifier and Type Method Description voidMarker. setLabelTextAnchor(TextAnchor anchor)Sets the label text anchor and sends aMarkerChangeEventto all registered listeners. -
Uses of TextAnchor in org.jfree.chart.plot.dial
Methods in org.jfree.chart.plot.dial that return TextAnchor Modifier and Type Method Description TextAnchorDialTextAnnotation. getAnchor()Returns the text anchor point that will be aligned to the position specified byDialTextAnnotation.getAngle()andDialTextAnnotation.getRadius().TextAnchorDialValueIndicator. getTextAnchor()Returns the text anchor.Methods in org.jfree.chart.plot.dial with parameters of type TextAnchor Modifier and Type Method Description voidDialTextAnnotation. setAnchor(TextAnchor anchor)Sets the text anchor point and sends aDialLayerChangeEventto all registered listeners.voidDialValueIndicator. setTextAnchor(TextAnchor anchor)Sets the text anchor and sends aDialLayerChangeEventto all registered listeners. -
Uses of TextAnchor in org.jfree.chart.text
Methods in org.jfree.chart.text with parameters of type TextAnchor Modifier and Type Method Description static Rectangle2DTextUtils. calcAlignedStringBounds(String text, Graphics2D g2, float x, float y, TextAnchor anchor)Returns the bounds of an aligned string.floatTextFragment. calculateBaselineOffset(Graphics2D g2, TextAnchor anchor)Calculates the vertical offset between the baseline and the specified text anchor.static ShapeTextUtils. calculateRotatedStringBounds(String text, Graphics2D g2, float x, float y, TextAnchor textAnchor, double angle, TextAnchor rotationAnchor)Returns a shape that represents the bounds of the string after the specified rotation has been applied.voidTextFragment. draw(Graphics2D g2, float anchorX, float anchorY, TextAnchor anchor, float rotateX, float rotateY, double angle)Draws the text fragment.voidTextLine. draw(Graphics2D g2, float anchorX, float anchorY, TextAnchor anchor, float rotateX, float rotateY, double angle)Draws the text line.static Rectangle2DTextUtils. drawAlignedString(String text, Graphics2D g2, float x, float y, TextAnchor anchor)Draws a string such that the specified anchor point is aligned to the given (x, y) location.static voidTextUtils. drawRotatedString(String text, Graphics2D g2, float x, float y, TextAnchor textAnchor, double angle, float rotationX, float rotationY)Draws a string that is aligned by one anchor point and rotated about another anchor point.static voidTextUtils. drawRotatedString(String text, Graphics2D g2, float x, float y, TextAnchor textAnchor, double angle, TextAnchor rotationAnchor)Draws a string that is aligned by one anchor point and rotated about another anchor point. -
Uses of TextAnchor in org.jfree.chart.ui
Fields in org.jfree.chart.ui declared as TextAnchor Modifier and Type Field Description static TextAnchorTextAnchor. BASELINE_CENTERBaseline/center.static TextAnchorTextAnchor. BASELINE_LEFTBaseline/left.static TextAnchorTextAnchor. BASELINE_RIGHTBaseline/right.static TextAnchorTextAnchor. BOTTOM_CENTERBottom/center.static TextAnchorTextAnchor. BOTTOM_LEFTBottom/left.static TextAnchorTextAnchor. BOTTOM_RIGHTBottom/right.static TextAnchorTextAnchor. CENTERMiddle/center.static TextAnchorTextAnchor. CENTER_LEFTMiddle/left.static TextAnchorTextAnchor. CENTER_RIGHTMiddle/right.static TextAnchorTextAnchor. HALF_ASCENT_CENTERHalf-ascent/center.static TextAnchorTextAnchor. HALF_ASCENT_LEFTHalf-ascent/left.static TextAnchorTextAnchor. HALF_ASCENT_RIGHTHalf-ascent/right.static TextAnchorTextAnchor. TOP_CENTERTop/center.static TextAnchorTextAnchor. TOP_LEFTTop/left.static TextAnchorTextAnchor. TOP_RIGHTTop/right. -
Uses of TextAnchor in org.jfree.chart.util
Methods in org.jfree.chart.util with parameters of type TextAnchor Modifier and Type Method Description static voidAttrStringUtils. drawRotatedString(AttributedString text, Graphics2D g2, float x, float y, TextAnchor textAnchor, double angle, float rotationX, float rotationY)Draws the string anchored to(x, y), rotated by the specified angle about(rotationX, rotationY).static voidAttrStringUtils. drawRotatedString(AttributedString text, Graphics2D g2, float x, float y, TextAnchor textAnchor, double angle, TextAnchor rotationAnchor)Draws a rotated string.