com.xpn.xwiki.plugin.charts
Class ChartImpl

java.lang.Object
  extended by 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.


Field Summary
private  java.lang.String imageURL
           
private  java.lang.String pageURL
           
private  ChartParams params
           
 
Constructor Summary
ChartImpl(ChartParams params, java.lang.String imageURL, java.lang.String pageURL)
           
 
Method Summary
 java.lang.String getImageURL()
          The location of the generated image.
 java.lang.String getPageURL()
           
 ChartParams getParameters()
           
 java.lang.String getTitle()
          Each chart should have a title.
 void setImageURL(java.lang.String imageURL)
           
 void setPageURL(java.lang.String pageURL)
           
 void setTitle(java.lang.String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pageURL

private java.lang.String pageURL

imageURL

private java.lang.String imageURL

params

private ChartParams params
Constructor Detail

ChartImpl

public ChartImpl(ChartParams params,
                 java.lang.String imageURL,
                 java.lang.String pageURL)
Method Detail

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