Save This Page
Home » jcommon-1.0.13 » org.jfree » chart » urls » [javadoc | source]
org.jfree.chart.urls
public class: CustomPieURLGenerator [javadoc | source]
java.lang.Object
   org.jfree.chart.urls.CustomPieURLGenerator

All Implemented Interfaces:
    PublicCloneable, Cloneable, Serializable, PieURLGenerator

A custom URL generator for pie charts.
Constructor:
 public CustomPieURLGenerator() 
Method from org.jfree.chart.urls.CustomPieURLGenerator Summary:
addURLs,   clone,   equals,   generateURL,   getListCount,   getURL,   getURLCount
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.chart.urls.CustomPieURLGenerator Detail:
 public  void addURLs(Map urlMap) 
    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 .
 public Object clone() throws CloneNotSupportedException 
    Returns a clone of the generator.
 public boolean equals(Object o) 
    Tests if this object is equal to another.
 public String generateURL(PieDataset dataset,
    Comparable key,
    int pieIndex) 
    Generates a URL fragment.
 public int getListCount() 
    Returns the number of URL maps stored by the renderer.
 public String getURL(Comparable key,
    int mapIndex) 
    Returns the URL for a section in the specified map.
 public int getURLCount(int list) 
    Returns the number of URLs in a given map (specified by its position in the map list).