|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo.app.MutableStyleSheet
echopoint.style.echo.EchoStyleSheet
public class EchoStyleSheet
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.
| 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 |
|---|
public EchoStyleSheet()
init()| Method Detail |
|---|
protected void init()
super.init())
to add additional styles. Alternatively, sub-classes may over-ride the
various component style setting methods as appropriate.
protected void addButtonStyles()
AbstractButtons
protected void addListStyles()
AbstractListComponents
protected void addTextComponentStyles()
TextComponents
protected void addWindowPaneStyles()
WindowPanes.
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||