|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object echopoint.stylesheet.AbstractStyleSheetHandler echopoint.stylesheet.CssEchoPointStyleSheetHandler
This CssStyleSheetHandler is reponsible for setting the style attributes for all the EchoPoint Components.
Field Summary |
Fields inherited from class echopoint.stylesheet.AbstractStyleSheetHandler |
listOfClasses |
Constructor Summary | |
CssEchoPointStyleSheetHandler()
EchoPointStyleSheetHandler contructor |
Method Summary | |
StyleInfo |
getStyleInfo(java.lang.Class componentClazz)
This method can be called to retrieve a StyleInfo object for the specified component class. |
java.lang.Object |
parseUnknownStyleValue(java.lang.Class componentClazz,
java.lang.String attrName,
java.lang.String attrValue)
This method is called to set a parse a style attribute value into its object form. |
java.lang.Object |
parseUnknownStyleValue(java.lang.String attrValue)
This method is called to set a parse a style attribute value into its object form. |
boolean |
setKnownStyleAttribute(java.lang.Class componentClazz,
java.lang.Class attrValueClass,
nextapp.echo.Style style,
java.lang.String attrName,
java.lang.String attrValue)
This method is called to set a specific attribute and value into a style, when the Class of the attribute value is known. |
boolean |
setUnknownStyleAttribute(java.lang.Class componentClazz,
nextapp.echo.Style style,
java.lang.String attrName,
java.lang.String attrValue)
This method is called to set a specific attribute and value into a style, when the Class of the attribute value is NOT known. |
Methods inherited from class echopoint.stylesheet.AbstractStyleSheetHandler |
addHandledClass, getFullQualifiedClassName, getHandledClasses |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CssEchoPointStyleSheetHandler()
Method Detail |
public StyleInfo getStyleInfo(java.lang.Class componentClazz)
CssStyleSheetHandler
componentClazz
- - the component class
CssStyleSheetHandler.getStyleInfo(java.lang.Class)
public boolean setKnownStyleAttribute(java.lang.Class componentClazz, java.lang.Class attrValueClass, nextapp.echo.Style style, java.lang.String attrName, java.lang.String attrValue)
CssStyleSheetHandler
The CssStyleSheetHandler must perform the Style.setAttribute and return a true indicating this was successful.
CssStyleSheetHandler.setKnownStyleAttribute(java.lang.Class, java.lang.Class, nextapp.echo.Style, java.lang.String, java.lang.String)
public boolean setUnknownStyleAttribute(java.lang.Class componentClazz, nextapp.echo.Style style, java.lang.String attrName, java.lang.String attrValue)
CssStyleSheetHandler
The CssStyleSheetHandler must perform the Style.setAttribute and return a true indicating this was successful.
CssStyleSheetHandler.setUnknownStyleAttribute(java.lang.Class, nextapp.echo.Style, java.lang.String, java.lang.String)
public java.lang.Object parseUnknownStyleValue(java.lang.Class componentClazz, java.lang.String attrName, java.lang.String attrValue)
CssStyleSheetHandler
setUnknownStyleAttribute
method is called and the style attribute
value still cannot be determined.
The CssStyleSheetHandler must perform parse the attrValue
string into an object or
return null
indicating that the value string form is not known, given the current
context of componentClazz
and attrName
.
CssStyleSheetHandler.parseUnknownStyleValue(java.lang.Class, java.lang.String, java.lang.String)
public java.lang.Object parseUnknownStyleValue(java.lang.String attrValue)
CssStyleSheetHandler
parseUnknownStyleValue
method is called and the style attribute
value still cannot be determined.
The CssStyleSheetHandler must perform parse the attrValue
string into an object or
return null
indicating that the value string form is not known.
CssStyleSheetHandler.parseUnknownStyleValue(java.lang.String)
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |