|
|||||||||
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.AnnotationShapeCollection
public class AnnotationShapeCollection
Title: IJChart
Description: a chart library for the Java(tm) platform.
用于存储注释(Annotation)图形的集合类.Copyright: Copyright (c) 2013
Company:
Field Summary |
---|
Fields inherited from class com.ijchart.xychart.chartinfo.AbstractShapeCollection |
---|
shapeIdSequence |
Constructor Summary | |
---|---|
AnnotationShapeCollection()
构造器. |
Method Summary | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
void |
addAnnotationShape(IChartShape shape)
增加一个标注(Annotation)图形. |
|||||||||||||||
void |
clearAnnotationShapes()
删除所有的标注(Annotation)图形. |
|||||||||||||||
void |
clearSelectedShapes()
把所有的图形置为非选中状态. |
|||||||||||||||
void |
clearShapesListener()
清除所有的图形的监听器. |
|||||||||||||||
java.lang.Object |
clone()
覆盖clone方法. |
|||||||||||||||
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 |
getAnnotationShapes()
返回所有的标注(Annotation)图形的集合,此集合不可修改. |
|||||||||||||||
java.util.List |
getHotspotAreas(java.util.List drawTypes,
IAreaFragment fragment)
返回图形的热点Area. |
|||||||||||||||
int |
hashCode()
覆盖hashCode方法. |
|||||||||||||||
java.lang.String |
toString()
覆盖toString方法. |
|||||||||||||||
void |
translate(double x,
double y)
移动所有图形的原点到点(x,y).
addAnnotationShapepublic void addAnnotationShape(IChartShape shape)
getAnnotationShapespublic java.util.List getAnnotationShapes()
clearAnnotationShapespublic void clearAnnotationShapes()
drawpublic void draw(java.awt.Graphics2D g2)
translatepublic void translate(double x, double y)
clearShapesListenerpublic void clearShapesListener()
clearSelectedShapespublic void clearSelectedShapes()
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()
|