Index
All Classes and Interfaces|All Packages|Serialized Form
A
- add(Component, int) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Adds a component with the desired colspan.
- add(Component, int) - Method in class com.vaadin.flow.component.formlayout.FormLayout.FormRow
-
Adds a component with the desired colspan.
- addFormItem(Component, Component) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Convenience method for creating and adding a new FormItem to this layout that wraps the given field with a component as its label.
- addFormItem(Component, Component) - Method in class com.vaadin.flow.component.formlayout.FormLayout.FormRow
-
Creates a new
FormLayout.FormItemwith the given field and label components and adds it to the form row. - addFormItem(Component, String) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Convenience method for creating and adding a new FormItem to this layout that wraps the given field with a label.
- addFormItem(Component, String) - Method in class com.vaadin.flow.component.formlayout.FormLayout.FormRow
-
Creates a new
FormLayout.FormItemwith the given component and the label string, and adds it to the form row. - addFormRow(Component...) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Convenience method dor creating and adding a new
FormLayout.FormRowto this layout. - addToLabel(Component...) - Method in class com.vaadin.flow.component.formlayout.FormLayout.FormItem
-
Adds the given components as children of this component at the slot 'label'.
- ASIDE - Enum constant in enum class com.vaadin.flow.component.formlayout.FormLayout.ResponsiveStep.LabelsPosition
-
Labels are displayed on the left hand side of the wrapped component.
C
- com.vaadin.flow.component.formlayout - package com.vaadin.flow.component.formlayout
F
- FormItem() - Constructor for class com.vaadin.flow.component.formlayout.FormLayout.FormItem
-
Constructs an empty FormItem.
- FormItem(Component...) - Constructor for class com.vaadin.flow.component.formlayout.FormLayout.FormItem
-
Constructs a FormItem with the given initial components to wrap.
- FormLayout - Class in com.vaadin.flow.component.formlayout
-
Form Layout allows you to build responsive forms with multiple columns and to position input labels on top or to the side of the input.
- FormLayout() - Constructor for class com.vaadin.flow.component.formlayout.FormLayout
-
Constructs an empty layout.
- FormLayout(Component...) - Constructor for class com.vaadin.flow.component.formlayout.FormLayout
-
Constructs a FormLayout with the given initial components.
- FormLayout.FormItem - Class in com.vaadin.flow.component.formlayout
-
Server-side component for the
<vaadin-form-item>element. - FormLayout.FormRow - Class in com.vaadin.flow.component.formlayout
-
Server-side component for the
<vaadin-form-row>element. - FormLayout.ResponsiveStep - Class in com.vaadin.flow.component.formlayout
-
A class used in describing the responsive layouting behavior of a
FormLayout. - FormLayout.ResponsiveStep.LabelsPosition - Enum Class in com.vaadin.flow.component.formlayout
-
Enum for describing the position of label components in a
FormLayout.FormItem. - FormRow() - Constructor for class com.vaadin.flow.component.formlayout.FormLayout.FormRow
-
Constructs an empty FormRow.
G
- getColspan(Component) - Method in class com.vaadin.flow.component.formlayout.FormLayout.FormRow
-
Gets the colspan of the given component.
- getColspan(Component) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Gets the colspan of the given component.
- getColumnSpacing() - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Gets the gap between the columns.
- getColumnWidth() - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Gets the width of columns that is used when
FormLayout.setAutoResponsive(boolean)is enabled. - getLabelSpacing() - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Gets the gap between the label and the field which is used when labels are positioned aside.
- getLabelWidth() - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Gets the width of side-positioned label.
- getMaxColumns() - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Gets the maximum number of columns that the component can create when
#setAutoResponsive(boolean)is enabled. - getMinColumns() - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Gets the minimum number of columns that the component can create when
#setAutoResponsive(boolean)is enabled. - getResponsiveSteps() - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Get the list of
FormLayout.ResponsiveSteps used to configure this layout. - getRowSpacing() - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Gets the gap between the rows.
I
- isAutoRows() - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Gets whether the component is configured to automatically distribute fields across columns when
FormLayout.setAutoResponsive(boolean)is enabled. - isExpandColumns() - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Gets whether columns are configured to expand to fill remaining space when
FormLayout.setAutoResponsive(boolean)is enabled. - isExpandFields() - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Gets whether fields are configured to stretch to take up all available space within columns when
FormLayout.setAutoResponsive(boolean)is enabled. - isLabelsAside() - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Gets whether
FormLayout.FormItemis configured to prefer positioning labels beside the fields whenFormLayout.setAutoResponsive(boolean)is enabled.
R
- readJson(JsonNode) - Method in class com.vaadin.flow.component.formlayout.FormLayout.ResponsiveStep
- remove(Component...) - Method in class com.vaadin.flow.component.formlayout.FormLayout.FormItem
-
Removes the given child components from this component.
- removeAll() - Method in class com.vaadin.flow.component.formlayout.FormLayout.FormItem
-
Removes all contents from this component, this includes child components, text content as well as child elements that have been added directly to this component using the
ElementAPI. - ResponsiveStep(String, int) - Constructor for class com.vaadin.flow.component.formlayout.FormLayout.ResponsiveStep
-
Constructs a ResponsiveStep with the given minimum width and number of columns.
- ResponsiveStep(String, int, FormLayout.ResponsiveStep.LabelsPosition) - Constructor for class com.vaadin.flow.component.formlayout.FormLayout.ResponsiveStep
-
Constructs a ResponsiveStep with the given minimum width, number of columns and label position.
S
- setAutoResponsive(boolean) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
When set to
true, the component automatically creates and adjusts columns based on the container's width. - setAutoRows(boolean) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Sets whether the component should automatically distribute fields across columns by placing each field in the next available column and wrapping to the next row when the current row is full.
- setColspan(Component, int) - Method in class com.vaadin.flow.component.formlayout.FormLayout.FormRow
-
Sets the colspan of the given component's element.
- setColspan(Component, int) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Sets the colspan of the given component's element.
- setColumnSpacing(float, Unit) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Sets the gap between the columns.
- setColumnSpacing(String) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Sets the gap between the columns.
- setColumnWidth(float, Unit) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Sets the width of columns that the component should use when
FormLayout.setAutoResponsive(boolean)is enabled. - setColumnWidth(String) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Sets the width of columns that the component should use when
FormLayout.setAutoResponsive(boolean)is enabled. - setExpandColumns(boolean) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Sets whether the columns should evenly expand in width to fill any remaining space after all columns have been created.
- setExpandFields(boolean) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Sets whether fields should stretch to take up all available space within columns.
- setLabelsAside(boolean) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Sets whether
FormLayout.FormItemshould prefer positioning labels beside the fields. - setLabelSpacing(float, Unit) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Sets the gap between the label and the field which is used when labels are positioned aside.
- setLabelSpacing(String) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Sets the gap between the label and the field which is used when labels are positioned aside.
- setLabelWidth(float, Unit) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Sets the width of side-positioned label.
- setLabelWidth(String) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Sets the width of side-positioned label.
- setMaxColumns(int) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Sets the maximum number of columns that the component can create.
- setMinColumns(int) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Sets the minimum number of columns that the component will create.
- setResponsiveSteps(FormLayout.ResponsiveStep...) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Configure the responsive steps used in this layout.
- setResponsiveSteps(List<FormLayout.ResponsiveStep>) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Configure the responsive steps used in this layout.
- setRowSpacing(float, Unit) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Sets the gap between the rows.
- setRowSpacing(String) - Method in class com.vaadin.flow.component.formlayout.FormLayout
-
Sets the gap between the rows.
T
- toJson() - Method in class com.vaadin.flow.component.formlayout.FormLayout.ResponsiveStep
- TOP - Enum constant in enum class com.vaadin.flow.component.formlayout.FormLayout.ResponsiveStep.LabelsPosition
-
Labels are displayed atop the wrapped component.
- toString() - Method in enum class com.vaadin.flow.component.formlayout.FormLayout.ResponsiveStep.LabelsPosition
V
- valueOf(String) - Static method in enum class com.vaadin.flow.component.formlayout.FormLayout.ResponsiveStep.LabelsPosition
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.vaadin.flow.component.formlayout.FormLayout.ResponsiveStep.LabelsPosition
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Serialized Form