java.lang.Object | |
↳ | org.jfree.chart.urls.CustomPieURLGenerator |
A custom URL generator for pie charts.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
CustomPieURLGenerator instance, initially
empty. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a map containing
(key, URL) mappings where each
key is an instance of Comparable
(corresponding to the key for an item in a pie dataset) and each
URL is a String representing a URL fragment. | |||||||||||
Returns a clone of the generator.
| |||||||||||
Tests if this object is equal to another.
| |||||||||||
Generates a URL fragment.
| |||||||||||
Returns the number of URL maps stored by the renderer.
| |||||||||||
Returns the URL for a section in the specified map.
| |||||||||||
Returns the number of URLs in a given map (specified by its position
in the map list).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Creates a new CustomPieURLGenerator
instance, initially
empty. Call addURLs(Map)
to specify the URL fragments to be
used.
Adds a map containing (key, URL)
mappings where each
key
is an instance of Comparable
(corresponding to the key for an item in a pie dataset) and each
URL
is a String
representing a URL fragment.
The map is appended to an internal list...you can add multiple maps
if you are working with, say, a MultiplePiePlot
.
urlMap | the URLs (null permitted).
|
---|
Returns a clone of the generator.
CloneNotSupportedException | if cloning is not supported. |
---|
Tests if this object is equal to another.
o | the other object. |
---|
Generates a URL fragment.
dataset | the dataset (ignored). |
---|---|
key | the item key. |
pieIndex | the pie index. |
Returns the number of URL maps stored by the renderer.
Returns the URL for a section in the specified map.
key | the key. |
---|---|
mapIndex | the map index. |
Returns the number of URLs in a given map (specified by its position in the map list).
list | the list index (zero based). |
---|