autoAdjustRange
public void autoAdjustRange()
Rescales the axis to ensure that all data are visible.
clone
public Object clone()
throws CloneNotSupportedException Returns a clone of the object.
draw
public double draw(Graphics2D g2,
double cursor,
Rectangle2D plotArea,
Rectangle2D dataArea,
Rectangle2D reservedArea,
RectangleEdge edge) Draws the plot on a Java 2D graphics device (such as the screen or a
printer).
g2 - the graphics device.cursor - the cursor.plotArea - the area within which the chart should be drawn.dataArea - the area within which the plot should be drawn (a
subset of the drawArea).reservedArea - the reserved area.edge - the color bar location.
drawColorBar
public void drawColorBar(Graphics2D g2,
Rectangle2D colorBarArea,
RectangleEdge edge) Draws the plot on a Java 2D graphics device (such as the screen or a
printer).
g2 - the graphics device.colorBarArea - the area within which the axis should be drawn.edge - the location.
equals
public boolean equals(Object obj)
Tests this object for equality with another.
obj - the object to test against.
getPaint
public Paint getPaint(double value)
Returns the Paint associated with a value.
hashCode
public int hashCode()
Returns a hash code for this object.
reserveSpace
public AxisSpace reserveSpace(Graphics2D g2,
Plot plot,
Rectangle2D plotArea,
Rectangle2D dataArea,
RectangleEdge edge,
AxisSpace space) Reserves the space required to draw the color bar.
g2 - the graphics device.plot - the plot that the axis belongs to.plotArea - the area within which the plot should be drawn.dataArea - the data area.edge - the axis location.space - the space already reserved.
- The space required to draw the axis in the specified plot area.
setMaximumValue
public void setMaximumValue(double value)
Sets the maximum value.
value - the maximum value.
setMinimumValue
public void setMinimumValue(double value)
Sets the minimum value.
value - the minimum value.