|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectechopoint.template.propertymgr.ComponentPropertyManager
public class 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 Color |
parseColor(java.lang.Object value)
Decodes a color string according to the same rules as the EchoPoint CSS support. |
protected 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(Component comp,
java.lang.String[] names,
java.lang.Object[] values)
Called to set the various properties of a Component. |
void |
setProperty(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 Color parseColor(java.lang.Object value)
CssStyleSheetprotected Font parseFont(java.lang.Object value)
CssStyleSheetprotected int parseInt(java.lang.Object value)
public void setProperty(Component comp,
java.lang.String name,
java.lang.Object value)
public void setComponentProperties(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[])
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||