Html Item
Constructors
Properties
Functions
Apply the HTML formatting to the string only if if this condition is true.
Wrap the string in a background color on the DS.
Wrap the string in <big>
tags, making the string large on the DS.
Wrap the string in <b>
tags, making the string bold on the DS.
Wrap the string in a foreground color on the DS.
Returns the caption associated with this item.
Wrap the string in <h1>
tags, making the string a header 1 with a margin on the DS.
Wrap the string in <h2>
tags, making the string a header 2 with a margin on the DS.
Wrap the string in <h3>
tags, making the string a header 3 with a margin on the DS.
Wrap the string in <h4>
tags, making the string a header 4 with a margin on the DS.
Wrap the string in <h5>
tags, making the string a header 5 with a margin on the DS.
Wrap the string in <h6>
tags, making the string a header 6 with a margin on the DS.
Returns whether the item is to be retained in a clear() operation.
Wrap the string in <i>
tags, making the string italic on the DS.
Sets the caption associated with this item.
Sets whether the item is to be retained in clear() operation or not. This is initially true for items that whose value is computed with a value producer; otherwise, it is initially false.
Updates the value of this item to be the result of applying Object.toString to the indicated object.
Updates the value of this item to be the indicated value producer. This will override any HTML formatting applied to the item as it is also a value producer.
Updates the value of this item to be the result of the indicated string formatting operation.
Wrap the string in <small>
tags, making the string small on the DS.
Wrap the string in <s>
tags, making the string strikethrough on the DS.
Wrap the string in <sub>
tags, making the string subscript (bottom right align) on the DS.
Wrap the string in <sup>
tags, making the string superscript (top right align) on the DS.
Wrap the string in <u>
tags, making the string underlined on the DS.
Wrap the string in a tag supplied by the user on the DS. Note that these tags are limited to the HTML tags that are available as part of Html.fromHtml()
.