TextStyleProperties.setTextDecoration

Sets the text decoration property (shown as Lines in the designer). This is equivalent to the CSS text-decoration property. textDecoration must be one of the following:

Supported values:
ValueConstant
noneControlConstants.NONE
overlineControlConstants.TEXT_OVERLINE
underlineControlConstants.TEXT_UNDERLINE
line-throughControlConstants.TEXT_LINE_THROUGH

Setting a value of null removes any existing value for the property.

Examples:

 controls.TEXT1.textDecoration = ControlConstants.TEXT_UNDERLINE;
 controls.TEXT1.setTextDecoration(ControlConstants.TEXT_LINE_THROUGH);
 

Parameters

java.lang.String  textDecoration,