org.jfree.chart.urls
Class StandardPieURLGenerator
java.lang.Objectorg.jfree.chart.urls.StandardPieURLGenerator
- PieURLGenerator, Serializable
A URL generator for pie charts.
boolean | equals(Object obj)- Tests if this object is equal to another.
|
String | generateURL(PieDataset data, Comparable key, int pieIndex)- Generates a URL.
|
StandardPieURLGenerator
public StandardPieURLGenerator(String prefix,
String categoryParameterName) Creates a new generator.
prefix - the prefix.categoryParameterName - the category parameter name.
StandardPieURLGenerator
public StandardPieURLGenerator(String prefix,
String categoryParameterName,
String indexParameterName) Creates a new generator.
prefix - the prefix.categoryParameterName - the category parameter name.indexParameterName - the index parameter name
(null permitted).
equals
public boolean equals(Object obj)
Tests if this object is equal to another.
obj - the object (null permitted).
generateURL
public String generateURL(PieDataset data,
Comparable key,
int pieIndex) Generates a URL.
- generateURL in interface PieURLGenerator
data - the dataset.key - the item key.pieIndex - the pie index (ignored).
- A string containing the generated URL.