|
|||||||||
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.LegendShapeCollection
public class LegendShapeCollection
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 | |
---|---|
LegendShapeCollection()
无参数构造器. |
Method Summary | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
void |
addLegendShape(IChartShape shape)
增加一个图例图形. |
|||||||||||||||
void |
clearLegendShapes()
删除所有的图例图形. |
|||||||||||||||
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点的图形. |
|||||||||||||||
IChartShape |
getBorderShape()
设置边框图形. |
|||||||||||||||
java.util.List |
getHotspotAreas(java.util.List drawTypes,
IAreaFragment fragment)
返回图形的热点Area. |
|||||||||||||||
java.util.List |
getLegendAxisShapeCollection()
返回所有的坐标轴图形的集合,此集合不可修改. |
|||||||||||||||
java.util.List |
getLegendShapes()
返回所有的图例图形的集合,此集合不可修改. |
|||||||||||||||
int |
hashCode()
覆盖hashCode方法. |
|||||||||||||||
void |
setBorderShape(IChartShape borderShape)
设置边框图形. |
|||||||||||||||
java.lang.String |
toString()
覆盖toString方法. |
|||||||||||||||
void |
translate(double x,
double y)
移动所有图形的原点到点(x,y).
setBorderShapepublic void setBorderShape(IChartShape borderShape)
getBorderShapepublic IChartShape getBorderShape()
addLegendShapepublic void addLegendShape(IChartShape shape)
getLegendShapespublic java.util.List getLegendShapes()
clearLegendShapespublic void clearLegendShapes()
getLegendAxisShapeCollectionpublic java.util.List getLegendAxisShapeCollection()
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()
|