|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.echo2.Styles
public class Styles
Utility class to load the application style XML file. This class
assumes that the style file will be available as
/META-INF/resource/style/Default.stylesheet.
Copyright 2006 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
static nextapp.echo2.app.StyleSheet |
DEFAULT_STYLE_SHEET
Default application style sheet. |
static java.lang.String |
IMAGE_PATH
The location of the application images. |
static java.lang.String |
STYLE_PATH
The location of the XML style sheet. |
| Constructor Summary | |
|---|---|
Styles()
|
|
| Method Summary | |
|---|---|
protected static java.io.InputStream |
getStyleInputStream(java.lang.String file)
Open the STYLE_PATH as a resource stream and return
the InputStream to it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String IMAGE_PATH
public static final java.lang.String STYLE_PATH
public static final nextapp.echo2.app.StyleSheet DEFAULT_STYLE_SHEET
| Constructor Detail |
|---|
public Styles()
| Method Detail |
|---|
protected static java.io.InputStream getStyleInputStream(java.lang.String file)
STYLE_PATH as a resource stream and return
the InputStream to it.
file - The name of the style sheet to open
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||