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.

Version:
$Id: ChartImpl.java 13041 2008-09-26 23:13:59Z sdumitriu $

Constructor Summary
ChartImpl(ChartParams params, java.lang.String imageURL, java.lang.String pageURL)
           
 
Method Summary
 java.lang.String getImageURL()
           
 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
 

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()
Specified by:
getImageURL in interface Chart
Returns:
The location of the generated image

setImageURL

public void setImageURL(java.lang.String imageURL)

getParameters

public ChartParams getParameters()
Specified by:
getParameters in interface Chart


Copyright © 2004-2008 XWiki. All Rights Reserved.