|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tinyjee.maven.dim.sh.StyleHandler
public class StyleHandler
Handles the inclusion of styles.
| Constructor Summary | |
|---|---|
StyleHandler()
Constructs a new style handler with the default style theme. |
|
StyleHandler(String themeName)
Constructs a new style handler with the given style theme. |
|
| Method Summary | |
|---|---|
String |
getCSSContent(String cssName)
Returns the CSS content of the CSS file. |
String |
getCSSFileName()
Returns the name of the CSS file. |
boolean |
isHandlingStyleForTheme(String theme)
Returns true if this instance is handling the given style theme. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StyleHandler()
public StyleHandler(String themeName)
themeName - the name of the supported style theme (name is not validated!).| Method Detail |
|---|
public String getCSSFileName()
public boolean isHandlingStyleForTheme(String theme)
theme - the name of the supported style theme.
public String getCSSContent(String cssName)
cssName - the name of the cached file or 'null' to return the default for the given schema.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||