public interface CompositeWithCaption extends CompositeWithDescription, Component.HasCaption
CompositeComponent
having a caption.
Default implementations delegate their execution to CompositeComponent.getComposition()
.Modifier and Type | Method and Description |
---|---|
default java.lang.String |
getCaption() |
default void |
setCaption(java.lang.String caption)
Sets the component's caption.
|
getDescription, setDescription
@Nullable default java.lang.String getCaption()
getCaption
in interface Component.HasCaption
default void setCaption(@Nullable java.lang.String caption)
Component.HasCaption
setCaption
in interface Component.HasCaption
caption
- the new component's caption