public class

AxisCollection

extends Object
java.lang.Object
   ↳ org.jfree.chart.axis.AxisCollection

Class Overview

A collection of axes that have been assigned to the TOP, BOTTOM, LEFT or RIGHT of a chart. This class is used internally by JFreeChart, you won't normally need to use it yourself.

Summary

Public Constructors
AxisCollection()
Creates a new empty collection.
Public Methods
void add(Axis axis, RectangleEdge edge)
Adds an axis to the collection.
List getAxesAtBottom()
Returns a list of the axes (if any) that need to be drawn at the bottom of the plot area.
List getAxesAtLeft()
Returns a list of the axes (if any) that need to be drawn at the left of the plot area.
List getAxesAtRight()
Returns a list of the axes (if any) that need to be drawn at the right of the plot area.
List getAxesAtTop()
Returns a list of the axes (if any) that need to be drawn at the top of the plot area.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AxisCollection ()

Creates a new empty collection.

Public Methods

public void add (Axis axis, RectangleEdge edge)

Adds an axis to the collection.

Parameters
axis the axis (null not permitted).
edge the edge of the plot that the axis should be drawn on (null not permitted).

public List getAxesAtBottom ()

Returns a list of the axes (if any) that need to be drawn at the bottom of the plot area.

Returns
  • A list of axes.

public List getAxesAtLeft ()

Returns a list of the axes (if any) that need to be drawn at the left of the plot area.

Returns
  • A list of axes.

public List getAxesAtRight ()

Returns a list of the axes (if any) that need to be drawn at the right of the plot area.

Returns
  • A list of axes.

public List getAxesAtTop ()

Returns a list of the axes (if any) that need to be drawn at the top of the plot area.

Returns
  • A list of axes.