org.ow2.opensuit.xml.chart
Class PieChart

java.lang.Object
  extended by org.ow2.opensuit.xml.chart.BaseChart
      extended by org.ow2.opensuit.xml.chart.PieChart
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 PieChart
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 itemName
           
protected  org.ow2.opensuit.xml.base.binding.Expression items
           
protected  org.ow2.opensuit.xml.base.binding.Expression itemTooltip
           
protected  org.ow2.opensuit.xml.base.binding.Expression itemValue
           
protected  org.ow2.opensuit.xml.base.action.IAction onClickItem
           
 
Fields inherited from class org.ow2.opensuit.xml.chart.BaseChart
autoReloadInterval, chartTime, logger, root, title
 
Constructor Summary
PieChart()
           
 
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.PiePlot 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

items

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

itemName

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

itemValue

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

itemTooltip

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

onClickItem

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

PieChart

public PieChart()
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.PiePlot 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.