Search in sources :

Example 1 with TextField

use of com.vaadin.flow.component.textfield.TextField in project karnak by OsiriX-Foundation.

the class TransferStatusGrid method createSopInstanceUidFilter.

/**
 * Creation of the filter for sop instance uid
 *
 * @param sopInstanceUidColumn Column
 * @param filterRow Row filter
 */
private void createSopInstanceUidFilter(Column<TransferStatusEntity> sopInstanceUidColumn, HeaderRow filterRow) {
    TextField sopInstanceUidField = new TextField();
    sopInstanceUidField.addValueChangeListener(event -> {
        transferStatusFilter.setSopInstanceUid(event.getValue());
        transferStatusDataProvider.refreshAll();
    });
    sopInstanceUidField.setValueChangeMode(ValueChangeMode.EAGER);
    filterRow.getCell(sopInstanceUidColumn).setComponent(sopInstanceUidField);
    sopInstanceUidField.setSizeFull();
    sopInstanceUidField.setPlaceholder("Filter Sop Instance Uid");
    UIS.setTooltip(sopInstanceUidField, TOOLTIP_FILTER_BY_ORIGINAL_OR_DEIDENTIFIED_VALUE);
}
Also used : TextField(com.vaadin.flow.component.textfield.TextField)

Example 2 with TextField

use of com.vaadin.flow.component.textfield.TextField in project karnak by OsiriX-Foundation.

the class DicomWorkListView method buildCallingAETitleFld.

private void buildCallingAETitleFld() {
    callingAetFld = new TextField();
    callingAetFld.setLabel("Calling AETitle");
    callingAetFld.setRequired(true);
    callingAetFld.setRequiredIndicatorVisible(true);
    callingAetFld.setValueChangeMode(ValueChangeMode.EAGER);
}
Also used : TextField(com.vaadin.flow.component.textfield.TextField)

Example 3 with TextField

use of com.vaadin.flow.component.textfield.TextField in project karnak by OsiriX-Foundation.

the class DicomWorkListView method buildWlAetFld.

private void buildWlAetFld() {
    workListAetFld = new TextField("Worklist AET");
    workListAetFld.setValueChangeMode(ValueChangeMode.EAGER);
}
Also used : TextField(com.vaadin.flow.component.textfield.TextField)

Example 4 with TextField

use of com.vaadin.flow.component.textfield.TextField in project karnak by OsiriX-Foundation.

the class DicomEchoView method buildCalledHostnameFld.

private void buildCalledHostnameFld() {
    calledHostnameFld = new TextField("Called Hostname");
    calledHostnameFld.setValueChangeMode(ValueChangeMode.EAGER);
}
Also used : TextField(com.vaadin.flow.component.textfield.TextField)

Example 5 with TextField

use of com.vaadin.flow.component.textfield.TextField in project karnak by OsiriX-Foundation.

the class DicomEchoView method buildCalledAetFld.

private void buildCalledAetFld() {
    calledAetFld = new TextField("Called AET");
    calledAetFld.setValueChangeMode(ValueChangeMode.EAGER);
}
Also used : TextField(com.vaadin.flow.component.textfield.TextField)

Aggregations

TextField (com.vaadin.flow.component.textfield.TextField)227 Test (org.junit.jupiter.api.Test)61 Button (com.vaadin.flow.component.button.Button)54 Div (com.vaadin.flow.component.html.Div)38 HorizontalLayout (com.vaadin.flow.component.orderedlayout.HorizontalLayout)32 FormLayout (com.vaadin.flow.component.formlayout.FormLayout)29 Binder (com.vaadin.flow.data.binder.Binder)29 GeneratedVaadinTextField (com.vaadin.flow.component.textfield.GeneratedVaadinTextField)28 Element (com.vaadin.flow.dom.Element)26 VerticalLayout (com.vaadin.flow.component.orderedlayout.VerticalLayout)23 Route (com.vaadin.flow.router.Route)21 Component (com.vaadin.flow.component.Component)16 Checkbox (com.vaadin.flow.component.checkbox.Checkbox)15 BinderCrudEditor (com.vaadin.flow.component.crud.BinderCrudEditor)15 Grid (com.vaadin.flow.component.grid.Grid)15 Span (com.vaadin.flow.component.html.Span)15 List (java.util.List)15 EmailField (com.vaadin.flow.component.textfield.EmailField)14 TextArea (com.vaadin.flow.component.textfield.TextArea)14 Test (org.junit.Test)14