public interface CompositeWithHtmlCaption extends CompositeWithCaption, HasHtmlCaption
CompositeComponent
having a HTML caption.
Default implementations delegate their execution to CompositeComponent.getComposition()
.Modifier and Type | Method and Description |
---|---|
default boolean |
isCaptionAsHtml() |
default void |
setCaptionAsHtml(boolean captionAsHtml)
Sets whether the caption is rendered as HTML.
|
getCaption, setCaption
getDescription, setDescription
default boolean isCaptionAsHtml()
isCaptionAsHtml
in interface HasHtmlCaption
true
if the caption is rendered as HTML,
false
if rendered as plain textdefault void setCaptionAsHtml(boolean captionAsHtml)
HasHtmlCaption
setCaptionAsHtml
in interface HasHtmlCaption
captionAsHtml
- true
if the caption is rendered as HTML,
false
if rendered as plain textComponent.HasCaption.setCaption(String)