public class CustomXYURLGenerator extends Object implements XYURLGenerator, Cloneable, PublicCloneable, Serializable
| Constructor and Description |
|---|
CustomXYURLGenerator()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addURLSeries(List urls)
Adds a list of URLs.
|
Object |
clone()
Returns a new generator that is a copy of, and independent from, this
generator.
|
boolean |
equals(Object obj)
Tests this generator for equality with an arbitrary object.
|
String |
generateURL(XYDataset dataset,
int series,
int item)
Generates a URL.
|
int |
getListCount()
Returns the number of URL lists stored by the renderer.
|
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 int getListCount()
public int getURLCount(int list)
list - the list index (zero based).public String getURL(int series, int item)
series - the series index.item - the item index.null).public 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(List urls)
urls - the list of URLs (null permitted, the list
is copied).public boolean equals(Object obj)
public Object clone() throws CloneNotSupportedException
clone in interface PublicCloneableclone in class ObjectCloneNotSupportedException - if there is a problem with cloning.Copyright © 2001–2017 JFree.org. All rights reserved.