ButtonStyler
is typically used in the XML Renderer Framework.
Attributes | Name and Description |
---|---|
|
caplin.element.styler.ButtonStyler()
|
Attributes | Name and Description |
---|---|
|
void
style(Variant vValue, Map mAttributes, caplin.control.Control oControl)
Styles the supplied control with stale CSS styles, according to the supplied renderer attributes. |
|
String
toString()
Returns a human-readable string representation of the styler, which is useful for debugging. |
►
caplin.element.styler.ButtonStyler()
►
void
style(Variant vValue, Map mAttributes, caplin.control.Control oControl)
Styles the supplied control with stale CSS styles, according to the supplied renderer attributes.
Attribute Options:
Option | Description |
---|---|
state the current state of the field the button is listening to | |
enabled-states | a comma seperated list of states in which the button will be enabled|
enabled-tooltip | > the tooltip that will be applied to the button when it is enabled|
disabled-tooltip | the tooltip that will be applied to the button when it is disabled |
Variant | vValue | the value. |
Map | mAttributes | the map of attributes. |
caplin.control.Control | oControl | the control. |
►
String
toString()
Returns a human-readable string representation of the styler, which is useful for debugging.