|
JFreeChart 1.0.14-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.urls.StandardCategoryURLGenerator
public class StandardCategoryURLGenerator
A URL generator that can be assigned to a
CategoryItemRenderer
.
Constructor Summary | |
---|---|
StandardCategoryURLGenerator()
Creates a new generator with default settings. |
|
StandardCategoryURLGenerator(String prefix)
Constructor that overrides default prefix to the URL. |
|
StandardCategoryURLGenerator(String prefix,
String seriesParameterName,
String categoryParameterName)
Constructor that overrides all the defaults. |
Method Summary | |
---|---|
Object |
clone()
Returns an independent copy of the URL generator. |
boolean |
equals(Object obj)
Tests the generator for equality with an arbitrary object. |
String |
generateURL(CategoryDataset dataset,
int series,
int category)
Generates a URL for a particular item within a series. |
int |
hashCode()
Returns a hash code. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StandardCategoryURLGenerator()
public StandardCategoryURLGenerator(String prefix)
prefix
- the prefix to the URL (null
not permitted).public StandardCategoryURLGenerator(String prefix, String seriesParameterName, String categoryParameterName)
prefix
- the prefix to the URL (null
not permitted).seriesParameterName
- the name of the series parameter to go in
each URL (null
not permitted).categoryParameterName
- the name of the category parameter to go in
each URL (null
not permitted).Method Detail |
---|
public String generateURL(CategoryDataset dataset, int series, int category)
generateURL
in interface CategoryURLGenerator
dataset
- the dataset.series
- the series index (zero-based).category
- the category index (zero-based).
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
- not thrown by this class, but
subclasses (if any) might.public boolean equals(Object obj)
equals
in class Object
obj
- the object (null
permitted).
public int hashCode()
hashCode
in class Object
|
JFreeChart 1.0.14-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |