|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.chart.axis.MarkerAxisBand
A band that can be added to a number axis to display regions.
| Constructor Summary | |
MarkerAxisBand(NumberAxis axis,
double topOuterGap,
double topInnerGap,
double bottomOuterGap,
double bottomInnerGap,
java.awt.Font font)
Constructs a new axis band. |
|
| Method Summary | |
void |
addMarker(IntervalMarker marker)
Adds a marker to the band. |
void |
draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea,
java.awt.geom.Rectangle2D dataArea,
double x,
double y)
Draws the band. |
boolean |
equals(java.lang.Object obj)
Tests this axis for equality with another object. |
double |
getHeight(java.awt.Graphics2D g2)
Returns the height of the band. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MarkerAxisBand(NumberAxis axis,
double topOuterGap,
double topInnerGap,
double bottomOuterGap,
double bottomInnerGap,
java.awt.Font font)
axis - the owner.topOuterGap - the top outer gap.topInnerGap - the top inner gap.bottomOuterGap - the bottom outer gap.bottomInnerGap - the bottom inner gap.font - the font.| Method Detail |
public void addMarker(IntervalMarker marker)
marker - the marker.public double getHeight(java.awt.Graphics2D g2)
g2 - the graphics device.
public void draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea,
java.awt.geom.Rectangle2D dataArea,
double x,
double y)
g2 - the graphics device.plotArea - the plot area.dataArea - the data area.x - the x-coordinate.y - the y-coordinate.public boolean equals(java.lang.Object obj)
obj - the object.
true or false.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||