Uses of Enum Class
org.jfree.chart.ui.RectangleAnchor
Packages that use RectangleAnchor
Package
Description
Text-related classes formerly in the JCommon class library.
-
Uses of RectangleAnchor in org.jfree.chart.annotations
Methods in org.jfree.chart.annotations that return RectangleAnchorModifier and TypeMethodDescriptionXYImageAnnotation.getImageAnchor()
Returns the image anchor for the annotation.XYTitleAnnotation.getTitleAnchor()
Returns the title anchor for the annotation.Constructors in org.jfree.chart.annotations with parameters of type RectangleAnchorModifierConstructorDescriptionXYImageAnnotation
(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 RectangleAnchorModifier and TypeMethodDescriptionCategoryLabelPosition.getCategoryAnchor()
Returns the item label anchor.Constructors in org.jfree.chart.axis with parameters of type RectangleAnchorModifierConstructorDescriptionCategoryLabelPosition
(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 RectangleAnchorModifier and TypeMethodDescriptionLabelBlock.getTextAnchor()
Returns the text anchor (nevernull
).Methods in org.jfree.chart.block with parameters of type RectangleAnchorModifier and TypeMethodDescriptionvoid
LabelBlock.setTextAnchor
(RectangleAnchor anchor) Sets the text anchor. -
Uses of RectangleAnchor in org.jfree.chart.plot
Methods in org.jfree.chart.plot that return RectangleAnchorModifier and TypeMethodDescriptionCrosshair.getLabelAnchor()
Returns the label anchor point.Marker.getLabelAnchor()
Returns the label anchor.Methods in org.jfree.chart.plot with parameters of type RectangleAnchorModifier and TypeMethodDescriptionvoid
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 RectangleAnchorModifier and TypeMethodDescriptionDialValueIndicator.getFrameAnchor()
Returns the frame anchor.DialValueIndicator.getValueAnchor()
Returns the value anchor.Methods in org.jfree.chart.plot.dial with parameters of type RectangleAnchorModifier and TypeMethodDescriptionvoid
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 RectangleAnchorModifier and TypeMethodDescriptionprotected 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 RectangleAnchorModifier and TypeMethodDescriptionXYBlockRenderer.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 RectangleAnchorModifier and TypeMethodDescriptionprotected 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 RectangleAnchorModifier and TypeMethodDescriptionvoid
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 RectangleAnchorModifier and TypeMethodDescriptionLegendTitle.getLegendItemGraphicAnchor()
Returns the legend item graphic anchor.LegendTitle.getLegendItemGraphicLocation()
Returns the legend item graphic location.LegendGraphic.getShapeAnchor()
Returns the shape anchor.LegendGraphic.getShapeLocation()
Returns the shape location.Methods in org.jfree.chart.title with parameters of type RectangleAnchorModifier and TypeMethodDescriptionvoid
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 RectangleAnchorModifier and TypeMethodDescriptionstatic RectangleAnchor
Returns the enum constant of this class with the specified name.static RectangleAnchor[]
RectangleAnchor.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.jfree.chart.ui with parameters of type RectangleAnchorModifier and TypeMethodDescriptionstatic 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 RectangleAnchorModifier and TypeMethodDescriptionstatic 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.