org.pentaho.platform.uifoundation.chart
Class PieDatasetChartComponent

java.lang.Object
  extended by org.pentaho.platform.engine.core.system.PentahoBase
      extended by org.pentaho.platform.engine.services.PentahoMessenger
          extended by org.pentaho.platform.uifoundation.component.BaseUIComponent
              extended by org.pentaho.platform.uifoundation.component.xml.XmlComponent
                  extended by org.pentaho.platform.uifoundation.chart.AbstractChartComponent
                      extended by org.pentaho.platform.uifoundation.chart.AbstractJFreeChartComponent
                          extended by org.pentaho.platform.uifoundation.chart.PieDatasetChartComponent
All Implemented Interfaces:
Serializable, ILogger, IUIComponent, IXMLComponent

public class PieDatasetChartComponent
extends AbstractJFreeChartComponent

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.pentaho.platform.uifoundation.chart.AbstractChartComponent
CHART_NODE_NAME, FILENAME_INDEX, FILENAME_WITHOUT_EXTENSION_INDEX, PARAM2_NODE_NAME, URLTEMPLATE_NODE_NAME
 
Fields inherited from class org.pentaho.platform.uifoundation.component.BaseUIComponent
debug
 
Fields inherited from class org.pentaho.platform.engine.core.system.PentahoBase
EMPTYLOGID, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR
 
Fields inherited from interface org.pentaho.platform.api.engine.ILogger
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN
 
Constructor Summary
PieDatasetChartComponent(int chartType, String definitionPath, int width, int height, IPentahoUrlFactory urlFactory, List messages)
           
PieDatasetChartComponent(IPentahoUrlFactory urlFactory, List messages)
           
PieDatasetChartComponent(String definitionPath, IPentahoUrlFactory urlFactory, ArrayList messages)
           
 
Method Summary
 org.jfree.data.general.Dataset createChart(org.dom4j.Document doc)
          Creates a Dataset object (actaully one of it's subclasses from the XML doc
 org.dom4j.Document getXmlContent()
           
 boolean validate()
           
 
Methods inherited from class org.pentaho.platform.uifoundation.chart.AbstractJFreeChartComponent
getChartType, getDataDefinitiont, getResourceAsDocument, setChartType, setDataAction, setDataDefinition
 
Methods inherited from class org.pentaho.platform.uifoundation.chart.AbstractChartComponent
addOuterParamName, dispose, getActionData, getActionName, getActionOutput, getActionPath, getContext, getDefinitionPath, getHeight, getInstanceId, getLogger, getParamName, getSolution, getTitle, getUrlTemplate, getValues, getWidth, isByRow, setActionName, setActionOutput, setActionPath, setByRow, setContext, setDataAction, setDefinitionPath, setHeight, setInstanceId, setLogger, setParamName, setSolution, setTitle, setUrlTemplate, setValues, setWidth
 
Methods inherited from class org.pentaho.platform.uifoundation.component.xml.XmlComponent
getContent
 
Methods inherited from class org.pentaho.platform.uifoundation.component.BaseUIComponent
done, getObjectParameter, getParameter, getParameterAsArray, getParameterProviders, getXsl, getXslProperties, handleRequest, setParameterProvider, setParameterProviders, setRequestHandler, setUrlFactory, setXsl, setXslProperty, validate
 
Methods inherited from class org.pentaho.platform.engine.services.PentahoMessenger
debug, debug, error, error, error, fatal, fatal, getMessages, getUserString, info, info, setMessages, trace, trace, warn, warn
 
Methods inherited from class org.pentaho.platform.engine.core.system.PentahoBase
genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, getLogId, getObjectName, setLoggingLevel, setLogId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PieDatasetChartComponent

public PieDatasetChartComponent(int chartType,
                                String definitionPath,
                                int width,
                                int height,
                                IPentahoUrlFactory urlFactory,
                                List messages)

PieDatasetChartComponent

public PieDatasetChartComponent(String definitionPath,
                                IPentahoUrlFactory urlFactory,
                                ArrayList messages)

PieDatasetChartComponent

public PieDatasetChartComponent(IPentahoUrlFactory urlFactory,
                                List messages)
Method Detail

createChart

public org.jfree.data.general.Dataset createChart(org.dom4j.Document doc)
Description copied from class: AbstractJFreeChartComponent
Creates a Dataset object (actaully one of it's subclasses from the XML doc

Specified by:
createChart in class AbstractJFreeChartComponent
Parameters:
doc - XML document that describes the chart
Returns:
the Dataset Implementation

getXmlContent

public org.dom4j.Document getXmlContent()
Specified by:
getXmlContent in interface IXMLComponent
Specified by:
getXmlContent in class XmlComponent

validate

public boolean validate()
Specified by:
validate in interface IUIComponent
Specified by:
validate in class BaseUIComponent