Uses of Class
org.jfree.chart.ui.RectangleAnchor
-
Packages that use 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 theLegendTitleclass.org.jfree.chart.panel Classes related to theChartPanelclass.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 theCategoryPlotclass.org.jfree.chart.renderer.xy Plug-in renderers for theXYPlotclass.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
Fields in org.jfree.chart.annotations declared as RectangleAnchor Modifier and Type Field Description private RectangleAnchorXYImageAnnotation. anchorThe image anchor point.private RectangleAnchorXYTitleAnnotation. anchorThe title anchor point.Methods in org.jfree.chart.annotations that return RectangleAnchor Modifier and Type Method Description RectangleAnchorXYImageAnnotation. getImageAnchor()Returns the image anchor for the annotation.RectangleAnchorXYTitleAnnotation. 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, java.awt.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
Fields in org.jfree.chart.axis declared as RectangleAnchor Modifier and Type Field Description private RectangleAnchorCategoryLabelPosition. categoryAnchorThe category anchor point.Methods in org.jfree.chart.axis that return RectangleAnchor Modifier and Type Method Description RectangleAnchorCategoryLabelPosition. 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
Fields in org.jfree.chart.block declared as RectangleAnchor Modifier and Type Field Description private RectangleAnchorLabelBlock. textAnchorThe anchor point for the text.Methods in org.jfree.chart.block that return RectangleAnchor Modifier and Type Method Description RectangleAnchorLabelBlock. getTextAnchor()Returns the text anchor (nevernull).Methods in org.jfree.chart.block with parameters of type RectangleAnchor Modifier and Type Method Description voidLabelBlock. setTextAnchor(RectangleAnchor anchor)Sets the text anchor. -
Uses of RectangleAnchor in org.jfree.chart.panel
Methods in org.jfree.chart.panel that return RectangleAnchor Modifier and Type Method Description private RectangleAnchorCrosshairOverlay. flipAnchorH(RectangleAnchor anchor)private RectangleAnchorCrosshairOverlay. flipAnchorV(RectangleAnchor anchor)Methods in org.jfree.chart.panel with parameters of type RectangleAnchor Modifier and Type Method Description private java.awt.geom.Point2DCrosshairOverlay. calculateLabelPoint(java.awt.geom.Line2D line, RectangleAnchor anchor, double deltaX, double deltaY)Calculates the anchor point for a label.private RectangleAnchorCrosshairOverlay. flipAnchorH(RectangleAnchor anchor)private RectangleAnchorCrosshairOverlay. flipAnchorV(RectangleAnchor anchor)private TextAnchorCrosshairOverlay. textAlignPtForLabelAnchorH(RectangleAnchor anchor)Returns the text anchor that is used to align a label to its anchor point.private TextAnchorCrosshairOverlay. textAlignPtForLabelAnchorV(RectangleAnchor anchor)Returns the text anchor that is used to align a label to its anchor point. -
Uses of RectangleAnchor in org.jfree.chart.plot
Fields in org.jfree.chart.plot declared as RectangleAnchor Modifier and Type Field Description private RectangleAnchorCrosshair. labelAnchorThe label anchor.private RectangleAnchorMarker. labelAnchorThe label position.Methods in org.jfree.chart.plot that return RectangleAnchor Modifier and Type Method Description RectangleAnchorCrosshair. getLabelAnchor()Returns the label anchor point.RectangleAnchorMarker. getLabelAnchor()Returns the label anchor.Methods in org.jfree.chart.plot with parameters of type RectangleAnchor Modifier and Type Method Description voidCrosshair. setLabelAnchor(RectangleAnchor anchor)Sets the label anchor point and sends a property change event (with the name 'labelAnchor') to all registered listeners.voidMarker. setLabelAnchor(RectangleAnchor anchor)Sets the label anchor and sends aMarkerChangeEventto all registered listeners. -
Uses of RectangleAnchor in org.jfree.chart.plot.dial
Fields in org.jfree.chart.plot.dial declared as RectangleAnchor Modifier and Type Field Description private RectangleAnchorDialValueIndicator. frameAnchorThe frame anchor.private RectangleAnchorDialValueIndicator. valueAnchorThe value anchor.Methods in org.jfree.chart.plot.dial that return RectangleAnchor Modifier and Type Method Description RectangleAnchorDialValueIndicator. getFrameAnchor()Returns the frame anchor.RectangleAnchorDialValueIndicator. getValueAnchor()Returns the value anchor.Methods in org.jfree.chart.plot.dial with parameters of type RectangleAnchor Modifier and Type Method Description voidDialValueIndicator. setFrameAnchor(RectangleAnchor anchor)Sets the frame anchor and sends aDialLayerChangeEventto all registered listeners.voidDialValueIndicator. setValueAnchor(RectangleAnchor anchor)Sets the value anchor and sends aDialLayerChangeEventto 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 java.awt.geom.Point2DAbstractCategoryItemRenderer. calculateDomainMarkerTextAnchorPoint(java.awt.Graphics2D g2, PlotOrientation orientation, java.awt.geom.Rectangle2D dataArea, java.awt.geom.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 java.awt.geom.Point2DAbstractCategoryItemRenderer. calculateRangeMarkerTextAnchorPoint(java.awt.Graphics2D g2, PlotOrientation orientation, java.awt.geom.Rectangle2D dataArea, java.awt.geom.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
Fields in org.jfree.chart.renderer.xy declared as RectangleAnchor Modifier and Type Field Description private RectangleAnchorXYBlockRenderer. blockAnchorThe anchor point used to align each block to its (x, y) location.Methods in org.jfree.chart.renderer.xy that return RectangleAnchor Modifier and Type Method Description RectangleAnchorXYBlockRenderer. 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 java.awt.geom.Point2DAbstractXYItemRenderer. calculateDomainMarkerTextAnchorPoint(java.awt.Graphics2D g2, PlotOrientation orientation, java.awt.geom.Rectangle2D dataArea, java.awt.geom.Rectangle2D markerArea, RectangleInsets markerOffset, LengthAdjustmentType labelOffsetType, RectangleAnchor anchor)Calculates the(x, y)coordinates for drawing a marker label.private java.awt.geom.Point2DAbstractXYItemRenderer. calculateRangeMarkerTextAnchorPoint(java.awt.Graphics2D g2, PlotOrientation orientation, java.awt.geom.Rectangle2D dataArea, java.awt.geom.Rectangle2D markerArea, RectangleInsets markerOffset, LengthAdjustmentType labelOffsetForRange, RectangleAnchor anchor)Calculates the (x, y) coordinates for drawing a marker label.voidXYBlockRenderer. setBlockAnchor(RectangleAnchor anchor)Sets the anchor point used to align a block at its (x, y) location and sends aRendererChangeEventto 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 voidTextBox. draw(java.awt.Graphics2D g2, float x, float y, RectangleAnchor anchor)Draws the text box. -
Uses of RectangleAnchor in org.jfree.chart.title
Fields in org.jfree.chart.title declared as RectangleAnchor Modifier and Type Field Description private RectangleAnchorLegendTitle. legendItemGraphicAnchorThe anchor point for the legend item graphic.private RectangleAnchorLegendTitle. legendItemGraphicLocationThe legend item graphic location.private RectangleAnchorLegendGraphic. shapeAnchorDefines the point on the shape's bounding rectangle that will be aligned to the drawing location when the shape is rendered.private RectangleAnchorLegendGraphic. shapeLocationDefines the location within the block to which the shape will be aligned.Methods in org.jfree.chart.title that return RectangleAnchor Modifier and Type Method Description RectangleAnchorLegendTitle. getLegendItemGraphicAnchor()Returns the legend item graphic anchor.RectangleAnchorLegendTitle. getLegendItemGraphicLocation()Returns the legend item graphic location.RectangleAnchorLegendGraphic. getShapeAnchor()Returns the shape anchor.RectangleAnchorLegendGraphic. getShapeLocation()Returns the shape location.Methods in org.jfree.chart.title with parameters of type RectangleAnchor Modifier and Type Method Description voidLegendTitle. setLegendItemGraphicAnchor(RectangleAnchor anchor)Sets the anchor point used for the graphic in each legend item.voidLegendTitle. setLegendItemGraphicLocation(RectangleAnchor anchor)Sets the legend item graphic location.voidLegendGraphic. setShapeAnchor(RectangleAnchor anchor)Sets the shape anchor.voidLegendGraphic. 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 RectangleAnchorRectangleAnchor. valueOf(java.lang.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 java.awt.geom.Rectangle2DRectangleAnchor. 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 java.awt.ShapeShapeUtils. createTranslatedShape(java.awt.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.
-