|
|||||||||
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.category.CategoryAxis
com.ijchart.xychart.axis.category.CategoryAxis3D
public class CategoryAxis3D
Title: IJChart
Description: a chart library for the Java(tm) platform.
An axis that displays categories (X-Axis) (3D).Copyright: Copyright (c) 2013
Company:
Field Summary |
---|
Fields inherited from class com.ijchart.xychart.axis.category.CategoryAxis |
---|
acategoryWidth, categoryLabelPosition, DEFAULT_CATEGORY_MARGIN, DEFAULT_HORIZONTAL_ALIGNMENT, DEFAULT_MAX_CATEGORY_LABEL_LINE |
Constructor Summary | |
---|---|
CategoryAxis3D(IMatrixDataset dataset,
IEffect3D effect3D)
Constructs an axis using a dataset. |
|
CategoryAxis3D(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 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 com.ijchart.xychart.axis.category.CategoryAxis |
---|
addCategoryMarker, categoryToJava2D, clearCategoryMarkers, createChartShape, drawGridLine, drawTickLabel, drawTickMark, getCategoryLabelHorizontalAlignment, getCategoryMargin, getCategoryMarkers, getFormatedTickLabels, getLabelMaxDrawWidth, getMaximumCategoryLabelLines, markerChanged, removeCategoryMarker, setCategoryLabelHorizontalAlignment, setCategoryMargin, setMaximumCategoryLabelLines |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CategoryAxis3D(IMatrixDataset dataset, IEffect3D effect3D)
dataset
- IMatrixDataset
The two dimension matrix dataset (null not permitted).effect3D
- IEffect3D
The 3D effect.public CategoryAxis3D(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).
public boolean equals(java.lang.Object obj)
equals
in class CategoryAxis
obj
-
the reference object with which to compare.
public int hashCode()
hashCode
in class CategoryAxis
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class CategoryAxis
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 java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |