java.lang.Object
org.jfree.chart.urls.StandardPieURLGenerator
- All Implemented Interfaces:
Serializable
,PieURLGenerator
A URL generator for pie charts. Instances of this class are immutable.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructor.StandardPieURLGenerator
(String prefix) Creates a new generator.StandardPieURLGenerator
(String prefix, String categoryParamName) Creates a new generator.StandardPieURLGenerator
(String prefix, String categoryParamName, String indexParamName) Creates a new generator. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Tests if this object is equal to another.generateURL
(PieDataset dataset, Comparable key, int pieIndex) Generates a URL.
-
Constructor Details
-
StandardPieURLGenerator
public StandardPieURLGenerator()Default constructor. -
StandardPieURLGenerator
Creates a new generator.- Parameters:
prefix
- the prefix (null
not permitted).
-
StandardPieURLGenerator
Creates a new generator.- Parameters:
prefix
- the prefix (null
not permitted).categoryParamName
- the category parameter name (null
not permitted).
-
StandardPieURLGenerator
Creates a new generator.- Parameters:
prefix
- the prefix (null
not permitted).categoryParamName
- the category parameter name (null
not permitted).indexParamName
- the index parameter name (null
permitted).
-
-
Method Details
-
generateURL
Generates a URL.- Specified by:
generateURL
in interfacePieURLGenerator
- Parameters:
dataset
- the dataset (ignored).key
- the item key (null
not permitted).pieIndex
- the pie index.- Returns:
- A string containing the generated URL.
-
equals
Tests if this object is equal to another.
-