|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PropertyManager
Property Manager responsible to handle inline attributes in template layouts for specific component classes.
Besides the dyanmic layout managers components can also be layouted inside theSTemplateLayouts.
In your template files you can use the <object name="aConstraintName"></object>
to place specific components inside this template i.e. like panel.add(new SLabel("a label"), "aConstraintName"));.
The template layout mechanism is able to inline set properties of the arranged component inside the template.
This feature can be very useful if i.e. a web developer is soley responsible for the whole application Look & Feel.
Depending on the type of the arranged component he can modify different visual properties (i.e. background color,
display text, etc.) just by modifying the template file.
I.e. let's assume you are placing the mentioned label oject in you template file. The the web designer can
overwrite the components background, display text, etc. by modifying his object inclusion tag to
<object name="aConstraintName" background="#ff0000" text="new text"></object>
| Method Summary | |
|---|---|
Class[] |
getSupportedClasses()
Describe getSupportedClasses method here. |
void |
setProperty(SComponent comp,
String name,
String value)
Describe setProperty method here. |
| Method Detail |
|---|
void setProperty(SComponent comp,
String name,
String value)
setProperty method here.
comp - a SComponent valuename - a String valuevalue - a String valueClass[] getSupportedClasses()
getSupportedClasses method here.
Class[] value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||