com.ijchart.xychart.axis.value
Class NumberValueAxis

java.lang.Object
  extended by com.ijchart.xychart.axis.AbstractAxis
      extended by com.ijchart.xychart.axis.value.AbstractValueAxis
          extended by com.ijchart.xychart.axis.value.NumberValueAxis
All Implemented Interfaces:
IAxis, IMarkerChangeListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener
Direct Known Subclasses:
AbstractNumberValueAxisWithType, DateValueAxis, IntervalValueAxis, NumberValueAxis3D, OHLCDateAxis, OHLCValueAxis, StackedNumberValueAxis, StatisticalNumberValueAxis, SymbolValueAxis, WaterfallNumberValueAxis, ZNumberValueAxis

public class NumberValueAxis
extends AbstractValueAxis
implements java.lang.Cloneable, java.io.Serializable

Title: IJChart

Description: a chart library for the Java(tm) platform.

The class for axes that display value data, where values are measured using the double primitive.

Copyright: Copyright (c) 2013

Company:

Version:
1.0
Author:
zhang feng min,shanghai china. Contract me by email.
See Also:
Serialized Form

Field Summary
static INumberTickUnit DEFAULT_NUMBER_TICK_UNIT
           The default INumberTickUnit for generate axis tick units.
protected  java.lang.String[] numberTicks
           The number ticks.
protected  java.lang.String[] tickLabels
           The formated tick labels.
protected  INumberTickUnit tickUnit
           The INumberTickUnit for generate axis tick units.
protected  double[] valueTicks
           The number ticks.
 
Fields inherited from class com.ijchart.xychart.axis.value.AbstractValueAxis
DEFAULT_AXIS_TICK_INCLUDE_ZERO, DEFAULT_CROSSHAIR_PAINT, DEFAULT_CROSSHAIR_STROKE, DEFAULT_GRID_BAND_ALTERNATE_PAINT, DEFAULT_GRID_BAND_PAINT, DEFAULT_GRID_BAND_VISIBLE, DEFAULT_INVERTED, DEFAULT_VALUE_LINE_VISIBLE, DEFAULT_VALUE_PAINT, INVALID_COORDINATE_VALUE
 
Fields inherited from class com.ijchart.xychart.axis.AbstractAxis
DEFAULT_3D_AXIS_FILL_PAINT, DEFAULT_AUTO_SELECT_TICK_LABEL_ALIGN, DEFAULT_AXIS_LABEL_FONT, DEFAULT_AXIS_LABEL_INSETS, DEFAULT_AXIS_LABEL_PAINT, DEFAULT_AXIS_LABEL_TYPE, DEFAULT_AXIS_LABEL_VISIBLE, DEFAULT_AXIS_LINE_PAINT, DEFAULT_AXIS_LINE_STROKE, DEFAULT_AXIS_LINE_VISIBLE, DEFAULT_AXIS_MARGIN, DEFAULT_AXIS_VISIBLE, DEFAULT_DRAW_EMPTY_LABEL_TICK_MARK, DEFAULT_FIXED_AXIS_SPACE, DEFAULT_GRID_LINE_VISIBLE, DEFAULT_LABEL_HORIZONTAL_ALIGNMENT, DEFAULT_MAXIMUM_CATEGORY_LABEL_WIDTH_RATIO, DEFAULT_TICK_LABEL_FONT, DEFAULT_TICK_LABEL_HORIZONTAL_ALIGNMENT, DEFAULT_TICK_LABEL_INSETS, DEFAULT_TICK_LABEL_PAINT, DEFAULT_TICK_LABEL_VERTICAL_ALIGNMENT, DEFAULT_TICK_LABELS_VISIBLE, DEFAULT_TICK_MARK_INSIDE_LENGTH, DEFAULT_TICK_MARK_OUTSIDE_LENGTH, DEFAULT_TICK_MARK_PAINT, DEFAULT_TICK_MARK_STROKE, DEFAULT_TICK_MARKS_VISIBLE, WIDTH_TICK_MARK_AND_TICK_LABEL
 
Constructor Summary
NumberValueAxis(IMatrixDataset dataset)
           Constructs an axis using a dataset.
NumberValueAxis(java.lang.String label, IMatrixDataset dataset)
           Constructs an axis using label and a dataset.
 
Method Summary
protected  void calculateLabels(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D axisArea, RectangleEdge edge)
           Calculate the
 java.lang.Object clone()
           Creates a clone of the axis.
protected  double convertNumberTick(java.lang.String tick)
           Convert String tick to number.
protected  IChartShape createChartShape(java.awt.geom.Rectangle2D tickLabelDrawRect, java.lang.String tickLabel)
           Create a RectangleTextChartShape object.
protected  IChartShape createValueLineShape(double x1, double y1, double x2, double y2)
           Create a value line shape.
 void drawGridLine(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, RectangleEdge axisEdge, RenderShapeCollection shapeCollection, java.awt.Stroke stroke, java.awt.Paint paint)
           Draw the grid line,only call after IAxis.draw().
protected  double drawTickLabel(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea, java.awt.geom.Rectangle2D axisArea, RectangleEdge edge, AxisShapeCollection shapeCollection, double cursor)
           Draws tick mark labels in a specified area and edge.
protected  double drawTickLabelReally(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea, java.awt.geom.Rectangle2D axisArea, RectangleEdge edge, AxisShapeCollection shapeCollection, double cursor, java.lang.String[] labels)
           The really method for draw tick labels.
protected  double drawTickMark(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D axisArea, RectangleEdge edge, AxisShapeCollection shapeCollection, double cursor)
           Draws tick marks in a specified area and edge.
 void drawValueLine(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, RectangleEdge edge, RenderShapeCollection shapeCollection)
           Draw the value line,only call after IAxis.draw().
 boolean equals(java.lang.Object obj)
           Tests this axis for equality with an arbitrary object.
 double estimateAxisWidth(RectangleEdge edge, java.lang.String maxLengthLabel)
           Calculate the width of axis.
 NumberRange getDatasetRange()
           Returns the value range of a dataset.
protected  java.lang.String[] getFormatedTickLabels(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D maxAxisArea, RectangleEdge edge)
           Returns the formated tick labels.
protected  double getLabelMaxDrawWidth(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea, RectangleEdge edge, java.lang.String[] formatedLabels)
           Calculation width of painting coordinate axis labels required by the maximum width and not more than maximumCategoryLabelWidthRatio determined by the parameters of the entire region of the chart width or height
protected  java.lang.String[] getNumberLabels(int labelCount)
           Calculate the number labels.
 java.lang.String[] getNumberTicks()
           Return the number ticks.
protected  java.lang.String[] getTickLabels(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D axisArea, RectangleEdge edge)
           Returns the tick mark labels.
protected  int getTickMarkCount()
           Returns the tick mark count.
 NumberRange getTickRange()
           Returns the value range of a dataset.
 INumberTickUnit getTickUnit()
           Returns the INumberTickUnit for generate axis tick units.
 java.util.TimeZone getTimeZone()
           Returns the time zone.
 NumberRange getUserDefineDatasetRange()
           Returns the dataset range of user defined.
 NumberRange getZoomDatasetRange()
           Returns the dataset range for zoom chart.
 int hashCode()
           Returns a hash code for this object.
protected  boolean isLogTickUnit()
           Whether or not tickUnit is LogTickUnit.
protected  boolean isOffsetValueLine()
           Returns whether or not offset axis.
protected  boolean isRangeIncludeZero()
           Returns whether or not include zero of the dataset.
 void setTickUnit(INumberTickUnit tickUnit)
           The INumberTickUnit for generate axis tick units and notifies registered listeners that the axis has changed.
 void setTimeZone(java.util.TimeZone timeZone)
           Sets the time zone and sends a AxisChangeEvent to all registered listeners.
 void setUserDefineDatasetRange(double lower, double upper)
           Sets the dataset range of user defined and notifies registered listeners that the axis has changed.
 void setUserDefineDatasetRange(NumberRange range)
           Sets the dataset range of user defined and notifies registered listeners that the axis has changed.
 void setZoomDatasetRange(NumberRange datasetRange)
           Sets the dataset range for zoom chart and sends a RenderChangeEvent to all registered listeners.
 java.lang.String toString()
           Returns a string representation of the object.
 double valueToJava2D(java.awt.geom.Rectangle2D dataArea, RectangleEdge edge, double value, boolean forceInDataArea)
           Converts a data value to a coordinate in Java2D space, assuming that the axis runs along one edge of the specified dataArea.
 double valueToJava2D(java.awt.geom.Rectangle2D dataArea, RectangleEdge edge, double value, boolean forceInDataArea, boolean expandAxisRange)
           Converts a data value to a coordinate in Java2D space, assuming that the axis runs along one edge of the specified dataArea.
 
Methods inherited from class com.ijchart.xychart.axis.value.AbstractValueAxis
addIntervalValueMarker, addValueMarker, clearIntervalValueMarkers, clearValueMarkers, getEmptyDatasetRange, getGridBandAlternatePaint, getGridBandPaint, getIntervalValueMarkers, getRender, getTickValueFormatter, getValueLinePaint, getValueLineStroke, getValueLineValue, getValueMarkers, isAxisRangeIncludeZero, isGridBandVisible, isInverted, isValueLineVisible, markerChanged, removeValueMarker, removeValueMarker, setAxisRangeIncludeZero, setEmptyDatasetRange, setGridBandAlternatePaint, setGridBandPaint, setGridBandVisible, setInverted, setRender, setTickValueFormatter, setValueLinePaint, setValueLineStroke, setValueLineValue, setValueLineVisible
 
Methods inherited from class com.ijchart.xychart.axis.AbstractAxis
addChangeListener, calculateAxisSpace, calculateLabelBound, createAxisLabelChartShape, dawAxisLabel, draw, drawAxis3DLine, drawAxisLine, fireAxisChanged, getAxis3DFillPaint, getAxisLabel, getAxisLabelAngle, getAxisLabelFont, getAxisLabelHorizontalAlign, getAxisLabelInsets, getAxisLabelPaint, getAxisLabelType, getAxisLinePaint, getAxisLineStroke, getColKeyFormatter, getDataFormatter, getDataset, getFixedAxisSpace, getLowerMargin, getMaximumCategoryLabelWidthRatio, getRowKeyFormatter, getTickLabelAngle, getTickLabelFont, getTickLabelFont, getTickLabelHorizontalAlign, getTickLabelInsets, getTickLabelLines, getTickLabelPaint, getTickLabelPaint, getTickLabelRotateBound, getTickLabelVerticalAlign, getTickMarkInsideLength, getTickMarkOutsideLength, getTickMarkPaint, getTickMarkStroke, getUpperMargin, hasListener, isAutoSelectTickLabelAlign, isAxisLabelVisible, isAxisLineVisible, isDrawEmptyLabelTickMark, isGridLineVisible, isTickLabelsVisible, isTickMarkVisible, isVisible, notifyListeners, removeAllChangeListener, removeChangeListener, setAutoSelectTickLabelAlign, setAxis3DFillPaint, setAxisLabel, setAxisLabelAngle, setAxisLabelFont, setAxisLabelHorizontalAlign, setAxisLabelInsets, setAxisLabelPaint, setAxisLabelType, setAxisLabelVisible, setAxisLinePaint, setAxisLineStroke, setAxisLineVisible, setColKeyFormatter, setDataFormatter, setDataset, setDrawEmptyLabelTickMark, setFixedAxisSpace, setGridLineVisible, setLowerMargin, setMaximumCategoryLabelWidthRatio, setRowKeyFormatter, setTickLabelAngle, setTickLabelFont, setTickLabelFont, setTickLabelHorizontalAlign, setTickLabelInsets, setTickLabelPaint, setTickLabelPaint, setTickLabelsVisible, setTickLabelVerticalAlign, setTickMarkInsideLength, setTickMarkOutsideLength, setTickMarkPaint, setTickMarkStroke, setTickMarkVisible, setUpperMargin, setVisible
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_NUMBER_TICK_UNIT

public static final INumberTickUnit DEFAULT_NUMBER_TICK_UNIT
The default INumberTickUnit for generate axis tick units.


tickUnit

protected INumberTickUnit tickUnit
The INumberTickUnit for generate axis tick units.


tickLabels

protected java.lang.String[] tickLabels
The formated tick labels.


numberTicks

protected java.lang.String[] numberTicks
The number ticks.


valueTicks

protected double[] valueTicks
The number ticks.

Constructor Detail

NumberValueAxis

public NumberValueAxis(IMatrixDataset dataset)
Constructs an axis using a dataset.

Parameters:
dataset - IMatrixDataset The two dimension matrix dataset (null not permitted).

NumberValueAxis

public NumberValueAxis(java.lang.String label,
                       IMatrixDataset dataset)
Constructs an axis using label and a dataset.

Parameters:
label - The axis label (null permitted).
dataset - IMatrixDataset The two dimension matrix dataset (null not permitted).
Method Detail

getTickUnit

public INumberTickUnit getTickUnit()
Returns the INumberTickUnit for generate axis tick units.

Returns:
INumberTickUnit The INumberTickUnit for generate axis tick units.

setTickUnit

public void setTickUnit(INumberTickUnit tickUnit)
The INumberTickUnit for generate axis tick units and notifies registered listeners that the axis has changed.

Parameters:
tickUnit - INumberTickUnit The INumberTickUnit for generate axis tick units (null not permitted).

getTimeZone

public java.util.TimeZone getTimeZone()
Returns the time zone.

Returns:
TimeZone The time zone.

setTimeZone

public void setTimeZone(java.util.TimeZone timeZone)
Sets the time zone and sends a AxisChangeEvent to all registered listeners.

Parameters:
timeZone - TimeZone The time zone.

getNumberTicks

public java.lang.String[] getNumberTicks()
Return the number ticks.

Returns:
String[] The number ticks.

getUserDefineDatasetRange

public NumberRange getUserDefineDatasetRange()
Returns the dataset range of user defined.

Returns:
NumberRange The dataset range (maybe null).

setUserDefineDatasetRange

public void setUserDefineDatasetRange(double lower,
                                      double upper)
Sets the dataset range of user defined and notifies registered listeners that the axis has changed.

Parameters:
lower - double The lower bound of the range.
upper - double The upper bound of the range.

setUserDefineDatasetRange

public void setUserDefineDatasetRange(NumberRange range)
Sets the dataset range of user defined and notifies registered listeners that the axis has changed.

Parameters:
range - NumberRange The dataset range (null permitted).

getZoomDatasetRange

public NumberRange getZoomDatasetRange()
Returns the dataset range for zoom chart.

Returns:
NumberRange The dataset range for zoom chart (maybe null).

setZoomDatasetRange

public void setZoomDatasetRange(NumberRange datasetRange)
Sets the dataset range for zoom chart and sends a RenderChangeEvent to all registered listeners.

Parameters:
datasetRange - NumberRange The dataset range for zoom chart.

estimateAxisWidth

public double estimateAxisWidth(RectangleEdge edge,
                                java.lang.String maxLengthLabel)
Calculate the width of axis.

Parameters:
edge - RectangleEdge The axis position.
maxLengthLabel - String The maximum length tick label.
Returns:
double The width of axis.

drawTickMark

protected double drawTickMark(java.awt.Graphics2D g2,
                              java.awt.geom.Rectangle2D axisArea,
                              RectangleEdge edge,
                              AxisShapeCollection shapeCollection,
                              double cursor)
Draws tick marks in a specified area and edge.

Specified by:
drawTickMark in class AbstractAxis
Parameters:
g2 - Graphics2D The graphics device (null not permitted).
axisArea - Rectangle2D The axis draw area.
edge - RectangleEdge The axis position.
shapeCollection - AxisShapeCollection Collects information about the axis (null permitted).
cursor - The cursor location.
Returns:
double The cursor location after draw tick mark.

getTickMarkCount

protected int getTickMarkCount()
Returns the tick mark count.

Returns:
int The tick mark count.

drawTickLabel

protected double drawTickLabel(java.awt.Graphics2D g2,
                               java.awt.geom.Rectangle2D plotArea,
                               java.awt.geom.Rectangle2D axisArea,
                               RectangleEdge edge,
                               AxisShapeCollection shapeCollection,
                               double cursor)
Draws tick mark labels in a specified area and edge.

Specified by:
drawTickLabel in class AbstractAxis
Parameters:
g2 - Graphics2D The graphics device (null not permitted).
plotArea - Rectangle2D The area within which the plot should be drawn.
axisArea - Rectangle2D The axis draw area.
edge - RectangleEdge The axis position.
shapeCollection - AxisShapeCollection Collects information about the axis (null permitted).
cursor - The cursor location.
Returns:
double The cursor location after draw tick label.

drawTickLabelReally

protected double drawTickLabelReally(java.awt.Graphics2D g2,
                                     java.awt.geom.Rectangle2D plotArea,
                                     java.awt.geom.Rectangle2D axisArea,
                                     RectangleEdge edge,
                                     AxisShapeCollection shapeCollection,
                                     double cursor,
                                     java.lang.String[] labels)
The really method for draw tick labels.

Parameters:
g2 - Graphics2D The graphics device (null not permitted).
plotArea - Rectangle2D The area within which the plot should be drawn.
axisArea - Rectangle2D The axis draw area.
edge - RectangleEdge The axis position.
shapeCollection - AxisShapeCollection Collects information about the axis (null permitted).
cursor - The cursor location.
labels - String[] The labels array.
Returns:
double The cursor location after draw tick label.

getTickLabels

protected java.lang.String[] getTickLabels(java.awt.Graphics2D g2,
                                           java.awt.geom.Rectangle2D axisArea,
                                           RectangleEdge edge)
Returns the tick mark labels.

Parameters:
g2 - Graphics2D The graphics device (null not permitted).
axisArea - Rectangle2D The axis draw area (null not permitted).
edge - RectangleEdge The axis position (null not permitted).
Returns:
String[] The tick mark labels.

drawValueLine

public void drawValueLine(java.awt.Graphics2D g2,
                          java.awt.geom.Rectangle2D dataArea,
                          RectangleEdge edge,
                          RenderShapeCollection shapeCollection)
Draw the value line,only call after IAxis.draw().

Specified by:
drawValueLine in class AbstractValueAxis
Parameters:
g2 - Graphics2D The graphics device (null not permitted).
dataArea - Rectangle2D The area within which the data should be drawn (null not permitted).
edge - RectangleEdge The axis position (null not permitted).
shapeCollection - RenderShapeCollection Collects information about the render (null not permitted).

createValueLineShape

protected IChartShape createValueLineShape(double x1,
                                           double y1,
                                           double x2,
                                           double y2)
Create a value line shape.

Parameters:
x1 - double The first point's x coordinate.
y1 - double The first point's y coordinate.
x2 - double The second point's x coordinate.
y2 - double The second point's y coordinate.
Returns:
IChartShape

getLabelMaxDrawWidth

protected double getLabelMaxDrawWidth(java.awt.Graphics2D g2,
                                      java.awt.geom.Rectangle2D plotArea,
                                      RectangleEdge edge,
                                      java.lang.String[] formatedLabels)
Calculation width of painting coordinate axis labels required by the maximum width and not more than maximumCategoryLabelWidthRatio determined by the parameters of the entire region of the chart width or height

Parameters:
g2 - Graphics2D The graphics device (null not permitted).
plotArea - Rectangle2D The area within which the plot should be drawn.
edge - RectangleEdge The axis position.
formatedLabels - String[] The formatted tick label values.
Returns:
double The width.

getFormatedTickLabels

protected java.lang.String[] getFormatedTickLabels(java.awt.Graphics2D g2,
                                                   java.awt.geom.Rectangle2D maxAxisArea,
                                                   RectangleEdge edge)
Returns the formated tick labels.

Specified by:
getFormatedTickLabels in class AbstractAxis
Parameters:
g2 - Graphics2D The graphics device (null not permitted).
maxAxisArea - Rectangle2D The maximum area within which the axis should be drawn (null not permitted).
edge - RectangleEdge The axis position (null not permitted).
Returns:
String[] The array of tick labels.

calculateLabels

protected void calculateLabels(java.awt.Graphics2D g2,
                               java.awt.geom.Rectangle2D axisArea,
                               RectangleEdge edge)
Calculate the

Parameters:
g2 - Graphics2D
axisArea - Rectangle2D
edge - RectangleEdge

getNumberLabels

protected java.lang.String[] getNumberLabels(int labelCount)
Calculate the number labels.

Parameters:
labelCount - int The number of labels
Returns:
String[]

getDatasetRange

public NumberRange getDatasetRange()
Returns the value range of a dataset.

Specified by:
getDatasetRange in class AbstractValueAxis
Returns:
NumberRange The value range of a dataset (never null).

getTickRange

public NumberRange getTickRange()
Returns the value range of a dataset.

Returns:
NumberRange The value range of a dataset (never null).

createChartShape

protected IChartShape createChartShape(java.awt.geom.Rectangle2D tickLabelDrawRect,
                                       java.lang.String tickLabel)
Create a RectangleTextChartShape object.

Parameters:
tickLabelDrawRect - Rectangle2D The tick label bound.
tickLabel - String The tick label.
Returns:
IChartShape A IChartShape.

drawGridLine

public void drawGridLine(java.awt.Graphics2D g2,
                         java.awt.geom.Rectangle2D dataArea,
                         RectangleEdge axisEdge,
                         RenderShapeCollection shapeCollection,
                         java.awt.Stroke stroke,
                         java.awt.Paint paint)
Draw the grid line,only call after IAxis.draw().

Specified by:
drawGridLine in class AbstractAxis
Parameters:
g2 - Graphics2D The graphics device (null not permitted).
dataArea - Rectangle2D The area within which the data should be drawn (null not permitted).
axisEdge - RectangleEdge The axis position (null not permitted).
shapeCollection - RenderShapeCollection Collects information about the render (null not permitted).
stroke - Stroke The grid line stroke.
paint - Paint The grid line paint (null not permitted).

valueToJava2D

public double valueToJava2D(java.awt.geom.Rectangle2D dataArea,
                            RectangleEdge edge,
                            double value,
                            boolean forceInDataArea)
Converts a data value to a coordinate in Java2D space, assuming that the axis runs along one edge of the specified dataArea.

Specified by:
valueToJava2D in class AbstractValueAxis
Parameters:
dataArea - Rectangle2D The area within which the data should be drawn (null not permitted).
edge - RectangleEdge The axis position (null not permitted).
value - double The data value.
forceInDataArea - boolean Whether or not the return value force in the region dataArea.
Returns:
double The Java2D coordinate.

valueToJava2D

public double valueToJava2D(java.awt.geom.Rectangle2D dataArea,
                            RectangleEdge edge,
                            double value,
                            boolean forceInDataArea,
                            boolean expandAxisRange)
Converts a data value to a coordinate in Java2D space, assuming that the axis runs along one edge of the specified dataArea.

Specified by:
valueToJava2D in class AbstractValueAxis
Parameters:
dataArea - Rectangle2D The area within which the data should be drawn (null not permitted).
edge - RectangleEdge The axis position (null not permitted).
value - double The data value.
forceInDataArea - boolean Whether or not the return value force in the region dataArea.
expandAxisRange - boolean Whether or not expand the range of axis.
Returns:
double The Java2D coordinate.

isRangeIncludeZero

protected boolean isRangeIncludeZero()
Returns whether or not include zero of the dataset.

Returns:
boolean A boolean.

isOffsetValueLine

protected boolean isOffsetValueLine()
Returns whether or not offset axis.

Returns:
boolean A boolean.

isLogTickUnit

protected boolean isLogTickUnit()
Whether or not tickUnit is LogTickUnit.

Returns:
boolean

convertNumberTick

protected double convertNumberTick(java.lang.String tick)
Convert String tick to number.

Parameters:
tick - String
Returns:
double

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Creates a clone of the axis.

Overrides:
clone in class AbstractValueAxis
Returns:
A clone.
Throws:
java.lang.CloneNotSupportedException - if some component of the axis does not support cloning.

equals

public boolean equals(java.lang.Object obj)
Tests this axis for equality with an arbitrary object.

Overrides:
equals in class AbstractValueAxis
Parameters:
obj - The object (null permitted).
Returns:
A boolean.

hashCode

public int hashCode()
Returns a hash code for this object.

Overrides:
hashCode in class AbstractValueAxis
Returns:
A hash code.

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class AbstractValueAxis
Returns:
A string representation of the object.