com.jrefinery.chart
Interface VerticalAxis

All Known Implementing Classes:
VerticalCategoryAxis, VerticalLogarithmicAxis, VerticalNumberAxis, VerticalNumberAxis3D, VerticalSymbolicAxis

public interface VerticalAxis

An interface that must be supported by all vertical axes for layout purposes.


Method Summary
 java.awt.geom.Rectangle2D reserveAxisArea(java.awt.Graphics2D g2, Plot plot, java.awt.geom.Rectangle2D drawArea, double reservedHeight)
          Estimates the area required to draw the axis, assuming that the horizontal axis has already reserved the specified height.
 double reserveWidth(java.awt.Graphics2D g2, Plot plot, java.awt.geom.Rectangle2D drawArea)
          Estimates the width required to draw the axis.
 

Method Detail

reserveAxisArea

java.awt.geom.Rectangle2D reserveAxisArea(java.awt.Graphics2D g2,
                                          Plot plot,
                                          java.awt.geom.Rectangle2D drawArea,
                                          double reservedHeight)
Estimates the area required to draw the axis, assuming that the horizontal axis has already reserved the specified height.

Parameters:
g2 - The graphics device.
plot - The plot that the axis belongs to.
drawArea - The area within which the plot should be drawn.
reservedHeight - The height reserved by the horizontal axis.

reserveWidth

double reserveWidth(java.awt.Graphics2D g2,
                    Plot plot,
                    java.awt.geom.Rectangle2D drawArea)
Estimates the width required to draw the axis.

Parameters:
g2 - The graphics device.
plot - The plot that the axis belongs to.
drawArea - The area within which the plot should be drawn.


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.