I - option item typepublic interface HasOptionStyleProvider<I> extends Component
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.WrapperAUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE| Modifier and Type | Method and Description |
|---|---|
java.util.function.Function<? super I,java.lang.String> |
getOptionStyleProvider() |
void |
setOptionStyleProvider(java.util.function.Function<? super I,java.lang.String> optionStyleProvider)
Sets the style provider that is used to produce custom class names for option items.
|
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositionvoid setOptionStyleProvider(@Nullable
java.util.function.Function<? super I,java.lang.String> optionStyleProvider)
optionStyleProvider - style provider@Nullable java.util.function.Function<? super I,java.lang.String> getOptionStyleProvider()