org.pentaho.platform.uifoundation.chart
Class AbstractChartComponent
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
- All Implemented Interfaces:
- Serializable, ILogger, IUIComponent, IXMLComponent
- Direct Known Subclasses:
- AbstractJFreeChartComponent, FlashChartComponent
public abstract class AbstractChartComponent
- extends XmlComponent
- See Also:
- Serialized Form
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 |
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, validate |
Methods inherited from class org.pentaho.platform.engine.services.PentahoMessenger |
debug, debug, error, error, fatal, fatal, getMessages, getUserString, info, info, setMessages, trace, trace, warn, warn |
CHART_NODE_NAME
public static final String CHART_NODE_NAME
- XML Node for the chart configuration
- See Also:
- Constant Field Values
URLTEMPLATE_NODE_NAME
public static final String URLTEMPLATE_NODE_NAME
- XML node for the URL Template
- See Also:
- Constant Field Values
PARAM2_NODE_NAME
public static final String PARAM2_NODE_NAME
- XML node for the series name
- See Also:
- Constant Field Values
FILENAME_INDEX
public static final int FILENAME_INDEX
- Index into array of the filename
- See Also:
- Constant Field Values
FILENAME_WITHOUT_EXTENSION_INDEX
public static final int FILENAME_WITHOUT_EXTENSION_INDEX
- Index into array of the filename without the extension
- See Also:
- Constant Field Values
setDataAction
public abstract boolean setDataAction(String chartDefinition)
- Parameters:
chartDefinition
- String that represents a file in the solution to create the
chart from.
- Returns:
setDataAction
public void setDataAction(String solution,
String actionPath,
String actionName,
String actionOutput)
- Sets the action to be executed to get the data for the pies
- Parameters:
solution
- actionPath
- actionName
- actionOutput
-
getActionData
public IPentahoResultSet getActionData()
- Gets a IPentahoResultSet from the action output
- Returns:
- IPentahoResultSet
getLogger
public Log getLogger()
- Specified by:
getLogger
in class BaseUIComponent
dispose
public void dispose()
getActionName
public String getActionName()
- Returns:
- Returns the actionName.
setActionName
public void setActionName(String actionName)
- Parameters:
actionName
- The actionName to set.
getActionOutput
public String getActionOutput()
- Returns:
- Returns the actionOutput.
setActionOutput
public void setActionOutput(String actionOutput)
- Parameters:
actionOutput
- The actionOutput to set.
getActionPath
public String getActionPath()
- Returns:
- Returns the actionPath.
setActionPath
public void setActionPath(String actionPath)
- Parameters:
actionPath
- The actionPath to set.
getContext
public IRuntimeContext getContext()
- Returns:
- Returns the context.
setContext
public void setContext(IRuntimeContext context)
- Parameters:
context
- The context to set.
getDefinitionPath
public String getDefinitionPath()
- Returns:
- Returns the definitionPath.
setDefinitionPath
public void setDefinitionPath(String definitionPath)
- Parameters:
definitionPath
- The definitionPath to set.
getHeight
public int getHeight()
- Returns:
- Returns the height.
setHeight
public void setHeight(int height)
- Parameters:
height
- The height to set.
getInstanceId
public String getInstanceId()
- Returns:
- Returns the instanceId.
setInstanceId
public void setInstanceId(String instanceId)
- Parameters:
instanceId
- The instanceId to set.
getSolution
public String getSolution()
- Returns:
- Returns the solution.
setSolution
public void setSolution(String solution)
- Parameters:
solution
- The solution to set.
getTitle
public String getTitle()
- Returns:
- Returns the title.
setTitle
public void setTitle(String title)
- Parameters:
title
- The title to set.
getUrlTemplate
public String getUrlTemplate()
- Returns:
- Returns the urlTemplate.
setUrlTemplate
public void setUrlTemplate(String urlTemplate)
- Parameters:
urlTemplate
- The urlTemplate to set.
getValues
public Object getValues()
- Returns:
- Returns the values.
setValues
public void setValues(Object values)
- Parameters:
values
- The values to set.
getWidth
public int getWidth()
- Returns:
- Returns the width.
setWidth
public void setWidth(int width)
- Parameters:
width
- The width to set.
setLogger
public void setLogger(Log logger)
- Parameters:
logger
- The logger to set.
isByRow
public boolean isByRow()
- Returns:
- Returns the byRow.
setByRow
public void setByRow(boolean byRow)
- Parameters:
byRow
- The byRow to set.
getParamName
public String getParamName()
- Returns:
- Returns the paramName.
setParamName
public void setParamName(String paramName)
- Parameters:
paramName
- The paramName to set.
addOuterParamName
public void addOuterParamName(String outerParamName)
- Parameters:
outerParamName
- The outerParamNames name to add to the outParamNames list.