|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ijchart.xychart.label.LabelGeneratorAdaptor
com.ijchart.xychart.label.DefaultPieChartLabelGenerator
public class DefaultPieChartLabelGenerator
Title: IJChart
Description: a chart library for the Java(tm) platform.
缺省的饼图标签生成器.本类的字段formatter没有set方法,这样可以不用监听本类的变化.Copyright: Copyright (c) 2013
Company:
Constructor Summary | |
---|---|
DefaultPieChartLabelGenerator()
没有参数的构造器. |
|
DefaultPieChartLabelGenerator(IChartDataFormatter formatter)
构造器. |
Method Summary | |
---|---|
protected java.lang.Object |
clone()
克隆本对象. |
boolean |
equals(java.lang.Object obj)
测试两个对象是否相等. |
java.lang.String |
generateLabel(IMatrixDataset dataset,
int row,
int column)
用于生成某个图形的标签,通常情况下标签是通知格式化rowKey和colKey及值组成的. |
IChartDataFormatter |
getFormatter()
返回格式化数据的类. |
int |
hashCode()
计算hashcode. |
java.lang.String |
toString()
覆盖toString方法. |
Methods inherited from class com.ijchart.xychart.label.LabelGeneratorAdaptor |
---|
generateGroupLabel, isGroup |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ijchart.xychart.label.ILabelGenerator |
---|
generateGroupLabel, isGroup |
Constructor Detail |
---|
public DefaultPieChartLabelGenerator()
public DefaultPieChartLabelGenerator(IChartDataFormatter formatter)
formatter
- IChartDataFormatter 格式化数据的类 (可为null).
Method Detail |
---|
public IChartDataFormatter getFormatter()
public java.lang.String generateLabel(IMatrixDataset dataset, int row, int column)
generateLabel
in interface ILabelGenerator
generateLabel
in class LabelGeneratorAdaptor
dataset
- IMatrixDataset 数据集 (不可为null).
row
- int 数据集的行数,必须大于等于0.
column
- int 数据集的列数,必须大于等于0.
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- 要比较的另一个对象 (可为null).
protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
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 int hashCode()
hashCode
in class java.lang.Object
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 |