|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ijchart.xychart.render.AbstractRender
com.ijchart.xychart.render.AbstractWithAxisRender
com.ijchart.xychart.render.xy.AbstractXYRender
com.ijchart.xychart.render.xy.XYStepLineRender
public class XYStepLineRender
Title: IJChart
Description: a chart library for the Java(tm) platform.
绘制XY折线图的图形.Copyright: Copyright (c) 2013
Company:
Field Summary |
---|
Constructor Summary | |
---|---|
XYStepLineRender(IMatrixDataset dataset)
构造器. |
Method Summary | |
---|---|
java.lang.Object |
clone()
返回克隆的对象. |
protected IChartShape |
createItemShapeOnly(java.awt.geom.Rectangle2D rect,
java.lang.String text,
java.lang.Object appendParam)
只创建图形,不设置图形的属性. |
void |
drawAllItems(AbstractValueAxis xAxis,
RectangleEdge xAxisEdge,
AbstractValueAxis yAxis,
RectangleEdge yAxisEdge,
java.awt.geom.Rectangle2D dataArea,
ChartOrientation orientation,
RenderShapeCollection renderShapes,
float alpha)
绘制所有的图形. |
boolean |
equals(java.lang.Object obj)
测试两个对象是否相等. |
LegendType |
getLegendType()
返回图例类型. |
int |
hashCode()
计算对象的hashcode值. |
java.lang.String |
toString()
覆盖toString方法. |
Methods inherited from class com.ijchart.xychart.render.xy.AbstractXYRender |
---|
addAnnotation, drawAllAnnotation, getAllAnnotations, removeAllAnnotation |
Methods inherited from class com.ijchart.xychart.render.AbstractWithAxisRender |
---|
createItemShape, createValueMarkerShape, drawIntervalValueMarker, drawValueMarker, getValueAxisOffsetType |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XYStepLineRender(IMatrixDataset dataset)
dataset
- IMatrixDataset 数据集 (不可为null).
Method Detail |
---|
public void drawAllItems(AbstractValueAxis xAxis, RectangleEdge xAxisEdge, AbstractValueAxis yAxis, RectangleEdge yAxisEdge, java.awt.geom.Rectangle2D dataArea, ChartOrientation orientation, RenderShapeCollection renderShapes, float alpha)
drawAllItems
in class AbstractXYRender
xAxis
- AbstractValueAxis x数值坐标轴 (不可为null).
xAxisEdge
- RectangleEdge x坐标轴位置(不可为null).
yAxis
- AbstractValueAxis y数值坐标轴 (不可为null).
yAxisEdge
- RectangleEdge y坐标轴位置 (不可为null).
dataArea
- Rectangle2D 数据区域 (不可为null).
orientation
- ChartOrientation 图表的方向 (不可为null).
renderShapes
- RenderShapeCollection render图形集合 (不可为null).
alpha
- float alpha值,须属于闭区间[0.0,1.0].
public LegendType getLegendType()
getLegendType
in interface IRender
getLegendType
in class AbstractRender
protected IChartShape createItemShapeOnly(java.awt.geom.Rectangle2D rect, java.lang.String text, java.lang.Object appendParam)
createItemShapeOnly
in class AbstractRender
rect
- Rectangle2D 柱形图的矩形 (不可为null).
text
- String 要显示的文字 (可为null).
appendParam
- Object 附加的参数,用于传递额外的对象 (可为null).
public boolean equals(java.lang.Object obj)
equals
in class AbstractXYRender
obj
- the object (null permitted).
public int hashCode()
hashCode
in class AbstractXYRender
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class AbstractXYRender
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 AbstractXYRender
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |