|
|||||||||
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.StackedNumberValueAxis
public class StackedNumberValueAxis
Title: IJChart
Description: a chart library for the Java(tm) platform.
The axis used for stack bar chart.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 | |
---|---|
StackedNumberValueAxis(IMatrixDataset dataset,
IStackedRender render)
Constructs an axis using a dataset. |
|
StackedNumberValueAxis(java.lang.String label,
IMatrixDataset dataset,
IStackedRender render)
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. |
NumberRange |
getDatasetRange()
Returns the value range of a dataset. |
IStackedRender |
getStackedBarRender()
Returns the stacked bar render. |
int |
hashCode()
Returns a hash code value for the object. |
void |
setStackedBarRender(IStackedRender render)
Sets the stacked bar render object and sends a AxisChangeEvent to all registered listeners. |
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 StackedNumberValueAxis(IMatrixDataset dataset, IStackedRender render)
dataset
- IMatrixDataset
The two dimension matrix dataset (null not permitted).render
- IStackedRender
The stacked bar render object (null not permitted).public StackedNumberValueAxis(java.lang.String label, IMatrixDataset dataset, IStackedRender render)
label
-
The axis label (null permitted).dataset
- IMatrixDataset
The two dimension matrix dataset (null not permitted).render
- IStackedRender
The stacked bar render object (null not permitted).Method Detail |
---|
public IStackedRender getStackedBarRender()
public void setStackedBarRender(IStackedRender render)
AxisChangeEvent
to all registered listeners.
render
- IStackedRender
The stacked bar render object (null not permitted).public NumberRange getDatasetRange()
getDatasetRange
in class NumberValueAxis
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 |