THIS - Self-referential generic THISITEM - the item object type in the listingpublic interface FluentRadioButtonGroup<THIS extends FluentRadioButtonGroup<THIS,ITEM>,ITEM> extends FluentAbstractSingleSelect<THIS,ITEM>, FluentFieldEvents.FluentFocusNotifier<THIS>, FluentFieldEvents.FluentBlurNotifier<THIS>, FluentHasDataProvider<THIS,ITEM>
RadioButtonGroupRadioButtonGroupFluentComponent.FluentFocusable<C extends FluentComponent.FluentFocusable<C>>com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listenercom.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener| Modifier and Type | Method and Description |
|---|---|
default THIS |
withHtmlContentAllowed(boolean htmlContentAllowed)
Sets whether html is allowed in the item captions.
|
default THIS |
withItemCaptionGenerator(com.vaadin.ui.ItemCaptionGenerator<ITEM> itemCaptionGenerator)
Sets the item caption generator that is used to produce the strings shown
in the radio button group for each item.
|
default THIS |
withItemEnabledProvider(com.vaadin.server.SerializablePredicate<ITEM> itemEnabledProvider)
Sets the item enabled predicate for this radiobutton group.
|
default THIS |
withItemIconGenerator(com.vaadin.ui.IconGenerator<ITEM> itemIconGenerator) |
withSelectedItem, withSelectionListener, withValueChangeListenerwithCaption, withCaptionAsHtml, withComponentError, withData, withDescription, withDescription, withLocale, withResponsive, withShortcutListener, withStyleNamewithAttachListener, withDetachListenerwithContextClickListeneraddContextClickListener, removeContextClickListenerwithItems, withItems, withItemsgetDataProvider, setItems, setItems, setItemswithTabIndexwithCaption, withEnabled, withIcon, withId, withParent, withPrimaryStyleName, withStyleName, withStyleName, withVisibleaddListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setVisible, writeDesignaddAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerwithFullHeight, withFullSize, withFullWidth, withHeight, withHeight, withSize, withUndefinedHeight, withUndefinedSize, withUndefinedWidth, withWidth, withWidthgetHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefinedwithReadOnly, withRequiredIndicatorVisible, withValueaddValueChangeListener, clear, getDefaultValidator, getEmptyValue, getOptionalValue, getValue, isEmpty, isReadOnly, isRequiredIndicatorVisible, setReadOnly, setRequiredIndicatorVisible, setValuewithFocusListenerwithBlurListenerwithDataProvider, withItemsdefault THIS withHtmlContentAllowed(boolean htmlContentAllowed)
htmlContentAllowed - true if the captions are used as html, false if used as plain textRadioButtonGroup.setHtmlContentAllowed(boolean)default THIS withItemCaptionGenerator(com.vaadin.ui.ItemCaptionGenerator<ITEM> itemCaptionGenerator)
String.valueOf(Object) is used.itemCaptionGenerator - the item caption provider to use, not nullRadioButtonGroup.setItemCaptionGenerator(ItemCaptionGenerator)default THIS withItemIconGenerator(com.vaadin.ui.IconGenerator<ITEM> itemIconGenerator)
itemIconGenerator - the item icon generator to set, not nullIconGenerator,
RadioButtonGroup.setItemIconGenerator(IconGenerator)default THIS withItemEnabledProvider(com.vaadin.server.SerializablePredicate<ITEM> itemEnabledProvider)
itemEnabledProvider - the item enable predicate, not nullRadioButtonGroup.setItemEnabledProvider(SerializablePredicate)Copyright © 2017 Jean-Christophe Fortier. All rights reserved.