public class CustomXYURLGenerator extends java.lang.Object implements XYURLGenerator, java.io.Serializable
| Constructor and Description |
|---|
CustomXYURLGenerator()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addURLSeries(java.util.List urls)
Adds a list of URLs.
|
boolean |
equals(java.lang.Object o)
Tests if this object is equal to another.
|
java.lang.String |
generateURL(XYDataset dataset,
int series,
int item)
Generates a URL.
|
int |
getListCount()
Returns the number of URL lists stored by the renderer.
|
java.lang.String |
getURL(int series,
int item)
Returns the URL for an item.
|
int |
getURLCount(int list)
Returns the number of URLs in a given list.
|
public CustomXYURLGenerator()
public int getListCount()
public int getURLCount(int list)
list - the list index (zero based).public java.lang.String getURL(int series, int item)
series - the series index.item - the item index.null).public java.lang.String generateURL(XYDataset dataset, int series, int item)
generateURL in interface XYURLGeneratordataset - the dataset.series - the series (zero-based index).item - the item (zero-based index).null).public void addURLSeries(java.util.List urls)
urls - the list of URLs.public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the other object.