Styler
is used to changes some visual aspect of a control.
For example, caplin.element.styler.FlashStyler is used to flash the
foreground and background colors of a control according to the new value.
All Styler
implementations are singletons.
Attributes | Name and Description |
---|---|
|
caplin.element.Styler()
|
Attributes | Name and Description |
---|---|
|
void
style(Variant vValue, Map mAttributes, caplin.control.Control oControl)
Changes the control appearance according to the new value. |
►
caplin.element.Styler()
►
void
style(Variant vValue, Map mAttributes, caplin.control.Control oControl)
Changes the control appearance according to the new value. Implement initialStyle with the same parameters to do separate handling for the style application during createHtml.
Variant | vValue | the control value. |
Map | mAttributes | the attributes appropriate to the Styler implementation. |
caplin.control.Control | oControl | the control. |