| java.lang.Object org.jfree.chart.axis.MarkerAxisBand
MarkerAxisBand | public class MarkerAxisBand implements Serializable(Code) | | A band that can be added to a number axis to display regions.
|
Constructor Summary | |
public | MarkerAxisBand(NumberAxis axis, double topOuterGap, double topInnerGap, double bottomOuterGap, double bottomInnerGap, Font font) Constructs a new axis band. |
MarkerAxisBand | public MarkerAxisBand(NumberAxis axis, double topOuterGap, double topInnerGap, double bottomOuterGap, double bottomInnerGap, Font font)(Code) | | Constructs a new axis band.
Parameters: axis - the owner. Parameters: topOuterGap - the top outer gap. Parameters: topInnerGap - the top inner gap. Parameters: bottomOuterGap - the bottom outer gap. Parameters: bottomInnerGap - the bottom inner gap. Parameters: font - the font. |
addMarker | public void addMarker(IntervalMarker marker)(Code) | | Adds a marker to the band.
Parameters: marker - the marker. |
draw | public void draw(Graphics2D g2, Rectangle2D plotArea, Rectangle2D dataArea, double x, double y)(Code) | | Draws the band.
Parameters: g2 - the graphics device. Parameters: plotArea - the plot area. Parameters: dataArea - the data area. Parameters: x - the x-coordinate. Parameters: y - the y-coordinate. |
equals | public boolean equals(Object obj)(Code) | | Tests this axis for equality with another object. Note that the axis
that the band belongs to is ignored in the test.
Parameters: obj - the object (null permitted). true or false . |
getHeight | public double getHeight(Graphics2D g2)(Code) | | Returns the height of the band.
Parameters: g2 - the graphics device. The height of the band. |
hashCode | public int hashCode()(Code) | | Returns a hash code for the object.
A hash code. |
|
|