|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.chart.urls.CustomCategoryURLGenerator
public class CustomCategoryURLGenerator
A custom URL generator.
| Constructor Summary | |
|---|---|
CustomCategoryURLGenerator()
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 if this object is equal to another. |
java.lang.String |
generateURL(CategoryDataset 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 CustomCategoryURLGenerator()
| 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(CategoryDataset dataset,
int series,
int item)
generateURL in interface CategoryURLGeneratordataset - the dataset (ignored in this implementation).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).public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the other object.
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||