|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.laures.cewolf.example.PageViewCountData
An example data producer.
| Field Summary |
| Fields inherited from interface de.laures.cewolf.DatasetProducer |
PRODUCER_ATTRIBUTE_NAME |
| Constructor Summary | |
PageViewCountData()
|
|
| Method Summary | |
protected void |
finalize()
|
java.lang.String |
generateLink(java.lang.Object data,
int series,
java.lang.Object category)
Returns a link target for a special data item. |
java.lang.String |
generateToolTip(org.jfree.data.CategoryDataset arg0,
int series,
int arg2)
|
java.lang.String |
getProducerId()
Returns a unique ID for this DatasetProducer |
boolean |
hasExpired(java.util.Map params,
java.util.Date since)
This producer's data is invalidated after 5 seconds. |
java.lang.Object |
produceDataset(java.util.Map params)
Produces some random data. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PageViewCountData()
| Method Detail |
public java.lang.Object produceDataset(java.util.Map params)
throws DatasetProduceException
produceDataset in interface DatasetProducerparams - additional params for the dataset production. All elements
of this HashMap are of type java.io.Serializable. This is
necessary to ensure the the serialization of the dataset producer into
the http session. To provide a producer with additional production
parameters the <param> tag is used (see tag library documentation).
It is recommended to synchronize implementations of this method to avoid
concurrency problems.
org.jfree.data.Dataset.
DatasetProduceException - if an error occured during production
public boolean hasExpired(java.util.Map params,
java.util.Date since)
hasExpired in interface DatasetProducerparams - the production parameters of the already produced datasince - the point in time when the already produced data had been produced
true if the data which had been produced with the
passed in parameters has expired since its creation, false
otherwisepublic java.lang.String getProducerId()
getProducerId in interface DatasetProducer
public java.lang.String generateLink(java.lang.Object data,
int series,
java.lang.Object category)
generateLink in interface CategoryItemLinkGeneratordata - the datasetseries - the series numbercategory - the categoryCategoryDataset
protected void finalize()
throws java.lang.Throwable
java.lang.ThrowableObject.finalize()
public java.lang.String generateToolTip(org.jfree.data.CategoryDataset arg0,
int series,
int arg2)
generateToolTip in interface org.jfree.chart.tooltips.CategoryToolTipGeneratorCategoryToolTipGenerator.generateToolTip(CategoryDataset, int, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||