public interface CompositeWithHtmlDescription extends CompositeWithDescription, HasHtmlDescription
CompositeComponent
having a HTML description.
Default implementations delegate their execution to CompositeComponent.getComposition()
.Modifier and Type | Method and Description |
---|---|
default boolean |
isDescriptionAsHtml() |
default void |
setDescriptionAsHtml(boolean descriptionAsHtml)
Sets whether the description is rendered as HTML.
|
getDescription, setDescription
default boolean isDescriptionAsHtml()
isDescriptionAsHtml
in interface HasHtmlDescription
true
if the description is rendered as HTML,
false
if rendered as plain textdefault void setDescriptionAsHtml(boolean descriptionAsHtml)
HasHtmlDescription
setDescriptionAsHtml
in interface HasHtmlDescription
descriptionAsHtml
- true
if the description is rendered as HTML,
false
if rendered as plain textComponent.HasDescription.setDescription(String)