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