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>
RadioButtonGroup
RadioButtonGroup
FluentComponent.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.Listener
com.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, withValueChangeListener
withCaption, withCaptionAsHtml, withComponentError, withData, withDescription, withDescription, withLocale, withResponsive, withShortcutListener, withStyleName
withAttachListener, withDetachListener
withContextClickListener
addContextClickListener, removeContextClickListener
withItems, withItems, withItems
getDataProvider, setItems, setItems, setItems
withTabIndex
withCaption, withEnabled, withIcon, withId, withParent, withPrimaryStyleName, withStyleName, withStyleName, withVisible
addListener, 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, writeDesign
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
withFullHeight, withFullSize, withFullWidth, withHeight, withHeight, withSize, withUndefinedHeight, withUndefinedSize, withUndefinedWidth, withWidth, withWidth
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefined
withReadOnly, withRequiredIndicatorVisible, withValue
addValueChangeListener, clear, getDefaultValidator, getEmptyValue, getOptionalValue, getValue, isEmpty, isReadOnly, isRequiredIndicatorVisible, setReadOnly, setRequiredIndicatorVisible, setValue
withFocusListener
withBlurListener
withDataProvider, withItems
default 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.