EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.style.echo
Class EchoStyleSheet

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

public class EchoStyleSheet
extends MutableStyleSheet

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

Constructor Summary
EchoStyleSheet()
          Initialise the stylesheet.
 
Method Summary
protected  void addButtonStyles()
          Add default styles for AbstractButtons
protected  void addListStyles()
          Add default styles for AbstractListComponents
protected  void addTextComponentStyles()
          Add default styles for TextComponents
protected  void addWindowPaneStyles()
          Add default styles for WindowPanes.
protected  void init()
          Initialises the default styles for the various components.
 
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

EchoStyleSheet

public EchoStyleSheet()
Initialise the stylesheet.

See Also:
init()
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.


addButtonStyles

protected void addButtonStyles()
Add default styles for AbstractButtons


addListStyles

protected void addListStyles()
Add default styles for AbstractListComponents


addTextComponentStyles

protected void addTextComponentStyles()
Add default styles for TextComponents


addWindowPaneStyles

protected void addWindowPaneStyles()
Add default styles for WindowPanes.


EchoPoint API - 3.0.0b5
App Webcontainer