Singleton
caplin.element.styler

EllipsisStyler

The ellipsis styler adds a class attribute of 'ellipsis' to elements it is applied to.

EllipsisStyler is typically used in the XML Renderer Framework.

Note: The CSS used alongside the ellipsis styler (text-overflow:elipsis;) may cause the loss of padding or margin applied to inline elements within IE. This may be overcome by using the CSS 'text-indent' property rather than the padding or margin properties.

Constructor Summary

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

Method Summary

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

Applies an ellipsis to the control.

Constructor Detail

caplin.element.styler.EllipsisStyler()

Method Detail

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

Applies an ellipsis to the control.

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