Uses of Class
org.jfree.chart.ui.RectangleEdge
Package
Description
Axis classes and interfaces.
Plot classes and related interfaces.
Plug-in renderers for the
CategoryPlot
class.Plug-in renderers for the
XYPlot
class.Classes used to display chart titles and subtitles.
Utility classes that relate to user interface items.
-
Uses of RectangleEdge in org.jfree.chart.axis
Modifier and TypeMethodDescriptionvoid
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[]
CyclicNumberAxis.calculateAnchorPoint
(ValueTick tick, double cursor, Rectangle2D dataArea, RectangleEdge edge) Calculates the anchor point for a tick.protected float[]
ValueAxis.calculateAnchorPoint
(ValueTick tick, double cursor, Rectangle2D dataArea, RectangleEdge edge) Calculates the anchor point for a tick label.protected double
CategoryAxis.calculateCategoryGapSize
(int categoryCount, Rectangle2D area, RectangleEdge edge) Calculates the size (width or height, depending on the location of the axis) of a category gap.protected double
CategoryAxis.calculateCategorySize
(int categoryCount, Rectangle2D area, RectangleEdge edge) Calculates the size (width or height, depending on the location of the axis) of a category.protected void
Axis.createAndAddEntity
(double cursor, AxisState state, Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState) Creates an entity for the axis and adds it to the rendering info.protected TextBlock
CategoryAxis.createLabel
(Comparable category, float width, RectangleEdge edge, Graphics2D g2) Creates a label.protected TextBlock
ExtendedCategoryAxis.createLabel
(Comparable category, float width, RectangleEdge edge, Graphics2D g2) Overrides the default behaviour by adding the sublabel to the text block that is used for the category label.double
DateAxis.dateToJava2D
(Date date, Rectangle2D area, RectangleEdge edge) Translates a date to Java2D coordinates, based on the range displayed by this axis for the specified data area.abstract AxisState
Axis.draw
(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState) Draws the axis on a Java 2D graphics device (such as the screen or a printer).CategoryAxis.draw
(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState) Draws the axis on a Java 2D graphics device (such as the screen or a printer).CyclicNumberAxis.draw
(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState) Draws the axis.DateAxis.draw
(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState) Draws the axis on a Java 2D graphics device (such as the screen or a printer).LogAxis.draw
(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState) Draws the axis on a Java 2D graphics device (such as the screen or a printer).NumberAxis.draw
(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState) Draws the axis on a Java 2D graphics device (such as the screen or a printer).PeriodAxis.draw
(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState) Draws the axis on a Java 2D graphics device (such as the screen or a printer).SubCategoryAxis.draw
(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState) Draws the axis on a Java 2D graphics device (such as the screen or a printer).SymbolAxis.draw
(Graphics2D g2, double cursor, Rectangle2D plotArea, 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
(AttributedString label, Graphics2D g2, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, AxisState state) Draws the axis label.protected void
Axis.drawAxisLine
(Graphics2D g2, double cursor, Rectangle2D dataArea, RectangleEdge edge) Draws an axis line at the current cursor position and edge.protected void
ValueAxis.drawAxisLine
(Graphics2D g2, double cursor, Rectangle2D dataArea, RectangleEdge edge) Draws an axis line at the current cursor position and edge.protected AxisState
CategoryAxis.drawCategoryLabels
(Graphics2D g2, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, AxisState state, PlotRenderingInfo plotState) Draws the category labels and returns the updated axis state.protected void
SymbolAxis.drawGridBands
(Graphics2D g2, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, List ticks) Draws the grid bands (alternate bands are colored usingSymbolAxis.getGridBandPaint()
andSymbolAxis.getGridBandAlternatePaint()
.protected AxisState
Axis.drawLabel
(String label, Graphics2D g2, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, AxisState state) Draws the axis label.protected AxisState
SubCategoryAxis.drawSubCategoryLabels
(Graphics2D g2, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, AxisState state, PlotRenderingInfo plotState) Draws the category labels and returns the updated axis state.protected AxisState
PeriodAxis.drawTickLabels
(int band, Graphics2D g2, AxisState state, Rectangle2D dataArea, RectangleEdge edge) Draws the tick labels for one "band" of time periods.void
CategoryAxis.drawTickMarks
(Graphics2D g2, double cursor, Rectangle2D dataArea, RectangleEdge edge, AxisState state) Draws the tick marks.protected void
PeriodAxis.drawTickMarks
(Graphics2D g2, AxisState state, Rectangle2D dataArea, RectangleEdge edge) Draws the tick marks for the axis.protected AxisState
CyclicNumberAxis.drawTickMarksAndLabels
(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge) Draws the tick marks and labels.protected AxisState
ValueAxis.drawTickMarksAndLabels
(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge) Draws the axis line, tick marks and tick mark labels.protected void
PeriodAxis.drawTickMarksHorizontal
(Graphics2D g2, AxisState state, 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
(Graphics2D g2, AxisState state, 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, Rectangle2D area, RectangleEdge edge) Converts a length in data coordinates into the corresponding length in Java2D coordinates.double
CategoryAxis.getCategoryEnd
(int category, int categoryCount, Rectangle2D area, RectangleEdge edge) Returns the end coordinate for the specified category.double
CategoryAxis.getCategoryJava2DCoordinate
(CategoryAnchor anchor, int category, int categoryCount, Rectangle2D area, RectangleEdge edge) Returns the Java 2D coordinate for a category.double
CategoryAxis.getCategoryMiddle
(int category, int categoryCount, Rectangle2D area, RectangleEdge edge) Returns the middle coordinate for the specified category.double
CategoryAxis.getCategoryMiddle
(Comparable category, List categories, Rectangle2D area, RectangleEdge edge) A convenience method that returns the axis coordinate for the centre of a category.double
CategoryAxis.getCategorySeriesMiddle
(int categoryIndex, int categoryCount, int seriesIndex, int seriesCount, double itemMargin, Rectangle2D area, RectangleEdge edge) Returns the middle coordinate (in Java2D space) for a series within a category.double
CategoryAxis.getCategorySeriesMiddle
(Comparable category, Comparable seriesKey, CategoryDataset dataset, double itemMargin, Rectangle2D area, RectangleEdge edge) Returns the middle coordinate (in Java2D space) for a series within a category.double
CategoryAxis.getCategoryStart
(int category, int categoryCount, Rectangle2D area, RectangleEdge edge) Returns the starting coordinate for the specified category.protected Rectangle2D
Axis.getLabelEnclosure
(Graphics2D g2, RectangleEdge edge) Returns a rectangle that encloses the axis label.CategoryLabelPositions.getLabelPosition
(RectangleEdge edge) Returns the category label position specification for an axis at the given location.double
CyclicNumberAxis.java2DToValue
(double java2DValue, Rectangle2D dataArea, RectangleEdge edge) Converts a coordinate from Java 2D space to data space.double
DateAxis.java2DToValue
(double java2DValue, Rectangle2D area, RectangleEdge edge) Translates a Java2D coordinate into the corresponding data value.double
LogarithmicAxis.java2DToValue
(double java2DValue, Rectangle2D plotArea, RectangleEdge edge) Converts a coordinate in Java2D space to the corresponding data value, assuming that the axis runs along one edge of the specified plotArea.double
LogAxis.java2DToValue
(double java2DValue, Rectangle2D area, RectangleEdge edge) Converts a Java2D coordinate to an axis value, assuming that the axis is aligned to the specifiededge
of thearea
.double
ModuloAxis.java2DToValue
(double java2DValue, Rectangle2D area, RectangleEdge edge) Translates a Java2D coordinate into a data value.double
NumberAxis.java2DToValue
(double java2DValue, 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
PeriodAxis.java2DToValue
(double java2DValue, 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, 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
ModuloAxis.lengthToJava2D
(double length, Rectangle2D area, RectangleEdge edge) Converts a length in data coordinates into the corresponding length in Java2D coordinates.double
ValueAxis.lengthToJava2D
(double length, 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.abstract List
Axis.refreshTicks
(Graphics2D g2, AxisState state, Rectangle2D dataArea, RectangleEdge edge) Calculates the positions of the ticks for the axis, storing the results in the tick list (ready for drawing).CategoryAxis.refreshTicks
(Graphics2D g2, AxisState state, Rectangle2D dataArea, RectangleEdge edge) Creates a temporary list of ticks that can be used when drawing the axis.DateAxis.refreshTicks
(Graphics2D g2, AxisState state, 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).LogAxis.refreshTicks
(Graphics2D g2, AxisState state, 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).NumberAxis.refreshTicks
(Graphics2D g2, AxisState state, 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).PeriodAxis.refreshTicks
(Graphics2D g2, AxisState state, Rectangle2D dataArea, RectangleEdge edge) Calculates the positions of the ticks for the axis, storing the results in the tick list (ready for drawing).SymbolAxis.refreshTicks
(Graphics2D g2, AxisState state, 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 List
CyclicNumberAxis.refreshTicksHorizontal
(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge) Builds a list of ticks for the axis.protected List
DateAxis.refreshTicksHorizontal
(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge) Recalculates the ticks for the date axis.protected List
LogarithmicAxis.refreshTicksHorizontal
(Graphics2D g2, 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 List
LogAxis.refreshTicksHorizontal
(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge) Returns a list of ticks for an axis at the top or bottom of the chart.protected List
NumberAxis.refreshTicksHorizontal
(Graphics2D g2, 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 List
SymbolAxis.refreshTicksHorizontal
(Graphics2D g2, 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 List
DateAxis.refreshTicksVertical
(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge) Recalculates the ticks for the date axis.protected List
LogarithmicAxis.refreshTicksVertical
(Graphics2D g2, 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 List
LogAxis.refreshTicksVertical
(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge) Returns a list of ticks for an axis at the left or right of the chart.protected List
NumberAxis.refreshTicksVertical
(Graphics2D g2, 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 List
SymbolAxis.refreshTicksVertical
(Graphics2D g2, 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 List
CyclicNumberAxis.refreshVerticalTicks
(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge) Builds a list of ticks for the axis.AxisSpace.reserved
(Rectangle2D area, RectangleEdge edge) Calculates the reserved area.abstract AxisSpace
Axis.reserveSpace
(Graphics2D g2, Plot plot, Rectangle2D plotArea, RectangleEdge edge, AxisSpace space) Estimates the space (height or width) required to draw the axis.CategoryAxis.reserveSpace
(Graphics2D g2, Plot plot, Rectangle2D plotArea, RectangleEdge edge, AxisSpace space) Estimates the space required for the axis, given a specific drawing area.CyclicNumberAxis.reserveSpace
(Graphics2D g2, Plot plot, Rectangle2D plotArea, RectangleEdge edge, AxisSpace space) Reserve some space on each axis side because we draw a centered label at each extremity.PeriodAxis.reserveSpace
(Graphics2D g2, Plot plot, Rectangle2D plotArea, RectangleEdge edge, AxisSpace space) Estimates the space (height or width) required to draw the axis.SubCategoryAxis.reserveSpace
(Graphics2D g2, Plot plot, Rectangle2D plotArea, RectangleEdge edge, AxisSpace space) Estimates the space required for the axis, given a specific drawing area.ValueAxis.reserveSpace
(Graphics2D g2, Plot plot, Rectangle2D plotArea, RectangleEdge edge, AxisSpace space) Returns the space required to draw the axis.protected void
DateAxis.selectAutoTickUnit
(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge) Selects an appropriate tick value for the axis.protected void
LogAxis.selectAutoTickUnit
(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge) Selects an appropriate tick value for the axis.protected void
NumberAxis.selectAutoTickUnit
(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge) Selects an appropriate tick value for the axis.protected void
SymbolAxis.selectAutoTickUnit
(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge) This operation is not supported by this axis.protected void
CyclicNumberAxis.selectHorizontalAutoTickUnit
(Graphics2D g2, Rectangle2D drawArea, Rectangle2D dataArea, RectangleEdge edge) Selects a tick unit when the axis is displayed horizontally.protected void
DateAxis.selectHorizontalAutoTickUnit
(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge) Selects an appropriate tick size for the axis.protected void
LogAxis.selectHorizontalAutoTickUnit
(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge) Selects an appropriate tick value for the axis.protected void
NumberAxis.selectHorizontalAutoTickUnit
(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge) Selects an appropriate tick value for the axis.protected void
CyclicNumberAxis.selectVerticalAutoTickUnit
(Graphics2D g2, Rectangle2D drawArea, Rectangle2D dataArea, RectangleEdge edge) Selects a tick unit when the axis is displayed vertically.protected void
DateAxis.selectVerticalAutoTickUnit
(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge) Selects an appropriate tick size for the axis.protected void
LogAxis.selectVerticalAutoTickUnit
(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge) Selects an appropriate tick value for the axis.protected void
NumberAxis.selectVerticalAutoTickUnit
(Graphics2D g2, Rectangle2D dataArea, RectangleEdge edge) Selects an appropriate tick value for the axis.double
CyclicNumberAxis.valueToJava2D
(double value, Rectangle2D dataArea, RectangleEdge edge) Translates a value from data space to Java 2D space.double
DateAxis.valueToJava2D
(double value, Rectangle2D area, RectangleEdge edge) Translates the data value to the display coordinates (Java 2D User Space) of the chart.double
LogarithmicAxis.valueToJava2D
(double value, Rectangle2D plotArea, RectangleEdge edge) Converts a data value to a coordinate in Java2D space, assuming that the axis runs along one edge of the specified plotArea.double
LogAxis.valueToJava2D
(double value, Rectangle2D area, RectangleEdge edge) Converts a value on the axis scale to a Java2D coordinate relative to the givenarea
, based on the axis running along the specifiededge
.double
ModuloAxis.valueToJava2D
(double value, Rectangle2D area, RectangleEdge edge) Translates a data value to a Java2D coordinate.double
NumberAxis.valueToJava2D
(double value, 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
PeriodAxis.valueToJava2D
(double value, 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, 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. -
Uses of RectangleEdge in org.jfree.chart.plot
Modifier and TypeMethodDescriptionCategoryPlot.getDomainAxisEdge()
Returns the domain axis edge.CategoryPlot.getDomainAxisEdge
(int index) Returns the edge for a domain axis.XYPlot.getDomainAxisEdge()
Returns the edge for the primary domain axis (taking into account the plot's orientation).XYPlot.getDomainAxisEdge
(int index) Returns the edge for a domain axis.CategoryPlot.getRangeAxisEdge()
Returns the edge where the primary range axis is located.CategoryPlot.getRangeAxisEdge
(int index) Returns the edge for a range axis.XYPlot.getRangeAxisEdge()
Returns the edge for the primary range axis.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.Modifier and TypeMethodDescriptionprotected 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.renderer.category
Modifier and TypeMethodDescriptiondouble
AbstractCategoryItemRenderer.getItemMiddle
(Comparable rowKey, Comparable columnKey, CategoryDataset dataset, CategoryAxis axis, Rectangle2D area, RectangleEdge edge) Returns the Java2D coordinate for the middle of the specified data item.double
CategoryItemRenderer.getItemMiddle
(Comparable rowKey, Comparable columnKey, CategoryDataset dataset, CategoryAxis axis, Rectangle2D area, RectangleEdge edge) Returns the Java2D coordinate for the middle of the specified data item.double
GanttRenderer.getItemMiddle
(Comparable rowKey, Comparable columnKey, CategoryDataset dataset, CategoryAxis axis, Rectangle2D area, RectangleEdge edge) Returns the Java2D coordinate for the middle of the specified data item.double
LevelRenderer.getItemMiddle
(Comparable rowKey, Comparable columnKey, CategoryDataset dataset, CategoryAxis axis, Rectangle2D area, RectangleEdge edge) Returns the Java2D coordinate for the middle of the specified data item.void
BarPainter.paintBar
(Graphics2D g2, BarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base) Paints a single bar on behalf of a renderer.void
GradientBarPainter.paintBar
(Graphics2D g2, BarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base) Paints a single bar instance.void
StandardBarPainter.paintBar
(Graphics2D g2, BarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base) Paints a single bar instance.void
BarPainter.paintBarShadow
(Graphics2D g2, BarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base, boolean pegShadow) Paints the shadow for a single bar on behalf of a renderer.void
GradientBarPainter.paintBarShadow
(Graphics2D g2, BarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base, boolean pegShadow) Paints a single bar instance.void
StandardBarPainter.paintBarShadow
(Graphics2D g2, BarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base, boolean pegShadow) Paints a single bar instance. -
Uses of RectangleEdge in org.jfree.chart.renderer.xy
Modifier and TypeMethodDescriptionvoid
GradientXYBarPainter.paintBar
(Graphics2D g2, XYBarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base) Paints a single bar instance.void
StandardXYBarPainter.paintBar
(Graphics2D g2, XYBarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base) Paints a single bar instance.void
XYBarPainter.paintBar
(Graphics2D g2, XYBarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base) Paints a single bar on behalf of a renderer.void
GradientXYBarPainter.paintBarShadow
(Graphics2D g2, XYBarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base, boolean pegShadow) Paints a single bar instance.void
StandardXYBarPainter.paintBarShadow
(Graphics2D g2, XYBarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base, boolean pegShadow) Paints a single bar instance.void
XYBarPainter.paintBarShadow
(Graphics2D g2, XYBarRenderer renderer, int row, int column, RectangularShape bar, RectangleEdge base, boolean pegShadow) Paints the shadow for a single bar on behalf of a renderer. -
Uses of RectangleEdge in org.jfree.chart.title
Modifier and TypeFieldDescriptionstatic final RectangleEdge
Title.DEFAULT_POSITION
The default title position.Modifier and TypeMethodDescriptionLegendTitle.getLegendItemGraphicEdge()
Returns the location of the shape within each legend item.Title.getPosition()
Returns the position of the title.Modifier and TypeMethodDescriptionvoid
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 aTitleChangeEvent
to all registered listeners.ModifierConstructorDescriptionDateTitle
(int style, Locale locale, Font font, Paint paint, RectangleEdge position, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, RectangleInsets padding) Creates a new chart title that displays the current date.ImageTitle
(Image image, int height, int width, RectangleEdge position, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, RectangleInsets padding) Creates a new image title with the given image scaled to the given width and height in the given location.ImageTitle
(Image image, RectangleEdge position, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment) Creates a new image title.TextTitle
(String text, Font font, Paint paint, RectangleEdge position, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, RectangleInsets padding) Creates a new title.protected
Title
(RectangleEdge position, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment) Creates a new title, using default attributes where necessary.protected
Title
(RectangleEdge position, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, RectangleInsets padding) Creates a new title. -
Uses of RectangleEdge in org.jfree.chart.ui
Modifier and TypeFieldDescriptionstatic final RectangleEdge
RectangleEdge.BOTTOM
Bottom.static final RectangleEdge
RectangleEdge.LEFT
Left.static final RectangleEdge
RectangleEdge.RIGHT
Right.static final RectangleEdge
RectangleEdge.TOP
Top.Modifier and TypeMethodDescriptionstatic RectangleEdge
RectangleEdge.opposite
(RectangleEdge edge) Returns the opposite edge.Modifier and TypeMethodDescriptionstatic double
RectangleEdge.coordinate
(Rectangle2D rectangle, RectangleEdge edge) Returns the x or y coordinate of the specified edge.static boolean
RectangleEdge.isLeftOrRight
(RectangleEdge edge) Returnstrue
if the edge isLEFT
orRIGHT
, andfalse
otherwise.static boolean
RectangleEdge.isTopOrBottom
(RectangleEdge edge) Returnstrue
if the edge isTOP
orBOTTOM
, andfalse
otherwise.static RectangleEdge
RectangleEdge.opposite
(RectangleEdge edge) Returns the opposite edge.