|
|||||||||
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.StatisticalChartDataFormatter
public class StatisticalChartDataFormatter
Title: IJChart
Description: a chart library for the Java(tm) platform.
A formatter class forStatisticalChartData
chart data.
Copyright: Copyright (c) 2013
Company:
Field Summary | |
---|---|
static int |
STATISTICAL_FORMATTER_TYPE_DEVIATION
Show deviation value only. |
static int |
STATISTICAL_FORMATTER_TYPE_MEAN
Show mean value only. |
static int |
STATISTICAL_FORMATTER_TYPE_MEAN_DEVIATION
Show (mean,deviation) value. |
Constructor Summary | |
---|---|
StatisticalChartDataFormatter(java.lang.String meanMask,
java.lang.String deviationMask,
int formatType)
Constructor. |
Method Summary | |
---|---|
protected java.lang.Object |
clone()
Creates and returns a copy of this object. |
boolean |
equals(java.lang.Object obj)
Tests this object for equality with an arbitrary object. |
java.lang.String |
format(IMatrixDataset dataset,
int row,
int column)
Formatted an IChartData object to a string. |
java.text.DecimalFormat |
getDeviationFormat()
Returns the deviation-value format object. |
int |
getFormatType()
Returns the format type; |
java.text.DecimalFormat |
getMeanFormat()
Returns the mean-value format object. |
int |
hashCode()
Returns a hash code. |
java.lang.String |
toString()
Returns a string representation of this Range. |
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 |
Field Detail |
---|
public static final int STATISTICAL_FORMATTER_TYPE_MEAN
public static final int STATISTICAL_FORMATTER_TYPE_DEVIATION
public static final int STATISTICAL_FORMATTER_TYPE_MEAN_DEVIATION
Constructor Detail |
---|
public StatisticalChartDataFormatter(java.lang.String meanMask, java.lang.String deviationMask, int formatType)
meanMask
- String
The mean-value format mask (null not permitted).deviationMask
- String
The deviation-value format mask (null not permitted).formatType
- int
The format type,see STATISTICAL_FORMATTER_TYPE_MEAN
,
STATISTICAL_FORMATTER_TYPE_DEVIATION
,
STATISTICAL_FORMATTER_TYPE_MEAN_DEVIATION
.Method Detail |
---|
public int getFormatType()
public java.text.DecimalFormat getMeanFormat()
public java.text.DecimalFormat getDeviationFormat()
public java.lang.String format(IMatrixDataset dataset, int row, int column)
IChartData
object to a string.
format
in interface IChartDataFormatter
format
in class AbstractChartDataFormatterAdapter
dataset
- IMatrixDataset
The dataset (null not permitted).row
- int
The dataset row number,must be greater than or equal to 0.column
- int
The dataset column number,must be greater than or equal to 0.
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-
The object to test against (null permitted).
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 |