| org.jfree.chart.urls.PieURLGenerator
All known Subclasses: org.jfree.chart.urls.StandardPieURLGenerator, org.jfree.chart.urls.CustomPieURLGenerator,
PieURLGenerator | public interface PieURLGenerator (Code) | | Interface for a URL generator for plots that use data from a
PieDataset .
Classes that implement this interface should be either (a) immutable, or
(b) cloneable via the PublicCloneable interface (defined in
the JCommon class library). This provides a mechanism for the referring
plot to clone the generator if necessary.
|
generateURL | public String generateURL(PieDataset dataset, Comparable key, int pieIndex)(Code) | | 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). Parameters: key - the item key (null not permitted). Parameters: pieIndex - the pie index (differentiates between pies in a 'multi' pie chart). A string containing the URL. |
|
|