|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ijchart.xychart.axis.AbstractAxis
com.ijchart.xychart.axis.value.AbstractValueAxis
com.ijchart.xychart.axis.value.NumberValueAxis
com.ijchart.xychart.axis.value.AbstractNumberValueAxisWithType
public class AbstractNumberValueAxisWithType
Title: IJChart
Description: a chart library for the Java(tm) platform.
The abstract parent class of number value axis used for XY plot,every data isIXYChartData
.
Copyright: Copyright (c) 2013
Company:
Field Summary |
---|
Fields inherited from class com.ijchart.xychart.axis.value.NumberValueAxis |
---|
DEFAULT_NUMBER_TICK_UNIT, numberTicks, tickLabels, tickUnit, valueTicks |
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 |
Constructor Summary | |
---|---|
AbstractNumberValueAxisWithType(IMatrixDataset dataset,
XYValueAxisType valueAxisType)
Constructs an axis using a dataset. |
|
AbstractNumberValueAxisWithType(IMatrixDataset dataset,
XYValueAxisType valueAxisType,
boolean isDateAxis)
Constructs an axis using a dataset. |
|
AbstractNumberValueAxisWithType(java.lang.String label,
IMatrixDataset dataset,
XYValueAxisType valueAxisType)
Constructs an axis using label and a dataset. |
|
AbstractNumberValueAxisWithType(java.lang.String label,
IMatrixDataset dataset,
XYValueAxisType valueAxisType,
boolean isDateAxis)
Constructs an axis using label and a dataset. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object. |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
XYValueAxisType |
getValueAxisType()
Returns the type of value axis. |
int |
hashCode()
Returns a hash code value for the object. |
void |
setValueAxisType(XYValueAxisType valueAxisType)
Sets the type of value axis,and notifies registered listeners that the axis has changed. |
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractNumberValueAxisWithType(IMatrixDataset dataset, XYValueAxisType valueAxisType)
dataset
- IMatrixDataset
The two dimension matrix dataset (null not permitted).valueAxisType
- XYValueAxisType
The type of value axis (null not permitted).public AbstractNumberValueAxisWithType(IMatrixDataset dataset, XYValueAxisType valueAxisType, boolean isDateAxis)
dataset
- IMatrixDataset
The two dimension matrix dataset (null not permitted).valueAxisType
- XYValueAxisType
The type of value axis (null not permitted).isDateAxis
- boolean
Whether or not is a date axis.public AbstractNumberValueAxisWithType(java.lang.String label, IMatrixDataset dataset, XYValueAxisType valueAxisType)
label
-
The axis label (null permitted).dataset
- IMatrixDataset
The two dimension matrix dataset (null not permitted).valueAxisType
- XYValueAxisType
The type of value axis (null not permitted).public AbstractNumberValueAxisWithType(java.lang.String label, IMatrixDataset dataset, XYValueAxisType valueAxisType, boolean isDateAxis)
label
-
The axis label (null permitted).dataset
- IMatrixDataset
The two dimension matrix dataset (null not permitted).valueAxisType
- XYValueAxisType
The type of value axis (null not permitted).isDateAxis
- boolean
Whether or not is a date axis.Method Detail |
---|
public XYValueAxisType getValueAxisType()
public void setValueAxisType(XYValueAxisType valueAxisType)
valueAxisType
- XYValueAxisType
The type of value axis (null not permitted).public boolean equals(java.lang.Object obj)
equals
in class NumberValueAxis
obj
-
the reference object with which to compare.
public int hashCode()
hashCode
in class NumberValueAxis
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class NumberValueAxis
java.lang.CloneNotSupportedException
- if the object's class does not
support the Cloneable interface. Subclasses
that override the clone method can also
throw this exception to indicate that an instance cannot
be cloned.public java.lang.String toString()
toString
in class NumberValueAxis
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |