Search in sources :

Example 1 with GridSourceNode

use of org.karnak.frontend.forwardnode.edit.source.component.GridSourceNode in project karnak by OsiriX-Foundation.

the class SourceView method buildComponentsLayout.

/**
 * Create components, layout and add the layout of the view
 */
private void buildComponentsLayout() {
    setSizeFull();
    gridSourceNode = new GridSourceNode();
    filter = new TextField();
    newSourceNode = new Button(LABEL_NEW_SOURCE_NODE);
    layoutFilterButton = new HorizontalLayout(filter, newSourceNode);
    layoutFilterButton.setVerticalComponentAlignment(Alignment.START, filter);
    layoutFilterButton.expand(filter);
    setTextFieldFilter();
    setButtonNewDestinationDICOM();
    add(UIS.setWidthFull(layoutFilterButton), UIS.setWidthFull(gridSourceNode));
}
Also used : Button(com.vaadin.flow.component.button.Button) TextField(com.vaadin.flow.component.textfield.TextField) GridSourceNode(org.karnak.frontend.forwardnode.edit.source.component.GridSourceNode) HorizontalLayout(com.vaadin.flow.component.orderedlayout.HorizontalLayout)

Aggregations

Button (com.vaadin.flow.component.button.Button)1 HorizontalLayout (com.vaadin.flow.component.orderedlayout.HorizontalLayout)1 TextField (com.vaadin.flow.component.textfield.TextField)1 GridSourceNode (org.karnak.frontend.forwardnode.edit.source.component.GridSourceNode)1