|
EchoPoint 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectechopoint.template.propertymgr.ComponentPropertyManager
A property manager for Components in general.
It handles the following properties :
Note that attribute names are NOT case sensitive in the template source.
| Constructor Summary | |
ComponentPropertyManager()
|
|
| Method Summary | |
java.lang.Class[] |
getSupportedClasses()
called to get a list of supported classes |
protected nextapp.echo.Color |
parseColor(java.lang.Object value)
Decodes a color string according to the same rules as the EchoPoint CSS support. |
protected nextapp.echo.Font |
parseFont(java.lang.Object value)
Decodes a font string according to the same rules as the EchoPoint CSS support. |
protected int |
parseInt(java.lang.Object value)
Parses the value until it finds a non digit or non whitespace then returns the integer converted. |
void |
setComponentProperties(nextapp.echo.Component comp,
java.lang.String[] names,
java.lang.Object[] values)
Called to set the various properties of a Component. |
void |
setProperty(nextapp.echo.Component comp,
java.lang.String name,
java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ComponentPropertyManager()
| Method Detail |
public java.lang.Class[] getSupportedClasses()
PropertyManager
getSupportedClasses in interface PropertyManagerprotected nextapp.echo.Color parseColor(java.lang.Object value)
CssStyleSheetprotected nextapp.echo.Font parseFont(java.lang.Object value)
CssStyleSheetprotected int parseInt(java.lang.Object value)
public void setProperty(nextapp.echo.Component comp,
java.lang.String name,
java.lang.Object value)
public void setComponentProperties(nextapp.echo.Component comp,
java.lang.String[] names,
java.lang.Object[] values)
PropertyManager
setComponentProperties in interface PropertyManagerPropertyManager.setComponentProperties(nextapp.echo.Component, java.lang.String[], java.lang.Object[])
|
EchoPoint 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||