com.xpn.xwiki.plugin.charts
Class ChartImpl
java.lang.Object
com.xpn.xwiki.plugin.charts.ChartImpl
- All Implemented Interfaces:
- Chart
public class ChartImpl
- extends java.lang.Object
- implements Chart
Represents a SVG chart as returned by the ChartingPlugin.
Constructor Summary |
ChartImpl(ChartParams params,
java.lang.String imageURL,
java.lang.String pageURL)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pageURL
private java.lang.String pageURL
imageURL
private java.lang.String imageURL
params
private ChartParams params
ChartImpl
public ChartImpl(ChartParams params,
java.lang.String imageURL,
java.lang.String pageURL)
getTitle
public java.lang.String getTitle()
- Description copied from interface:
Chart
- Each chart should have a title.
- Specified by:
getTitle
in interface Chart
- Returns:
- The chart title.
setTitle
public void setTitle(java.lang.String title)
getPageURL
public java.lang.String getPageURL()
- Specified by:
getPageURL
in interface Chart
setPageURL
public void setPageURL(java.lang.String pageURL)
getImageURL
public java.lang.String getImageURL()
- Description copied from interface:
Chart
- The location of the generated image.
- Specified by:
getImageURL
in interface Chart
- Returns:
setImageURL
public void setImageURL(java.lang.String imageURL)
getParameters
public ChartParams getParameters()
- Specified by:
getParameters
in interface Chart
Copyright 2003 Ludovic Dubost