public class CustomXYURLGenerator extends java.lang.Object implements XYURLGenerator, java.lang.Cloneable, org.jfree.util.PublicCloneable, 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.
|
java.lang.Object |
clone()
Returns a new generator that is a copy of, and independent from, this
generator.
|
boolean |
equals(java.lang.Object obj)
Tests this generator for equality with an arbitrary object.
|
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 (null permitted, the list
is copied).public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object (null permitted).public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone in interface org.jfree.util.PublicCloneableclone in class java.lang.Objectjava.lang.CloneNotSupportedException - if there is a problem with cloning.