|
|||||||||
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
com.ijchart.xychart.axis.value.Stacked3DNumberValueAxis
public class Stacked3DNumberValueAxis
Title: IJChart
Description: a chart library for the Java(tm) platform.
The 3D 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 | |
---|---|
Stacked3DNumberValueAxis(IMatrixDataset dataset,
IStackedRender render,
IEffect3D effect3D)
Constructs an axis using a dataset. |
|
Stacked3DNumberValueAxis(java.lang.String label,
IMatrixDataset dataset,
IStackedRender render,
IEffect3D effect3D)
Constructs an axis using label and a dataset. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object. |
protected double |
drawAxisLine(java.awt.geom.Rectangle2D axisArea,
RectangleEdge edge,
AxisShapeCollection shapeCollection)
Draws an axis line in a specified area and edge. |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
IStackedRender |
getStackedBarRender()
Returns the stacked bar render. |
double |
getXOffset()
Returns the x-offset (in Java2D units) for the 3D effect. |
double |
getYOffset()
Returns the y-offset (in Java2D units) for the 3D effect. |
int |
hashCode()
Returns a hash code value for the object. |
boolean |
isForce2D()
Returns whether or not draw as 2D axis. |
void |
setForce2D(boolean flag)
Sets whether or not draw as 2D axis and NOT send any event. |
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 com.ijchart.xychart.axis.value.StackedNumberValueAxis |
---|
getDatasetRange |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Stacked3DNumberValueAxis(IMatrixDataset dataset, IStackedRender render, IEffect3D effect3D)
dataset
- IMatrixDataset
The two dimension matrix dataset (null not permitted).render
- IStackedRender
The stacked bar render object (null not permitted).effect3D
- IEffect3D
The 3D effect.public Stacked3DNumberValueAxis(java.lang.String label, IMatrixDataset dataset, IStackedRender render, IEffect3D effect3D)
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).effect3D
- IEffect3D
The 3D effect.Method Detail |
---|
public IStackedRender getStackedBarRender()
getStackedBarRender
in class StackedNumberValueAxis
public void setStackedBarRender(IStackedRender render)
AxisChangeEvent
to all registered listeners.
setStackedBarRender
in class StackedNumberValueAxis
render
- IStackedRender
The stacked bar render object (null not permitted).public double getXOffset()
public double getYOffset()
public boolean isForce2D()
public void setForce2D(boolean flag)
flag
- boolean
A boolean.protected double drawAxisLine(java.awt.geom.Rectangle2D axisArea, RectangleEdge edge, AxisShapeCollection shapeCollection)
drawAxisLine
in class AbstractAxis
axisArea
- Rectangle2D
The empty chart area.edge
- RectangleEdge
The axis position.shapeCollection
- AxisShapeCollection
Collects information about the axis (null permitted).
public boolean equals(java.lang.Object obj)
equals
in class StackedNumberValueAxis
obj
-
the reference object with which to compare.
public int hashCode()
hashCode
in class StackedNumberValueAxis
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class StackedNumberValueAxis
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 StackedNumberValueAxis
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |