|
|||||||||
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.NumberValueAxis3D
public class NumberValueAxis3D
Title: IJChart
Description: a chart library for the Java(tm) platform.
An axis that displays values (Y-Axis) (in 3D).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 | |
---|---|
NumberValueAxis3D(IMatrixDataset dataset,
IEffect3D effect3D)
Constructs an axis using a dataset. |
|
NumberValueAxis3D(java.lang.String label,
IMatrixDataset dataset,
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 IChartShape |
createValueLineShape(double x1,
double y1,
double x2,
double y2)
Create a value line shape. |
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. |
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. |
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 NumberValueAxis3D(IMatrixDataset dataset, IEffect3D effect3D)
dataset
- IMatrixDataset
The two dimension matrix dataset (null not permitted).effect3D
- IEffect3D
The 3D effect.public NumberValueAxis3D(java.lang.String label, IMatrixDataset dataset, IEffect3D effect3D)
label
-
The axis label (null permitted).dataset
- IMatrixDataset
The two dimension matrix dataset (null not permitted).effect3D
- IEffect3D
The 3D effect.Method Detail |
---|
public double getXOffset()
getXOffset
in interface IEffect3D
public double getYOffset()
getYOffset
in interface IEffect3D
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).
protected IChartShape createValueLineShape(double x1, double y1, double x2, double y2)
createValueLineShape
in class NumberValueAxis
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.
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 |