Search in sources :

Example 1 with FormLayout

use of com.vaadin.flow.component.formlayout.FormLayout in project karnak by OsiriX-Foundation.

the class DicomEchoSelectionDialog method buildFormLayout.

private void buildFormLayout() {
    formLayout = new FormLayout();
    formLayout.setSizeFull();
    buildDicomNodeTypeSelector();
    buildDicomNodeSelector();
    formLayout.add(dicomNodeTypeSelector, dicomNodeSelector);
}
Also used : FormLayout(com.vaadin.flow.component.formlayout.FormLayout)

Example 2 with FormLayout

use of com.vaadin.flow.component.formlayout.FormLayout in project karnak by OsiriX-Foundation.

the class DicomWorkListSelectionDialog method buildFormLayout.

private void buildFormLayout() {
    formLayout = new FormLayout();
    formLayout.setSizeFull();
    buildWorklistNodeSelector();
    formLayout.add(worklistNodeSelector);
}
Also used : FormLayout(com.vaadin.flow.component.formlayout.FormLayout)

Example 3 with FormLayout

use of com.vaadin.flow.component.formlayout.FormLayout in project karnak by OsiriX-Foundation.

the class DicomWorkListView method buildWlConfigurationForm.

private void buildWlConfigurationForm() {
    wlConfigurationForm = new FormLayout();
    buildCallingAETitleFld();
    buildWlAetFld();
    buildWlHostnameFld();
    buildWlPortFld();
    wlConfigurationForm.add(callingAetFld, workListAetFld, workListHostnameFld, workListPortFld);
    setFormResponsive(wlConfigurationForm);
}
Also used : FormLayout(com.vaadin.flow.component.formlayout.FormLayout)

Example 4 with FormLayout

use of com.vaadin.flow.component.formlayout.FormLayout in project WebComponentKit by itsoulltd.

the class AbstractBeanEditor method initFormLayout.

private void initFormLayout() {
    formLayout.setResponsiveSteps(new FormLayout.ResponsiveStep("0", 1), new FormLayout.ResponsiveStep("25em", 2));
    Div div = new Div(formLayout);
    div.addClassName("has-padding");
    add(div);
}
Also used : FormLayout(com.vaadin.flow.component.formlayout.FormLayout) Div(com.vaadin.flow.component.html.Div)

Example 5 with FormLayout

use of com.vaadin.flow.component.formlayout.FormLayout in project aire-components by aire-ux.

the class AddFeatureFlagOverlay method addContent.

private void addContent() {
    val form = new FormLayout();
    keyInputField = new TextField("Key");
    nameInputField = new TextField("Name");
    descriptionInput = new TextArea("Description");
    pathInputField = new Select<>();
    pathInputField.setLabel("Extension Path");
    pathInputField.setItems(getExtensionKeys());
    tagInputField = new TextField("Tags");
    enabledSwitch = new Switch("Enabled");
    form.add(keyInputField, nameInputField, pathInputField, enabledSwitch, tagInputField, descriptionInput);
    form.setColspan(descriptionInput, 2);
    addContent(form);
}
Also used : lombok.val(lombok.val) FormLayout(com.vaadin.flow.component.formlayout.FormLayout) Switch(io.sunshower.zephyr.ui.controls.Switch) TextArea(com.vaadin.flow.component.textfield.TextArea) TextField(com.vaadin.flow.component.textfield.TextField)

Aggregations

FormLayout (com.vaadin.flow.component.formlayout.FormLayout)47 TextField (com.vaadin.flow.component.textfield.TextField)28 Binder (com.vaadin.flow.data.binder.Binder)21 BinderCrudEditor (com.vaadin.flow.component.crud.BinderCrudEditor)15 Person (com.vaadin.demo.domain.Person)12 EmailField (com.vaadin.flow.component.textfield.EmailField)10 Div (com.vaadin.flow.component.html.Div)8 ResponsiveStep (com.vaadin.flow.component.formlayout.FormLayout.ResponsiveStep)6 FormItem (com.vaadin.flow.component.formlayout.FormLayout.FormItem)4 Label (com.vaadin.flow.component.html.Label)4 NumberField (com.vaadin.flow.component.textfield.NumberField)4 TextArea (com.vaadin.flow.component.textfield.TextArea)4 StringLengthValidator (com.vaadin.flow.data.validator.StringLengthValidator)4 FurmsFormLayout (io.imunity.furms.ui.components.FurmsFormLayout)4 Test (org.junit.Test)4 ValueChangeEvent (com.vaadin.flow.component.HasValue.ValueChangeEvent)3 Checkbox (com.vaadin.flow.component.checkbox.Checkbox)3 ComboBox (com.vaadin.flow.component.combobox.ComboBox)3 RichTextEditor (com.vaadin.flow.component.richtexteditor.RichTextEditor)3 EAGER (com.vaadin.flow.data.value.ValueChangeMode.EAGER)3