C - Concrete configurator typepublic interface FormLayoutConfigurator<C extends FormLayoutConfigurator<C>> extends HasComponentsConfigurator<C>, HasStyleConfigurator<C>, HasSizeConfigurator<C>, ComponentConfigurator<C>
FormLayout type components.| Modifier and Type | Interface and Description |
|---|---|
static interface |
FormLayoutConfigurator.BaseFormLayoutConfigurator
Base configurator.
|
HasEnabledConfigurator.BaseHasEnabledConfiguratorHasStyleConfigurator.BaseHasStyleConfiguratorHasSizeConfigurator.BaseHasSizeConfiguratorComponentConfigurator.BaseComponentConfiguratorFULL_SIZE| Modifier and Type | Method and Description |
|---|---|
static FormLayoutConfigurator.BaseFormLayoutConfigurator |
configure(com.vaadin.flow.component.formlayout.FormLayout component)
Get a new
FormLayoutConfigurator for given component. |
default C |
responsiveSteps(com.vaadin.flow.component.formlayout.FormLayout.ResponsiveStep... steps)
Configure the responsive steps used in this layout.
|
C |
responsiveSteps(List<com.vaadin.flow.component.formlayout.FormLayout.ResponsiveStep> steps)
Configure the responsive steps used in this layout.
|
default C |
withFormItem(com.vaadin.flow.component.Component field,
com.vaadin.flow.component.Component label)
Create and add a new
FormLayout.FormItem to this layout that wraps the given field with a label. |
C |
withFormItem(com.vaadin.flow.component.Component field,
com.vaadin.flow.component.Component label,
Consumer<com.vaadin.flow.component.formlayout.FormLayout.FormItem> formItem)
Create and add a new
FormLayout.FormItem to this layout that wraps the given field with a label. |
default C |
withFormItem(com.vaadin.flow.component.Component field,
String label)
Create and add a new
FormLayout.FormItem to this layout that wraps the given field with a label. |
C |
withFormItem(com.vaadin.flow.component.Component field,
String label,
Consumer<com.vaadin.flow.component.formlayout.FormLayout.FormItem> formItem)
Create and add a new
FormLayout.FormItem to this layout that wraps the given field with a label. |
default C |
withFormItem(HasComponent field,
com.vaadin.flow.component.Component label)
Create and add a new
FormLayout.FormItem to this layout that wraps the given field with a label. |
default C |
withFormItem(HasComponent field,
com.vaadin.flow.component.Component label,
Consumer<com.vaadin.flow.component.formlayout.FormLayout.FormItem> formItem)
Create and add a new
FormLayout.FormItem to this layout that wraps the given field with a label. |
default C |
withFormItem(HasComponent field,
String label)
Create and add a new
FormLayout.FormItem to this layout that wraps the given field with a label. |
default C |
withFormItem(HasComponent field,
String label,
Consumer<com.vaadin.flow.component.formlayout.FormLayout.FormItem> formItem)
Create and add a new
FormLayout.FormItem to this layout that wraps the given field with a label. |
add, addcreate, disabled, enabledcreate, styleName, styleNamescreate, fullHeight, fullSize, fullWidth, height, height, heightUndefined, maxHeight, maxWidth, minHeight, minWidth, sizeUndefined, width, width, widthUndefinedcreate, elementConfiguration, hidden, id, visible, withAttachListener, withDetachListenerwithEventListener, withEventListener, withThemeNameC responsiveSteps(List<com.vaadin.flow.component.formlayout.FormLayout.ResponsiveStep> steps)
steps - list of FormLayout.ResponsiveSteps to setFormLayout.ResponsiveStepdefault C responsiveSteps(com.vaadin.flow.component.formlayout.FormLayout.ResponsiveStep... steps)
steps - list of FormLayout.ResponsiveSteps to setFormLayout.ResponsiveStepC withFormItem(com.vaadin.flow.component.Component field, com.vaadin.flow.component.Component label, Consumer<com.vaadin.flow.component.formlayout.FormLayout.FormItem> formItem)
FormLayout.FormItem to this layout that wraps the given field with a label.field - the field component to wraplabel - the label component to setformItem - Optional Consumer to configure the created FormLayout.FormItem instancedefault C withFormItem(HasComponent field, com.vaadin.flow.component.Component label, Consumer<com.vaadin.flow.component.formlayout.FormLayout.FormItem> formItem)
FormLayout.FormItem to this layout that wraps the given field with a label.field - the field component to wrap (not null)label - the label component to setformItem - Optional Consumer to configure the created FormLayout.FormItem instancedefault C withFormItem(com.vaadin.flow.component.Component field, com.vaadin.flow.component.Component label)
FormLayout.FormItem to this layout that wraps the given field with a label.field - the field component to wraplabel - the label component to setdefault C withFormItem(HasComponent field, com.vaadin.flow.component.Component label)
FormLayout.FormItem to this layout that wraps the given field with a label.field - the field component to wraplabel - the label component to setC withFormItem(com.vaadin.flow.component.Component field, String label, Consumer<com.vaadin.flow.component.formlayout.FormLayout.FormItem> formItem)
FormLayout.FormItem to this layout that wraps the given field with a label.field - the field component to wraplabel - the label text to setformItem - Optional Consumer to configure the created FormLayout.FormItem instancedefault C withFormItem(HasComponent field, String label, Consumer<com.vaadin.flow.component.formlayout.FormLayout.FormItem> formItem)
FormLayout.FormItem to this layout that wraps the given field with a label.field - the field component to wraplabel - the label text to setformItem - Optional Consumer to configure the created FormLayout.FormItem instancedefault C withFormItem(com.vaadin.flow.component.Component field, String label)
FormLayout.FormItem to this layout that wraps the given field with a label.field - the field component to wraplabel - the label text to setdefault C withFormItem(HasComponent field, String label)
FormLayout.FormItem to this layout that wraps the given field with a label.field - the field component to wraplabel - the label text to setstatic FormLayoutConfigurator.BaseFormLayoutConfigurator configure(com.vaadin.flow.component.formlayout.FormLayout component)
FormLayoutConfigurator for given component.component - The component to configure (not null)FormLayoutConfiguratorCopyright © 2020 The Holon Platform. All rights reserved.