|
Header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jfree.chart.urls.StandardXYURLGenerator
public class StandardXYURLGenerator
A URL generator.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_ITEM_PARAMETER
The default item parameter. |
static java.lang.String |
DEFAULT_PREFIX
The default prefix. |
static java.lang.String |
DEFAULT_SERIES_PARAMETER
The default series parameter. |
Constructor Summary | |
---|---|
StandardXYURLGenerator()
Creates a new default generator. |
|
StandardXYURLGenerator(java.lang.String prefix)
Creates a new generator with the specified prefix. |
|
StandardXYURLGenerator(java.lang.String prefix,
java.lang.String seriesParameterName,
java.lang.String itemParameterName)
Constructor that overrides all the defaults |
Method Summary | |
---|---|
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 for a particular item within a series. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_PREFIX
public static final java.lang.String DEFAULT_SERIES_PARAMETER
public static final java.lang.String DEFAULT_ITEM_PARAMETER
Constructor Detail |
---|
public StandardXYURLGenerator()
StandardXYURLGenerator("index.html", "series", "item");
.
public StandardXYURLGenerator(java.lang.String prefix)
StandardXYURLGenerator(prefix, "series", "item");
.
prefix
- the prefix to the URL (null
not permitted).public StandardXYURLGenerator(java.lang.String prefix, java.lang.String seriesParameterName, java.lang.String itemParameterName)
prefix
- the prefix to the URL (null
not permitted).seriesParameterName
- the name of the series parameter to go in
each URL (null
not permitted).itemParameterName
- the name of the item parameter to go in each
URL (null
not permitted).Method Detail |
---|
public java.lang.String generateURL(XYDataset dataset, int series, int item)
generateURL
in interface XYURLGenerator
dataset
- the dataset.series
- the series number (zero-based index).item
- the item number (zero-based index).
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object (null
permitted).
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |