|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ijchart.xychart.format.AbstractChartDataFormatterAdapter
com.ijchart.xychart.format.NumberGroupChartDataFormatter
public class NumberGroupChartDataFormatter
Title: IJChart
Description: a chart library for the Java(tm) platform.
数字类型(NumberGroupChartData
的格式化类.
Copyright: Copyright (c) 2013
Company:
Constructor Summary | |
---|---|
NumberGroupChartDataFormatter(java.lang.String mask)
构造器. |
Method Summary | |
---|---|
protected java.lang.Object |
clone()
克隆本对象. |
boolean |
equals(java.lang.Object obj)
测试两个对象是否相等. |
java.lang.String |
format(IMatrixDataset dataset,
int row,
int column,
int index)
格式化数据集中某个数据 IChartData 为字符串.
|
java.text.DecimalFormat |
getFormat()
返回数字化格式化类. |
int |
hashCode()
计算hashcode. |
java.lang.String |
toString()
覆盖toString方法. |
Methods inherited from class com.ijchart.xychart.format.AbstractChartDataFormatterAdapter |
---|
format |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ijchart.xychart.format.IChartDataFormatter |
---|
format |
Constructor Detail |
---|
public NumberGroupChartDataFormatter(java.lang.String mask)
mask
- String 数字掩码 (不可为null).
Method Detail |
---|
public java.text.DecimalFormat getFormat()
public java.lang.String format(IMatrixDataset dataset, int row, int column, int index)
IChartData
为字符串.
format
in interface IChartDataFormatter
format
in class AbstractChartDataFormatterAdapter
dataset
- IMatrixDataset 数据集对象 (不可为null).
row
- int 数据集的行数,必须大于等于0.
column
- int 数据集的列数,必须大于等于0.
index
- int 数据中的一个数据点由多个数据组成,此值表示索引.
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 |