hudson.plugins.plot
Class PointURLGenerator

java.lang.Object
  extended by hudson.plugins.plot.PointURLGenerator
All Implemented Interfaces:
org.jfree.chart.urls.CategoryURLGenerator

public class PointURLGenerator
extends java.lang.Object
implements org.jfree.chart.urls.CategoryURLGenerator

Returns the URL for a given data point.

Author:
Nigel Daley

Constructor Summary
PointURLGenerator()
           
 
Method Summary
 java.lang.String generateURL(org.jfree.data.category.CategoryDataset dataset, int series, int category)
          Retrieves a URL from the given dataset for a particular item within a series.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointURLGenerator

public PointURLGenerator()
Method Detail

generateURL

public java.lang.String generateURL(org.jfree.data.category.CategoryDataset dataset,
                                    int series,
                                    int category)
Retrieves a URL from the given dataset for a particular item within a series. If the given dataset isn't a PlotCategoryDataset, then null is returned.

Specified by:
generateURL in interface org.jfree.chart.urls.CategoryURLGenerator
Parameters:
dataset - the dataset
series - the series index (zero-based)
category - the category index (zero-based)
Returns:
the generated URL


Copyright © 2007. All Rights Reserved.