EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.style
Class StyleSheet

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
                  extended by echopoint.style.StyleSheet
All Implemented Interfaces:
Serializable, StyleSheet

public class StyleSheet
extends ChartStyleSheet

An extensible stylesheet that enforces a default look-and-feel for all EchoPoint 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: StyleSheet.java 208 2009-05-25 02:40:35Z sptrakesh $
Author:
Rakesh Vidyadharan 2009-05-12
See Also:
Serialized Form

Constructor Summary
StyleSheet()
           
 
Method Summary
protected  void addAnchorStyles()
          Add styles for Anchor components.
protected  void addInfoWindowStyles()
          Set the styles for InfoWindow components.
protected  void addProgressBarStyles()
          Set the styles for ProgressBar components.
protected  void addTagCloudStyles()
          Add styles for TagCloud components.
protected  void init()
          Initialises the default styles for the various components.
 
Methods inherited from class echopoint.style.google.chart.ChartStyleSheet
addBarChartStyles, addLineChartStyles, addMapStyles, addRadarChartStyles, addScatterPlotStyles, addSparklineStyles
 
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

StyleSheet

public StyleSheet()
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 ChartStyleSheet

addAnchorStyles

protected void addAnchorStyles()
Add styles for Anchor components.


addInfoWindowStyles

protected void addInfoWindowStyles()
Set the styles for InfoWindow components.


addProgressBarStyles

protected void addProgressBarStyles()
Set the styles for ProgressBar components.


addTagCloudStyles

protected void addTagCloudStyles()
Add styles for TagCloud components.


EchoPoint API - 3.0.0b5
App Webcontainer