I
- option item typepublic interface HasOptionCaptionProvider<I> extends Component
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 |
---|---|
java.util.function.Function<? super I,java.lang.String> |
getOptionCaptionProvider() |
void |
setOptionCaptionProvider(java.util.function.Function<? super I,java.lang.String> optionCaptionProvider)
Sets function that provides caption for option items.
|
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, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
void setOptionCaptionProvider(@Nullable java.util.function.Function<? super I,java.lang.String> optionCaptionProvider)
optionCaptionProvider
- caption provider for options@Nullable java.util.function.Function<? super I,java.lang.String> getOptionCaptionProvider()