public class StandardPieURLGenerator extends Object implements PieURLGenerator, Serializable
| Constructor and Description |
|---|
StandardPieURLGenerator()
Default constructor.
|
StandardPieURLGenerator(String prefix)
Creates a new generator.
|
StandardPieURLGenerator(String prefix,
String categoryParameterName)
Creates a new generator.
|
StandardPieURLGenerator(String prefix,
String categoryParameterName,
String indexParameterName)
Creates a new generator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Tests if this object is equal to another.
|
String |
generateURL(PieDataset dataset,
Comparable key,
int pieIndex)
Generates a URL.
|
public StandardPieURLGenerator()
public StandardPieURLGenerator(String prefix)
prefix - the prefix (null not permitted).public StandardPieURLGenerator(String prefix, String categoryParameterName)
prefix - the prefix (null not permitted).categoryParameterName - the category parameter name
(null not permitted).public StandardPieURLGenerator(String prefix, String categoryParameterName, String indexParameterName)
prefix - the prefix (null not permitted).categoryParameterName - the category parameter name
(null not permitted).indexParameterName - the index parameter name (null
permitted).public String generateURL(PieDataset dataset, Comparable key, int pieIndex)
generateURL in interface PieURLGeneratordataset - the dataset (ignored).key - the item key (null not permitted).pieIndex - the pie index.Copyright © 2001-2014 JFree.org. All Rights Reserved.