org.pentaho.platform.uifoundation.chart
Class FlashChartComponent

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.FlashChartComponent
All Implemented Interfaces:
Serializable, ILogger, IUIComponent, IXMLComponent

public class FlashChartComponent
extends AbstractChartComponent

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
FlashChartComponent(String definitionPath, int width, int height, IPentahoUrlFactory urlFactory, List messages)
           
 
Method Summary
 void dispose()
           
 String getChartContent(String mimeType)
           
 String getChartContent(String mimeType, boolean objectWrapper)
           
 String getContent(String mimeType)
           
 String getDialContent(String mimeType)
           
 String getDialContent(String mimeType, boolean objectWrapper)
           
 Log getLogger()
           
 Document getXmlContent()
           
 boolean setDataAction(String chartDefinition)
           
 void setTopX(int topX)
           
 boolean validate()
           
 
Methods inherited from class org.pentaho.platform.uifoundation.chart.AbstractChartComponent
addOuterParamName, getActionData, getActionName, getActionOutput, getActionPath, getContext, getDefinitionPath, getHeight, getInstanceId, 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.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, 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

FlashChartComponent

public FlashChartComponent(String definitionPath,
                           int width,
                           int height,
                           IPentahoUrlFactory urlFactory,
                           List messages)
Method Detail

getLogger

public Log getLogger()
Overrides:
getLogger in class AbstractChartComponent

validate

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

getXmlContent

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

setTopX

public void setTopX(int topX)

setDataAction

public boolean setDataAction(String chartDefinition)
Specified by:
setDataAction in class AbstractChartComponent
Parameters:
chartDefinition - String that represents a file in the solution to create the chart from.
Returns:

getContent

public String getContent(String mimeType)
Specified by:
getContent in interface IXMLComponent
Overrides:
getContent in class XmlComponent

getDialContent

public String getDialContent(String mimeType)

getDialContent

public String getDialContent(String mimeType,
                             boolean objectWrapper)

getChartContent

public String getChartContent(String mimeType)

getChartContent

public String getChartContent(String mimeType,
                              boolean objectWrapper)

dispose

public void dispose()
Overrides:
dispose in class AbstractChartComponent