java.lang.Object
org.jfree.chart.urls.StandardXYURLGenerator
- All Implemented Interfaces:
Serializable
,XYURLGenerator
- Direct Known Subclasses:
StandardXYZURLGenerator
A URL generator.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCreates a new default generator.StandardXYURLGenerator
(String prefix) Creates a new generator with the specified prefix.StandardXYURLGenerator
(String prefix, String seriesParameterName, String itemParameterName) Constructor that overrides all the defaults -
Method Summary
-
Field Details
-
DEFAULT_PREFIX
The default prefix.- See Also:
-
DEFAULT_SERIES_PARAMETER
The default series parameter.- See Also:
-
DEFAULT_ITEM_PARAMETER
The default item parameter.- See Also:
-
-
Constructor Details
-
StandardXYURLGenerator
public StandardXYURLGenerator()Creates a new default generator. This constructor is equivalent to callingStandardXYURLGenerator("index.html", "series", "item");
. -
StandardXYURLGenerator
Creates a new generator with the specified prefix. This constructor is equivalent to callingStandardXYURLGenerator(prefix, "series", "item");
.- Parameters:
prefix
- the prefix to the URL (null
not permitted).
-
StandardXYURLGenerator
Constructor that overrides all the defaults- Parameters:
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 Details
-
generateURL
Generates a URL for a particular item within a series.- Specified by:
generateURL
in interfaceXYURLGenerator
- Parameters:
dataset
- the dataset.series
- the series number (zero-based index).item
- the item number (zero-based index).- Returns:
- The generated URL.
-
equals
Tests this generator for equality with an arbitrary object. -
hashCode
public int hashCode()
-