org.ow2.opensuit.xml.chart
Class CategoryChart

java.lang.Object
  extended by org.ow2.opensuit.xml.chart.BaseChart
      extended by org.ow2.opensuit.xml.chart.CategoryChart
All Implemented Interfaces:
org.ow2.opensuit.xml.base.html.IView, org.ow2.opensuit.xml.interfaces.IBeanProvider, org.ow2.opensuit.xml.interfaces.IRenderable, org.ow2.opensuit.xmlmap.interfaces.IInitializable

@XmlElement
public class CategoryChart
extends BaseChart
implements org.ow2.opensuit.xml.interfaces.IBeanProvider


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ow2.opensuit.xml.interfaces.IBeanProvider
org.ow2.opensuit.xml.interfaces.IBeanProvider.UnresolvedBeanError
 
Field Summary
protected  org.ow2.opensuit.xml.base.binding.Expression categories
           
protected  org.ow2.opensuit.xml.base.binding.Expression categoryAxisLabel
           
protected  org.ow2.opensuit.xml.base.binding.Expression categoryName
           
protected  org.ow2.opensuit.xml.base.action.IAction onClickValue
           
protected  org.ow2.opensuit.xml.base.binding.Expression serieName
           
protected  org.ow2.opensuit.xml.base.binding.Expression series
           
protected  org.ow2.opensuit.xml.base.binding.Expression value
           
protected  org.ow2.opensuit.xml.base.binding.Expression valueAxisLabel
           
protected  org.ow2.opensuit.xml.base.binding.Expression valueTooltip
           
 
Fields inherited from class org.ow2.opensuit.xml.chart.BaseChart
autoReloadInterval, chartTime, logger, root, title
 
Constructor Summary
CategoryChart()
           
 
Method Summary
 String getBeanDescription(String name)
           
 Type getBeanGenericType(String iName)
           
 List<String> getBeanNames()
           
 Class<?> getBeanType(String iName)
           
 Object getBeanValue(javax.servlet.http.HttpServletRequest iRequest, String iName)
           
 void initialize(org.ow2.opensuit.xmlmap.interfaces.IInitializationSupport initSupport, org.ow2.opensuit.xmlmap.interfaces.IInstantiationContext instContext)
           
 org.jfree.chart.plot.Plot makePlot(javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class org.ow2.opensuit.xml.chart.BaseChart
getPathID, getTitle, preRender, reloadMap, render, serveImage, serveWaiting
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

categoryAxisLabel

@XmlChild(name="CategoryAxisLabel")
protected org.ow2.opensuit.xml.base.binding.Expression categoryAxisLabel

valueAxisLabel

@XmlChild(name="ValueAxisLabel")
protected org.ow2.opensuit.xml.base.binding.Expression valueAxisLabel

categories

@XmlChild(name="Categories")
protected org.ow2.opensuit.xml.base.binding.Expression categories

categoryName

@XmlChild(name="CategoryName")
protected org.ow2.opensuit.xml.base.binding.Expression categoryName

series

@XmlChild(name="Series")
protected org.ow2.opensuit.xml.base.binding.Expression series

serieName

@XmlChild(name="SerieName")
protected org.ow2.opensuit.xml.base.binding.Expression serieName

value

@XmlChild(name="Value")
protected org.ow2.opensuit.xml.base.binding.Expression value

valueTooltip

@XmlChild(name="ValueTooltip",
          required=false)
protected org.ow2.opensuit.xml.base.binding.Expression valueTooltip

onClickValue

@XmlChild(name="OnClickValue",
          required=false)
protected org.ow2.opensuit.xml.base.action.IAction onClickValue
Constructor Detail

CategoryChart

public CategoryChart()
Method Detail

initialize

public void initialize(org.ow2.opensuit.xmlmap.interfaces.IInitializationSupport initSupport,
                       org.ow2.opensuit.xmlmap.interfaces.IInstantiationContext instContext)
Specified by:
initialize in interface org.ow2.opensuit.xmlmap.interfaces.IInitializable
Overrides:
initialize in class BaseChart

makePlot

public org.jfree.chart.plot.Plot makePlot(javax.servlet.http.HttpServletRequest request)
                                   throws Exception
Specified by:
makePlot in class BaseChart
Throws:
Exception

getBeanType

public Class<?> getBeanType(String iName)
                     throws org.ow2.opensuit.xml.interfaces.IBeanProvider.UnresolvedBeanError
Specified by:
getBeanType in interface org.ow2.opensuit.xml.interfaces.IBeanProvider
Overrides:
getBeanType in class BaseChart
Throws:
org.ow2.opensuit.xml.interfaces.IBeanProvider.UnresolvedBeanError

getBeanGenericType

public Type getBeanGenericType(String iName)
                        throws org.ow2.opensuit.xml.interfaces.IBeanProvider.UnresolvedBeanError
Specified by:
getBeanGenericType in interface org.ow2.opensuit.xml.interfaces.IBeanProvider
Overrides:
getBeanGenericType in class BaseChart
Throws:
org.ow2.opensuit.xml.interfaces.IBeanProvider.UnresolvedBeanError

getBeanValue

public Object getBeanValue(javax.servlet.http.HttpServletRequest iRequest,
                           String iName)
                    throws Exception
Specified by:
getBeanValue in interface org.ow2.opensuit.xml.interfaces.IBeanProvider
Overrides:
getBeanValue in class BaseChart
Throws:
Exception

getBeanNames

public List<String> getBeanNames()
Specified by:
getBeanNames in interface org.ow2.opensuit.xml.interfaces.IBeanProvider
Overrides:
getBeanNames in class BaseChart

getBeanDescription

public String getBeanDescription(String name)
Specified by:
getBeanDescription in interface org.ow2.opensuit.xml.interfaces.IBeanProvider
Overrides:
getBeanDescription in class BaseChart


Copyright © 2008-2012 OW2 Consortium. All Rights Reserved.