Singleton
caplin.element.styler

FlashStyler

Flashes the screen value according to whether the numeric value has gone up or down.

FlashStyler is typically used in the XML Renderer Framework.

Constructor Summary

Attributes Name and Description
caplin.element.styler.FlashStyler()

Method Summary

Attributes Name and Description
void style(Variant vValue, Map mAttributes, caplin.control.Control oControl)

Flashes the screen value according to whether the numeric value has gone up or down.

Constructor Detail

caplin.element.styler.FlashStyler()

Method Detail

void style(Variant vValue, Map mAttributes, caplin.control.Control oControl)

Flashes the screen value according to whether the numeric value has gone up or down.

Attribute Options:

Option Description
duration flash duration, in milliseconds (mandatory)
color-up CSS color style to flash text when the value goes up (optional)
color-down CSS color style to flash text when the value goes up (optional)
backgroundColor-up CSS background-color style to flash text when the value goes up (optional)
backgroundColor-down CSS background-color style to flash text when the value goes down (optional)

Parameters
Variant vValue the control value.
Map mAttributes the map of attributes.
caplin.control.Control oControl the control.