Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.OptionsStyleProvider, Component.Wrapper
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE, UNITS_PERCENTAGE, UNITS_PIXELS
Modifier and Type | Method and Description |
---|---|
default CaptionMode |
getCaptionMode()
Deprecated.
use
getItemCaptionProvider() instead |
default java.lang.String |
getCaptionProperty()
Deprecated.
use
getItemCaptionProvider() instead |
java.util.function.Function<? super I,java.lang.String> |
getItemCaptionProvider() |
default void |
setCaptionMode(CaptionMode captionMode)
Deprecated.
use
setItemCaptionProvider(Function) instead |
default void |
setCaptionProperty(java.lang.String captionProperty)
Deprecated.
use
setItemCaptionProvider(Function) instead |
void |
setItemCaptionProvider(java.util.function.Function<? super I,java.lang.String> itemCaptionProvider)
Sets function that provides caption for component item.
|
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getHeightUnits, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, getWidthUnits, isEnabled, isEnabledItself, isEnabledRecursive, isResponsive, isVisible, isVisibleItself, isVisibleRecursive, removeStyleName, requestFocus, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition
void setItemCaptionProvider(java.util.function.Function<? super I,java.lang.String> itemCaptionProvider)
itemCaptionProvider
- caption provider for itemjava.util.function.Function<? super I,java.lang.String> getItemCaptionProvider()
@Deprecated default CaptionMode getCaptionMode()
getItemCaptionProvider()
instead@Deprecated default void setCaptionMode(CaptionMode captionMode)
setItemCaptionProvider(Function)
insteadcaptionMode
- caption mode@Deprecated default java.lang.String getCaptionProperty()
getItemCaptionProvider()
instead@Deprecated default void setCaptionProperty(java.lang.String captionProperty)
setItemCaptionProvider(Function)
insteadcaptionProperty
- caption property