|
Header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jfree.chart.urls.CustomXYURLGenerator
public class CustomXYURLGenerator
A custom URL generator.
Constructor Summary | |
---|---|
CustomXYURLGenerator()
Default constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomXYURLGenerator()
Method Detail |
---|
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 XYURLGenerator
dataset
- 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.Object
obj
- the object (null
permitted).
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface org.jfree.util.PublicCloneable
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if there is a problem with cloning.
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |