Uses of Class
org.jfree.chart.ui.RectangleAnchor
Package | Description |
---|---|
org.jfree.chart.annotations |
A framework for adding annotations to charts.
|
org.jfree.chart.axis |
Axis classes and interfaces.
|
org.jfree.chart.block |
Blocks and layout classes used extensively by the
LegendTitle class. |
org.jfree.chart.plot |
Plot classes and related interfaces.
|
org.jfree.chart.plot.dial |
Classes for creating dial plots.
|
org.jfree.chart.renderer.category |
Plug-in renderers for the
CategoryPlot class. |
org.jfree.chart.renderer.xy |
Plug-in renderers for the
XYPlot 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.
|
org.jfree.chart.ui |
Utility classes that relate to user interface items.
|
org.jfree.chart.util |
Utility classes used by JFreeChart.
|
-
Uses of RectangleAnchor in org.jfree.chart.annotations
Methods in org.jfree.chart.annotations that return RectangleAnchor Modifier and Type Method Description RectangleAnchor
XYImageAnnotation. getImageAnchor()
Returns the image anchor for the annotation.RectangleAnchor
XYTitleAnnotation. getTitleAnchor()
Returns the title anchor for the annotation.Constructors in org.jfree.chart.annotations with parameters of type RectangleAnchor Constructor Description XYImageAnnotation(double x, double y, Image image, RectangleAnchor anchor)
Creates a new annotation to be displayed at the specified (x, y) location.XYTitleAnnotation(double x, double y, Title title, RectangleAnchor anchor)
Creates a new annotation to be displayed at the specified (x, y) location. -
Uses of RectangleAnchor in org.jfree.chart.axis
Methods in org.jfree.chart.axis that return RectangleAnchor Modifier and Type Method Description RectangleAnchor
CategoryLabelPosition. getCategoryAnchor()
Returns the item label anchor.Constructors in org.jfree.chart.axis with parameters of type RectangleAnchor Constructor Description CategoryLabelPosition(RectangleAnchor categoryAnchor, TextBlockAnchor labelAnchor)
Creates a new category label position record.CategoryLabelPosition(RectangleAnchor categoryAnchor, TextBlockAnchor labelAnchor, CategoryLabelWidthType widthType, float widthRatio)
Creates a new category label position record.CategoryLabelPosition(RectangleAnchor categoryAnchor, TextBlockAnchor labelAnchor, TextAnchor rotationAnchor, double angle, CategoryLabelWidthType widthType, float widthRatio)
Creates a new position record. -
Uses of RectangleAnchor in org.jfree.chart.block
Methods in org.jfree.chart.block that return RectangleAnchor Modifier and Type Method Description RectangleAnchor
LabelBlock. getTextAnchor()
Returns the text anchor (nevernull
).Methods in org.jfree.chart.block with parameters of type RectangleAnchor Modifier and Type Method Description void
LabelBlock. setTextAnchor(RectangleAnchor anchor)
Sets the text anchor. -
Uses of RectangleAnchor in org.jfree.chart.plot
Methods in org.jfree.chart.plot that return RectangleAnchor Modifier and Type Method Description RectangleAnchor
Crosshair. getLabelAnchor()
Returns the label anchor point.RectangleAnchor
Marker. getLabelAnchor()
Returns the label anchor.Methods in org.jfree.chart.plot with parameters of type RectangleAnchor Modifier and Type Method Description void
Crosshair. setLabelAnchor(RectangleAnchor anchor)
Sets the label anchor point and sends a property change event (with the name 'labelAnchor') to all registered listeners.void
Marker. setLabelAnchor(RectangleAnchor anchor)
Sets the label anchor and sends aMarkerChangeEvent
to all registered listeners. -
Uses of RectangleAnchor in org.jfree.chart.plot.dial
Methods in org.jfree.chart.plot.dial that return RectangleAnchor Modifier and Type Method Description RectangleAnchor
DialValueIndicator. getFrameAnchor()
Returns the frame anchor.RectangleAnchor
DialValueIndicator. getValueAnchor()
Returns the value anchor.Methods in org.jfree.chart.plot.dial with parameters of type RectangleAnchor Modifier and Type Method Description void
DialValueIndicator. setFrameAnchor(RectangleAnchor anchor)
Sets the frame anchor and sends aDialLayerChangeEvent
to all registered listeners.void
DialValueIndicator. setValueAnchor(RectangleAnchor anchor)
Sets the value anchor and sends aDialLayerChangeEvent
to all registered listeners. -
Uses of RectangleAnchor in org.jfree.chart.renderer.category
Methods in org.jfree.chart.renderer.category with parameters of type RectangleAnchor Modifier and Type Method Description protected Point2D
AbstractCategoryItemRenderer. calculateDomainMarkerTextAnchorPoint(Graphics2D g2, PlotOrientation orientation, Rectangle2D dataArea, Rectangle2D markerArea, RectangleInsets markerOffset, LengthAdjustmentType labelOffsetType, RectangleAnchor anchor)
Calculates the(x, y)
coordinates for drawing the label for a marker on the range axis.protected Point2D
AbstractCategoryItemRenderer. calculateRangeMarkerTextAnchorPoint(Graphics2D g2, PlotOrientation orientation, Rectangle2D dataArea, Rectangle2D markerArea, RectangleInsets markerOffset, LengthAdjustmentType labelOffsetType, RectangleAnchor anchor)
Calculates the (x, y) coordinates for drawing a marker label. -
Uses of RectangleAnchor in org.jfree.chart.renderer.xy
Methods in org.jfree.chart.renderer.xy that return RectangleAnchor Modifier and Type Method Description RectangleAnchor
XYBlockRenderer. getBlockAnchor()
Returns the anchor point used to align a block at its (x, y) location.Methods in org.jfree.chart.renderer.xy with parameters of type RectangleAnchor Modifier and Type Method Description protected Point2D
AbstractXYItemRenderer. calculateDomainMarkerTextAnchorPoint(Graphics2D g2, PlotOrientation orientation, Rectangle2D dataArea, Rectangle2D markerArea, RectangleInsets markerOffset, LengthAdjustmentType labelOffsetType, RectangleAnchor anchor)
Calculates the(x, y)
coordinates for drawing a marker label.void
XYBlockRenderer. setBlockAnchor(RectangleAnchor anchor)
Sets the anchor point used to align a block at its (x, y) location and sends aRendererChangeEvent
to all registered listeners. -
Uses of RectangleAnchor in org.jfree.chart.text
Methods in org.jfree.chart.text with parameters of type RectangleAnchor Modifier and Type Method Description void
TextBox. draw(Graphics2D g2, float x, float y, RectangleAnchor anchor)
Draws the text box. -
Uses of RectangleAnchor in org.jfree.chart.title
Methods in org.jfree.chart.title that return RectangleAnchor Modifier and Type Method Description RectangleAnchor
LegendTitle. getLegendItemGraphicAnchor()
Returns the legend item graphic anchor.RectangleAnchor
LegendTitle. getLegendItemGraphicLocation()
Returns the legend item graphic location.RectangleAnchor
LegendGraphic. getShapeAnchor()
Returns the shape anchor.RectangleAnchor
LegendGraphic. getShapeLocation()
Returns the shape location.Methods in org.jfree.chart.title with parameters of type RectangleAnchor Modifier and Type Method Description void
LegendTitle. setLegendItemGraphicAnchor(RectangleAnchor anchor)
Sets the anchor point used for the graphic in each legend item.void
LegendTitle. setLegendItemGraphicLocation(RectangleAnchor anchor)
Sets the legend item graphic location.void
LegendGraphic. setShapeAnchor(RectangleAnchor anchor)
Sets the shape anchor.void
LegendGraphic. setShapeLocation(RectangleAnchor location)
Sets the shape location. -
Uses of RectangleAnchor in org.jfree.chart.ui
Methods in org.jfree.chart.ui that return RectangleAnchor Modifier and Type Method Description static RectangleAnchor
RectangleAnchor. valueOf(String name)
Returns the enum constant of this type with the specified name.static RectangleAnchor[]
RectangleAnchor. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.jfree.chart.ui with parameters of type RectangleAnchor Modifier and Type Method Description static Rectangle2D
RectangleAnchor. createRectangle(Size2D dimensions, double anchorX, double anchorY, RectangleAnchor anchor)
Creates a new rectangle with the specified dimensions that is aligned to the given anchor point(anchorX, anchorY)
. -
Uses of RectangleAnchor in org.jfree.chart.util
Methods in org.jfree.chart.util with parameters of type RectangleAnchor Modifier and Type Method Description static Shape
ShapeUtils. createTranslatedShape(Shape shape, RectangleAnchor anchor, double locationX, double locationY)
Translates a shape to a new location such that the anchor point (relative to the rectangular bounds of the shape) aligns with the specified (x, y) coordinate in Java2D space.