## Uses of Class
org.jfree.ui.RectangleEdge

- Packages that use RectangleEdge
  Package | Description
  --- | ---
  org.jfree.chart.axis |
  org.jfree.chart.plot |
  org.jfree.chart.title |
  org.jfree.ui |

- - ### Uses of RectangleEdge in org.jfree.chart.axis

    Methods in org.jfree.chart.axis with parameters of type RectangleEdge
    Modifier and Type | Method and Description
    --- | ---
    `void` | AxisCollection.`add(Axis axis, RectangleEdge edge)` Adds an axis to the collection.
    `void` | AxisSpace.`add(double space, RectangleEdge edge)` Adds space to the top, bottom, left or right edge of the plot area.
    `protected float[]` | ValueAxis.`calculateAnchorPoint(ValueTick tick, double cursor, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Calculates the anchor point for a tick label.
    `protected void` | Axis.`createAndAddEntity(double cursor, AxisState state, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState)` Created an entity for the axis.
    `AxisState` | PeriodAxis.`draw(java.awt.Graphics2D g2, double cursor, java.awt.geom.Rectangle2D plotArea, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState)` Draws the axis on a Java 2D graphics device (such as the screen or a printer).
    `AxisState` | SymbolAxis.`draw(java.awt.Graphics2D g2, double cursor, java.awt.geom.Rectangle2D plotArea, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState)` Draws the axis on a Java 2D graphics device (such as the screen or a printer).
    `AxisState` | NumberAxis.`draw(java.awt.Graphics2D g2, double cursor, java.awt.geom.Rectangle2D plotArea, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState)` Draws the axis on a Java 2D graphics device (such as the screen or a printer).
    `AxisState` | LogAxis.`draw(java.awt.Graphics2D g2, double cursor, java.awt.geom.Rectangle2D plotArea, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState)` Draws the axis on a Java 2D graphics device (such as the screen or a printer).
    `abstract AxisState` | Axis.`draw(java.awt.Graphics2D g2, double cursor, java.awt.geom.Rectangle2D plotArea, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState)` Draws the axis on a Java 2D graphics device (such as the screen or a printer).
    `protected AxisState` | Axis.`drawAttributedLabel(java.text.AttributedString label, java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge, AxisState state)` Draws the axis label.
    `protected void` | ValueAxis.`drawAxisLine(java.awt.Graphics2D g2, double cursor, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Draws an axis line at the current cursor position and edge.
    `protected void` | Axis.`drawAxisLine(java.awt.Graphics2D g2, double cursor, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Draws an axis line at the current cursor position and edge.
    `protected void` | SymbolAxis.`drawGridBands(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge, java.util.List ticks)` Draws the grid bands.
    `protected AxisState` | Axis.`drawLabel(java.lang.String label, java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge, AxisState state)` Draws the axis label.
    `protected AxisState` | PeriodAxis.`drawTickLabels(int band, java.awt.Graphics2D g2, AxisState state, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Draws the tick labels for one "band" of time periods.
    `protected void` | PeriodAxis.`drawTickMarks(java.awt.Graphics2D g2, AxisState state, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Draws the tick marks for the axis.
    `protected AxisState` | ValueAxis.`drawTickMarksAndLabels(java.awt.Graphics2D g2, double cursor, java.awt.geom.Rectangle2D plotArea, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Draws the axis line, tick marks and tick mark labels.
    `protected void` | PeriodAxis.`drawTickMarksHorizontal(java.awt.Graphics2D g2, AxisState state, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Draws the major and minor tick marks for an axis that lies at the top or bottom of the plot.
    `protected void` | PeriodAxis.`drawTickMarksVertical(java.awt.Graphics2D g2, AxisState state, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Draws the tick marks for a vertical axis.
    `void` | AxisSpace.`ensureAtLeast(double space, RectangleEdge edge)` Ensures there is a minimum amount of space at the edge corresponding to the specified axis location.
    `double` | LogAxis.`exponentLengthToJava2D(double length, java.awt.geom.Rectangle2D area, RectangleEdge edge)` Converts a length in data coordinates into the corresponding length in Java2D coordinates.
    `protected java.awt.geom.Rectangle2D` | Axis.`getLabelEnclosure(java.awt.Graphics2D g2, RectangleEdge edge)` Returns a rectangle that encloses the axis label.
    `double` | PeriodAxis.`java2DToValue(double java2DValue, java.awt.geom.Rectangle2D area, RectangleEdge edge)` Converts a coordinate in Java2D space to the corresponding data value, assuming that the axis runs along one edge of the specified dataArea.
    `abstract double` | ValueAxis.`java2DToValue(double java2DValue, java.awt.geom.Rectangle2D area, RectangleEdge edge)` Converts a coordinate in Java2D space to the corresponding data value, assuming that the axis runs along one edge of the specified dataArea.
    `double` | NumberAxis.`java2DToValue(double java2DValue, java.awt.geom.Rectangle2D area, RectangleEdge edge)` Converts a coordinate in Java2D space to the corresponding data value, assuming that the axis runs along one edge of the specified dataArea.
    `double` | LogAxis.`java2DToValue(double java2DValue, java.awt.geom.Rectangle2D area, RectangleEdge edge)` Converts a Java2D coordinate to an axis value, assuming that the axis is aligned to the specified `edge` of the `area`.
    `double` | ValueAxis.`lengthToJava2D(double length, java.awt.geom.Rectangle2D area, RectangleEdge edge)` Converts a length in data coordinates into the corresponding length in Java2D coordinates.
    `void` | AxisState.`moveCursor(double units, RectangleEdge edge)` Moves the cursor outwards by the specified number of units.
    `java.util.List` | PeriodAxis.`refreshTicks(java.awt.Graphics2D g2, AxisState state, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Calculates the positions of the ticks for the axis, storing the results in the tick list (ready for drawing).
    `java.util.List` | SymbolAxis.`refreshTicks(java.awt.Graphics2D g2, AxisState state, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Calculates the positions of the tick labels for the axis, storing the results in the tick label list (ready for drawing).
    `java.util.List` | NumberAxis.`refreshTicks(java.awt.Graphics2D g2, AxisState state, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Calculates the positions of the tick labels for the axis, storing the results in the tick label list (ready for drawing).
    `java.util.List` | LogAxis.`refreshTicks(java.awt.Graphics2D g2, AxisState state, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Calculates the positions of the tick labels for the axis, storing the results in the tick label list (ready for drawing).
    `abstract java.util.List` | Axis.`refreshTicks(java.awt.Graphics2D g2, AxisState state, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Calculates the positions of the ticks for the axis, storing the results in the tick list (ready for drawing).
    `protected java.util.List` | SymbolAxis.`refreshTicksHorizontal(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Calculates the positions of the tick labels for the axis, storing the results in the tick label list (ready for drawing).
    `protected java.util.List` | NumberAxis.`refreshTicksHorizontal(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Calculates the positions of the tick labels for the axis, storing the results in the tick label list (ready for drawing).
    `protected java.util.List` | LogAxis.`refreshTicksHorizontal(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Returns a list of ticks for an axis at the top or bottom of the chart.
    `protected java.util.List` | SymbolAxis.`refreshTicksVertical(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Calculates the positions of the tick labels for the axis, storing the results in the tick label list (ready for drawing).
    `protected java.util.List` | NumberAxis.`refreshTicksVertical(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Calculates the positions of the tick labels for the axis, storing the results in the tick label list (ready for drawing).
    `protected java.util.List` | LogAxis.`refreshTicksVertical(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Returns a list of ticks for an axis at the left or right of the chart.
    `java.awt.geom.Rectangle2D` | AxisSpace.`reserved(java.awt.geom.Rectangle2D area, RectangleEdge edge)` Calculates the reserved area.
    `AxisSpace` | PeriodAxis.`reserveSpace(java.awt.Graphics2D g2, Plot plot, java.awt.geom.Rectangle2D plotArea, RectangleEdge edge, AxisSpace space)` Estimates the space (height or width) required to draw the axis.
    `AxisSpace` | ValueAxis.`reserveSpace(java.awt.Graphics2D g2, Plot plot, java.awt.geom.Rectangle2D plotArea, RectangleEdge edge, AxisSpace space)` Returns the space required to draw the axis.
    `abstract AxisSpace` | Axis.`reserveSpace(java.awt.Graphics2D g2, Plot plot, java.awt.geom.Rectangle2D plotArea, RectangleEdge edge, AxisSpace space)` Estimates the space (height or width) required to draw the axis.
    `protected void` | SymbolAxis.`selectAutoTickUnit(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` This operation is not supported by this axis.
    `protected void` | NumberAxis.`selectAutoTickUnit(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Selects an appropriate tick value for the axis.
    `protected void` | LogAxis.`selectAutoTickUnit(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Selects an appropriate tick value for the axis.
    `protected void` | NumberAxis.`selectHorizontalAutoTickUnit(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Selects an appropriate tick value for the axis.
    `protected void` | LogAxis.`selectHorizontalAutoTickUnit(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Selects an appropriate tick value for the axis.
    `protected void` | NumberAxis.`selectVerticalAutoTickUnit(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Selects an appropriate tick value for the axis.
    `protected void` | LogAxis.`selectVerticalAutoTickUnit(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge)` Selects an appropriate tick value for the axis.
    `double` | PeriodAxis.`valueToJava2D(double value, java.awt.geom.Rectangle2D area, RectangleEdge edge)` Converts a data value to a coordinate in Java2D space, assuming that the axis runs along one edge of the specified dataArea.
    `abstract double` | ValueAxis.`valueToJava2D(double value, java.awt.geom.Rectangle2D area, RectangleEdge edge)` Converts a data value to a coordinate in Java2D space, assuming that the axis runs along one edge of the specified dataArea.
    `double` | NumberAxis.`valueToJava2D(double value, java.awt.geom.Rectangle2D area, RectangleEdge edge)` Converts a data value to a coordinate in Java2D space, assuming that the axis runs along one edge of the specified dataArea.
    `double` | LogAxis.`valueToJava2D(double value, java.awt.geom.Rectangle2D area, RectangleEdge edge)` Converts a value on the axis scale to a Java2D coordinate relative to the given `area`, based on the axis running along the specified `edge`.

  - ### Uses of RectangleEdge in org.jfree.chart.plot

    Methods in org.jfree.chart.plot that return RectangleEdge
    Modifier and Type | Method and Description
    --- | ---
    `RectangleEdge` | XYPlot.`getDomainAxisEdge()` Returns the edge for the primary domain axis (taking into account the plot's orientation).
    `RectangleEdge` | XYPlot.`getDomainAxisEdge(int index)` Returns the edge for a domain axis.
    `RectangleEdge` | XYPlot.`getRangeAxisEdge()` Returns the edge for the primary range axis.
    `RectangleEdge` | XYPlot.`getRangeAxisEdge(int index)` Returns the edge for a range axis.
    `static RectangleEdge` | Plot.`resolveDomainAxisLocation(AxisLocation location, PlotOrientation orientation)` Resolves a domain axis location for a given plot orientation.
    `static RectangleEdge` | Plot.`resolveRangeAxisLocation(AxisLocation location, PlotOrientation orientation)` Resolves a range axis location for a given plot orientation.

    Methods in org.jfree.chart.plot with parameters of type RectangleEdge
    Modifier and Type | Method and Description
    --- | ---
    `protected double` | Plot.`getRectX(double x, double w1, double w2, RectangleEdge edge)` Adjusts the supplied x-value.
    `protected double` | Plot.`getRectY(double y, double h1, double h2, RectangleEdge edge)` Adjusts the supplied y-value.

  - ### Uses of RectangleEdge in org.jfree.chart.title

    Fields in org.jfree.chart.title declared as RectangleEdge
    Modifier and Type | Field and Description
    --- | ---
    `static RectangleEdge` | Title.`DEFAULT_POSITION` The default title position.

    Methods in org.jfree.chart.title that return RectangleEdge
    Modifier and Type | Method and Description
    --- | ---
    `RectangleEdge` | LegendTitle.`getLegendItemGraphicEdge()` Returns the location of the shape within each legend item.
    `RectangleEdge` | Title.`getPosition()` Returns the position of the title.

    Methods in org.jfree.chart.title with parameters of type RectangleEdge
    Modifier and Type | Method and Description
    --- | ---
    `void` | LegendTitle.`setLegendItemGraphicEdge(RectangleEdge edge)` Sets the location of the shape within each legend item.
    `void` | Title.`setPosition(RectangleEdge position)` Sets the position for the title and sends a `TitleChangeEvent` to all registered listeners.

    Constructors in org.jfree.chart.title with parameters of type RectangleEdge
    Constructor and Description
    `TextTitle(java.lang.String text, java.awt.Font font, java.awt.Paint paint, RectangleEdge position, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, RectangleInsets padding)` Creates a new title.
    `Title(RectangleEdge position, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment)` Creates a new title, using default attributes where necessary.
    `Title(RectangleEdge position, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, RectangleInsets padding)` Creates a new title.

  - ### Uses of RectangleEdge in org.jfree.ui

    Fields in org.jfree.ui declared as RectangleEdge
    Modifier and Type | Field and Description
    --- | ---
    `static RectangleEdge` | RectangleEdge.`BOTTOM` Bottom.
    `static RectangleEdge` | RectangleEdge.`LEFT` Left.
    `static RectangleEdge` | RectangleEdge.`RIGHT` Right.
    `static RectangleEdge` | RectangleEdge.`TOP` Top.

    Methods in org.jfree.ui that return RectangleEdge
    Modifier and Type | Method and Description
    --- | ---
    `static RectangleEdge` | RectangleEdge.`opposite(RectangleEdge edge)` Returns the opposite edge.

    Methods in org.jfree.ui with parameters of type RectangleEdge
    Modifier and Type | Method and Description
    --- | ---
    `static double` | RectangleEdge.`coordinate(java.awt.geom.Rectangle2D rectangle, RectangleEdge edge)` Returns the x or y coordinate of the specified edge.
    `static boolean` | RectangleEdge.`isLeftOrRight(RectangleEdge edge)` Returns `true` if the edge is `LEFT` or `RIGHT`, and `false` otherwise.
    `static boolean` | RectangleEdge.`isTopOrBottom(RectangleEdge edge)` Returns `true` if the edge is `TOP` or `BOTTOM`, and `false` otherwise.
    `static RectangleEdge` | RectangleEdge.`opposite(RectangleEdge edge)` Returns the opposite edge.