org.jfree.chart.urls
Interface PieURLGenerator
- All Known Implementing Classes:
- CustomPieURLGenerator, StandardPieURLGenerator
- public interface PieURLGenerator
Interface for a URL generator for plots that use data from a
PieDataset
.
- Author:
- Richard Atkinson
generateURL
public java.lang.String generateURL(PieDataset dataset,
java.lang.Comparable key,
int pieIndex)
- Generates a URL for one item in a
PieDataset
. As a guideline,
the URL should be valid within the context of an XHTML 1.0 document.
- Parameters:
dataset
- the dataset (null
not permitted).key
- the item key.pieIndex
- the pie index (differentiates between pies in a
'multi' pie chart).
- Returns:
- A string containing the URL.