|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ijchart.xychart.plot.AbstractPlot
com.ijchart.xychart.plot.AbstractAxisPlot
com.ijchart.xychart.plot.CategoryPlot
com.ijchart.xychart.plot.Category3DPlot
public class Category3DPlot
Title: IJChart
Description: a chart library for the Java(tm) platform.
Used to display the two coordinate axis are (@link com.ijchart.xychart.axis.category.CategoryAxis3D), (@Link com.ijchart.xychart.axis.value.AbstractValueAxis) of the plot.Copyright: Copyright (c) 2013
Company:
| Field Summary | |
|---|---|
static double |
DEFAULT_X_OFFSET
The default x-offset for the 3D effect. |
static double |
DEFAULT_Y_OFFSET
The default y-offset for the 3D effect. |
| Fields inherited from class com.ijchart.xychart.plot.CategoryPlot |
|---|
DEFAULT_CATEGORY_CROSSHAIR_LOCKED_ON_DATA, DEFAULT_CATEGORY_CROSSHAIR_VISIBLE |
| Constructor Summary | |
|---|---|
Category3DPlot()
Default constructor. |
|
Category3DPlot(CategoryAxis3D categoryAxis,
AbstractValueAxis valueAxis,
AbstractCategoryRender render)
Creates a new plot. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object. |
protected java.awt.geom.Rectangle2D |
drawAxes(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea,
PlotShapeCollection plotShapes)
A utility method for drawing the plot's axes. |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
PlotType |
getPlotType()
Returns a short string describing the plot type. |
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. |
void |
setXOffset(double offset)
Sets the x-offset for the 3D effect,and sends a ChartShapeChangeEvent to all registered listeners. |
void |
setYOffset(double offset)
Sets the y-offset for the 3D effect,and sends a ChartShapeChangeEvent 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 |
| Methods inherited from interface com.ijchart.xychart.listener.IRenderChangeListener |
|---|
renderChanged |
| Field Detail |
|---|
public static final double DEFAULT_X_OFFSET
public static final double DEFAULT_Y_OFFSET
| Constructor Detail |
|---|
public Category3DPlot()
public Category3DPlot(CategoryAxis3D categoryAxis,
AbstractValueAxis valueAxis,
AbstractCategoryRender render)
categoryAxis - CategoryAxis3D
The category axis (null permitted).valueAxis - AbstractValueAxis
The value axis (null permitted).render - AbstractCategoryRender
The item render (null permitted).| Method Detail |
|---|
public double getXOffset()
getXOffset in interface IEffect3Dpublic void setXOffset(double offset)
ChartShapeChangeEvent to all registered listeners.
offset - double
The x-offset,must greater than 0. public double getYOffset()
getYOffset in interface IEffect3Dpublic void setYOffset(double offset)
ChartShapeChangeEvent to all registered listeners.
offset - double
The y-offset,must greater than 0. public PlotType getPlotType()
getPlotType in class CategoryPlot
protected java.awt.geom.Rectangle2D drawAxes(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea,
PlotShapeCollection plotShapes)
drawAxes in class CategoryPlotg2 - Graphics2D
The graphics device (null not permitted).plotArea - Rectangle2D
The plot draw area (null not permitted).plotShapes - PlotShapeCollection
Collects information about the plot (null not permitted).
public boolean equals(java.lang.Object obj)
equals in class CategoryPlotobj -
the reference object with which to compare.
public int hashCode()
hashCode in class CategoryPlot
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class CategoryPlotjava.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 CategoryPlot
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||