|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface that must be supported by all horizontal axes for layout purposes.
VerticalAxis
Method Summary | |
double |
reserveHeight(java.awt.Graphics2D g2,
Plot plot,
java.awt.geom.Rectangle2D drawArea,
int location)
Estimates the height required to draw the axis. |
double |
reserveHeight(java.awt.Graphics2D g2,
Plot plot,
java.awt.geom.Rectangle2D drawArea,
int location,
double reservedWidth,
int verticalAxisLocation)
Estimates the height required to draw the axis, assuming that the vertical axis has already reserved the specified width. |
Method Detail |
public double reserveHeight(java.awt.Graphics2D g2, Plot plot, java.awt.geom.Rectangle2D drawArea, int location)
g2
- the graphics device.plot
- the plot that the axis belongs to.drawArea
- the area within which the plot (including axes) should be drawn.location
- the axis location (top or bottom).
public double reserveHeight(java.awt.Graphics2D g2, Plot plot, java.awt.geom.Rectangle2D drawArea, int location, double reservedWidth, int verticalAxisLocation)
g2
- the graphics device.plot
- the plot that the axis belongs to.drawArea
- the area within which the plot should be drawn.location
- the axis location.reservedWidth
- the width reserved by the vertical axis.verticalAxisLocation
- the location of the vertical axis.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |