|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.chart.urls.CustomPieURLGenerator
A custom URL generator for pie charts.
| Constructor Summary | |
CustomPieURLGenerator()
Default constructor. |
|
| Method Summary | |
void |
addURLs(java.util.Map urlMap)
Adds a map of URLs. |
java.lang.Object |
clone()
Returns a clone of the generator. |
boolean |
equals(java.lang.Object o)
Tests if this object is equal to another. |
java.lang.String |
generateURL(PieDataset dataset,
java.lang.Comparable key,
int pieIndex)
Generates a URL. |
int |
getListCount()
Returns the number of URL lists stored by the renderer. |
java.lang.String |
getURL(java.lang.Comparable key,
int pieItem)
Returns the URL for an item. |
int |
getURLCount(int list)
Returns the number of URLs in a given list. |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CustomPieURLGenerator()
| Method Detail |
public java.lang.String generateURL(PieDataset dataset,
java.lang.Comparable key,
int pieIndex)
generateURL in interface PieURLGeneratordataset - the dataset.key - the item key.pieIndex - the pie index (ignored).
public int getListCount()
public int getURLCount(int list)
list - the list index (zero based).
public java.lang.String getURL(java.lang.Comparable key,
int pieItem)
key - the key.pieItem - the item index.
public void addURLs(java.util.Map urlMap)
urlMap - the URLs.public boolean equals(java.lang.Object o)
o - the other object.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface org.jfree.util.PublicCloneablejava.lang.CloneNotSupportedException - if cloning is not supported.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||