EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.style.google.chart
Class ChartStyleSheet

java.lang.Object
  extended by nextapp.echo.app.MutableStyleSheet
      extended by echopoint.style.echo.EchoStyleSheet
          extended by echopoint.style.echo.extras.ExtrasStyleSheet
              extended by echopoint.style.google.chart.ChartStyleSheet
All Implemented Interfaces:
Serializable, StyleSheet
Direct Known Subclasses:
StyleSheet

public class ChartStyleSheet
extends ExtrasStyleSheet

An extensible stylesheet that enforces a default look-and-feel for all EchoPoint Google Chart API components. Can be used as the starting point for applications built using the framework. We hope this promotes an object-oriented management of styles for applications.

It is recommended that you extend from echopoint.Servlet (in the webcontainer area) since the base servlet takes care of initialising default style properties from init parameters.

This class is based upon the StyleSheet implementation that SPT has used as the basis for building a number of Echo2/3 applications.

Version:
$Id: ChartStyleSheet.java 210 2009-05-28 02:06:26Z sptrakesh $
Author:
Rakesh Vidyadharan 2009-05-24
See Also:
Serialized Form

Constructor Summary
ChartStyleSheet()
           
 
Method Summary
protected  void addBarChartStyles()
          Add styles for BarChart components.
protected  void addLineChartStyles()
          Add styles for LineChart components.
protected  void addMapStyles()
          Add styles for Map components.
protected  void addRadarChartStyles()
          Add styles for RadarChart components.
protected  void addScatterPlotStyles()
          Add styles for ScatterPlot components.
protected  void addSparklineStyles()
          Add styles for Sparkline components.
protected  void init()
          Initialises the default styles for the various components.
 
Methods inherited from class echopoint.style.echo.extras.ExtrasStyleSheet
addAccordionPaneStyles, addCalendarSelectStyles, addContextMenuStyles, addMenuBarPaneStyles, addTabPaneStyles
 
Methods inherited from class echopoint.style.echo.EchoStyleSheet
addButtonStyles, addListStyles, addTextComponentStyles, addWindowPaneStyles
 
Methods inherited from class nextapp.echo.app.MutableStyleSheet
addStyle, addStyleSheet, getComponentTypes, getStyle, getStyleNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartStyleSheet

public ChartStyleSheet()
Method Detail

init

protected void init()
Initialises the default styles for the various components. Sub-classes should over-ride this method (while still invoking super.init()) to add additional styles. Alternatively, sub-classes may over-ride the various component style setting methods as appropriate.

Overrides:
init in class ExtrasStyleSheet

addBarChartStyles

protected void addBarChartStyles()
Add styles for BarChart components.


addLineChartStyles

protected void addLineChartStyles()
Add styles for LineChart components.


addMapStyles

protected void addMapStyles()
Add styles for Map components.


addScatterPlotStyles

protected void addScatterPlotStyles()
Add styles for ScatterPlot components.


addSparklineStyles

protected void addSparklineStyles()
Add styles for Sparkline components.


addRadarChartStyles

protected void addRadarChartStyles()
Add styles for RadarChart components.


EchoPoint API - 3.0.0b5
App Webcontainer