|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ijchart.xychart.chartinfo.AbstractShapeCollection
com.ijchart.xychart.chartinfo.AxisShapeCollection
public class AxisShapeCollection
Title: IJChart
Description: a chart library for the Java(tm) platform.
用于存储坐标轴上的图形的集合类.Copyright: Copyright (c) 2013
Company:
Field Summary |
---|
Fields inherited from class com.ijchart.xychart.chartinfo.AbstractShapeCollection |
---|
shapeIdSequence |
Constructor Summary | |
---|---|
AxisShapeCollection()
无参数构造器. |
Method Summary | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
void |
addAxisLabelShape(IChartShape axisLabelShape)
增加一个坐标轴标签图形. |
|||||||||||||||
void |
addAxisLine3DShape(IChartShape line3DShape)
增加一个3D类型的坐标轴线区域. |
|||||||||||||||
void |
addAxisLineShape(IChartShape axisLineShape)
增加一个坐标轴轴线图形. |
|||||||||||||||
void |
addTickLabelShape(IChartShape labelShape)
增加一个坐标轴刻度标签图形. |
|||||||||||||||
void |
addTickMarkShape(IChartShape markShape)
增加一个坐标轴刻度值图形. |
|||||||||||||||
void |
clearAxisLabelShapes()
删除所有的坐标轴标签图形. |
|||||||||||||||
void |
clearAxisLine3DShapes()
删除所有的3D类型的坐标轴线区域图形. |
|||||||||||||||
void |
clearAxisLineShapes()
删除所有的坐标轴轴线图形. |
|||||||||||||||
void |
clearSelectedShapes()
把所有的图形置为非选中状态. |
|||||||||||||||
void |
clearShapesListener()
清除所有的图形的监听器. |
|||||||||||||||
void |
clearTickMarkShapes()
删除所有的坐标轴刻度值图形. |
|||||||||||||||
java.lang.Object |
clone()
覆盖clone方法. |
|||||||||||||||
void |
copyShapes(AxisShapeCollection axisShapes)
增加一个坐标轴的所有图形到本对象. |
|||||||||||||||
void |
draw(java.awt.Graphics2D g2)
依次绘制集合中每一个图形. |
|||||||||||||||
boolean |
equals(java.lang.Object obj)
测试两个对象是否相等. |
|||||||||||||||
IChartShape |
findChartShape(java.awt.geom.Point2D point,
ChartShapeDrawType drawType)
返回包含此point点的图形. |
|||||||||||||||
java.util.List |
getAxisLabelShapes()
返回坐标轴标签图形集合,此集合不可修改. |
|||||||||||||||
java.util.List |
getAxisLine3DShapes()
返回3D类型的坐标轴线区域图形集合,此集合不可修改. |
|||||||||||||||
java.util.List |
getAxisLineShapes()
返回坐标轴轴线图形集合,此集合不可修改. |
|||||||||||||||
RectangleEdge |
getEdge()
返回坐标轴的位置. |
|||||||||||||||
java.util.List |
getHotspotAreas(java.util.List drawTypes,
IAreaFragment fragment)
返回图形的热点Area. |
|||||||||||||||
java.util.List |
getTickLabelShapes()
返回坐标轴刻度标签图形集合,此集合不可修改. |
|||||||||||||||
java.util.List |
getTickMarkShapes()
返回坐标轴刻度值图形集合,此集合不可修改. |
|||||||||||||||
int |
hashCode()
覆盖hashCode方法. |
|||||||||||||||
void |
setEdge(RectangleEdge edge)
设置坐标轴位置. |
|||||||||||||||
java.lang.String |
toString()
覆盖toString方法. |
|||||||||||||||
void |
translate(double x,
double y)
移动所有图形(axisLine3DShape除外)的原点到点(x,y).
getEdgepublic RectangleEdge getEdge()
setEdgepublic void setEdge(RectangleEdge edge)
getAxisLabelShapespublic java.util.List getAxisLabelShapes()
clearAxisLabelShapespublic void clearAxisLabelShapes()
addAxisLabelShapepublic void addAxisLabelShape(IChartShape axisLabelShape)
addAxisLineShapepublic void addAxisLineShape(IChartShape axisLineShape)
getAxisLineShapespublic java.util.List getAxisLineShapes()
clearAxisLineShapespublic void clearAxisLineShapes()
addAxisLine3DShapepublic void addAxisLine3DShape(IChartShape line3DShape)
getAxisLine3DShapespublic java.util.List getAxisLine3DShapes()
clearAxisLine3DShapespublic void clearAxisLine3DShapes()
addTickLabelShapepublic void addTickLabelShape(IChartShape labelShape)
getTickLabelShapespublic java.util.List getTickLabelShapes()
addTickMarkShapepublic void addTickMarkShape(IChartShape markShape)
getTickMarkShapespublic java.util.List getTickMarkShapes()
clearTickMarkShapespublic void clearTickMarkShapes()
drawpublic void draw(java.awt.Graphics2D g2)
translatepublic void translate(double x, double y)
clearShapesListenerpublic void clearShapesListener()
clearSelectedShapespublic void clearSelectedShapes()
copyShapespublic void copyShapes(AxisShapeCollection axisShapes)
findChartShapepublic IChartShape findChartShape(java.awt.geom.Point2D point, ChartShapeDrawType drawType)
getHotspotAreaspublic java.util.List getHotspotAreas(java.util.List drawTypes, IAreaFragment fragment)
clonepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
hashCodepublic int hashCode()
equalspublic boolean equals(java.lang.Object obj)
toStringpublic java.lang.String toString()
|