Class PieDatasetChartComponent
- java.lang.Object
-
- org.pentaho.platform.engine.core.system.PentahoBase
-
- org.pentaho.platform.engine.services.PentahoMessenger
-
- org.pentaho.platform.uifoundation.component.BaseUIComponent
-
- org.pentaho.platform.uifoundation.component.xml.XmlComponent
-
- org.pentaho.platform.uifoundation.chart.AbstractChartComponent
-
- org.pentaho.platform.uifoundation.chart.AbstractJFreeChartComponent
-
- org.pentaho.platform.uifoundation.chart.PieDatasetChartComponent
-
- All Implemented Interfaces:
Serializable
,org.pentaho.platform.api.engine.ILogger
,org.pentaho.platform.api.ui.IUIComponent
,org.pentaho.platform.api.ui.IXMLComponent
public class PieDatasetChartComponent extends AbstractJFreeChartComponent
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
dataAction
protected String
paramName2
-
Fields inherited from class org.pentaho.platform.uifoundation.chart.AbstractJFreeChartComponent
chartType, dataDefinition, jcrHelper
-
Fields inherited from class org.pentaho.platform.uifoundation.chart.AbstractChartComponent
actionOutput, actionPath, byRow, CHART_NODE_NAME, chartCount, context, definitionPath, FILENAME_INDEX, FILENAME_WITHOUT_EXTENSION_INDEX, height, instanceId, logger, outerParamNames, PARAM2_NODE_NAME, paramName, title, urlTemplate, URLTEMPLATE_NODE_NAME, values, width
-
Fields inherited from class org.pentaho.platform.uifoundation.component.BaseUIComponent
contentTypes, debug, urlFactory, xslProperties
-
Fields inherited from class org.pentaho.platform.engine.core.system.PentahoBase
EMPTYLOGID, loggingLevel, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description PieDatasetChartComponent(int chartType, String definitionPath, int width, int height, org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory, List messages)
PieDatasetChartComponent(String definitionPath, org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory, ArrayList messages)
PieDatasetChartComponent(org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory, List messages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jfree.data.general.Dataset
createChart(org.dom4j.Document doc)
Creates a Dataset object (actaully one of it's subclasses from the XML docorg.dom4j.Document
getXmlContent()
boolean
validate()
-
Methods inherited from class org.pentaho.platform.uifoundation.chart.AbstractJFreeChartComponent
getChartType, getDataDefinitiont, setChartType, setDataAction, setDataDefinition
-
Methods inherited from class org.pentaho.platform.uifoundation.chart.AbstractChartComponent
addOuterParamName, applyOuterURLTemplateParam, createTempFile, dispose, getActionData, getActionOutput, getActionPath, getContext, getDefinitionPath, getHeight, getInstanceId, getLogger, getParamName, getTitle, getUrlTemplate, getValues, getWidth, isByRow, setActionOutput, setActionPath, setByRow, setContext, setDataAction, setDefinitionPath, setHeight, setInstanceId, setLogger, setParamName, 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, getRequestHandler, getSession, getSourcePath, getUrlFactory, getXsl, getXslProperties, handleRequest, setParameterProvider, setParameterProviders, setRequestHandler, setSourcePath, 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
-
-
-
-
Constructor Detail
-
PieDatasetChartComponent
public PieDatasetChartComponent(int chartType, String definitionPath, int width, int height, org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory, List messages)
-
PieDatasetChartComponent
public PieDatasetChartComponent(String definitionPath, org.pentaho.platform.api.engine.IPentahoUrlFactory urlFactory, ArrayList messages)
-
PieDatasetChartComponent
public PieDatasetChartComponent(org.pentaho.platform.api.engine.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 classAbstractJFreeChartComponent
- Parameters:
doc
- XML document that describes the chart- Returns:
- the Dataset Implementation
-
getXmlContent
public org.dom4j.Document getXmlContent()
- Specified by:
getXmlContent
in interfaceorg.pentaho.platform.api.ui.IXMLComponent
- Specified by:
getXmlContent
in classXmlComponent
-
validate
public boolean validate()
- Specified by:
validate
in interfaceorg.pentaho.platform.api.ui.IUIComponent
- Specified by:
validate
in classBaseUIComponent
-
-