|
|||||||||
| 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.
The default label generator for pie chart,this class is immutable.Copyright: Copyright (c) 2013
Company:
| Constructor Summary | |
|---|---|
DefaultPieChartLabelGenerator()
No argument constructor. |
|
DefaultPieChartLabelGenerator(IChartDataFormatter formatter)
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 |
generateLabel(IMatrixDataset dataset,
int row,
int column)
Returns this data formatter. |
int |
hashCode()
Returns a hash code. |
java.lang.String |
toString()
Returns a string representation of this Range. |
| 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
The data formatter (null permitted).| Method Detail |
|---|
public IChartDataFormatter getFormatter()
public java.lang.String generateLabel(IMatrixDataset dataset,
int row,
int column)
generateLabel in interface ILabelGeneratorgenerateLabel in class LabelGeneratorAdaptordataset - 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.Objectobj -
The object to test against (null permitted).
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.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.Objectpublic 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 | ||||||||