|
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.CssEchoStyleSheetHandler
This CssStyleSheetHandler is reponsible for all the nextapp.echo Components.
At the time this class was written the supplied Echo components did not have any StyleInfo support in them. Therefore it has been provided here in this class. All the Echo StyleInfo objects are then static added to the StyleSheetIntrospector ready for use.
In this way, fully complaint StyleInfo support is added to the basic Echo components.
Nested Class Summary | |
static class |
CssEchoStyleSheetHandler.AbstractButtonStyleInfo
StyleInfo support for nextapp.echo.AbstractButton |
static class |
CssEchoStyleSheetHandler.AbstractPaneStyleInfo
StyleInfo support for nextapp.echo.AbstractPane |
static class |
CssEchoStyleSheetHandler.ComponentStyleInfo
StyleInfo support for nextapp.echo.Component |
static class |
CssEchoStyleSheetHandler.ContainerPaneStyleInfo
StyleInfo support for nextapp.echo.ContainerPane |
static class |
CssEchoStyleSheetHandler.ContentPaneStyleInfo
StyleInfo support for nextapp.echo.ContentPane |
static class |
CssEchoStyleSheetHandler.GridCellStyleInfo
StyleInfo support for nextapp.echo.Grid.Cell |
static class |
CssEchoStyleSheetHandler.GridStyleInfo
StyleInfo support for nextapp.echo.Grid |
static class |
CssEchoStyleSheetHandler.LabelStyleInfo
StyleInfo support for nextapp.echo.Label |
static class |
CssEchoStyleSheetHandler.ListBoxStyleInfo
StyleInfo support for nextapp.echo.ListBox |
static class |
CssEchoStyleSheetHandler.PanelStyleInfo
StyleInfo support for nextapp.echo.Panel |
static class |
CssEchoStyleSheetHandler.SelectFieldStyleInfo
StyleInfo support for nextapp.echo.SelectField |
static class |
CssEchoStyleSheetHandler.TableStyleInfo
StyleInfo support for nextapp.echo.Table |
static class |
CssEchoStyleSheetHandler.TextAreaStyleInfo
StyleInfo support for nextapp.echo.text.TextArea |
static class |
CssEchoStyleSheetHandler.TextComponentStyleInfo
StyleInfo support for nextapp.echo.text.TextComponent |
static class |
CssEchoStyleSheetHandler.TextFieldStyleInfo
StyleInfo support for nextapp.echo.text.TextField |
static class |
CssEchoStyleSheetHandler.ToggleButtonStyleInfo
StyleInfo support for nextapp.echo.ToggleButton |
static class |
CssEchoStyleSheetHandler.WindowStyleInfo
StyleInfo support for nextapp.echo.Window |
Field Summary |
Fields inherited from class echopoint.stylesheet.AbstractStyleSheetHandler |
listOfClasses |
Constructor Summary | |
CssEchoStyleSheetHandler()
EchoStyleSheetHandler contructor |
Method Summary | |
StyleInfo |
getStyleInfo(java.lang.Class cc)
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 CssEchoStyleSheetHandler()
Method Detail |
public StyleInfo getStyleInfo(java.lang.Class cc)
CssStyleSheetHandler
cc
- - 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 |