use of com.vaadin.flow.component.icon.IronIcon in project karnak by OsiriX-Foundation.
the class ProfileErrorView method setSuccessIcon.
private IronIcon setSuccessIcon() {
IronIcon errorIcon = new IronIcon("icons", "check");
errorIcon.setColor("green");
errorIcon.getStyle().set("padding-left", "5px");
return errorIcon;
}
use of com.vaadin.flow.component.icon.IronIcon in project karnak by OsiriX-Foundation.
the class MainzellisteAddPatient method setElements.
private void setElements() {
externalIdField = new TextField("External Pseudonym");
externalIdField.setWidth("25%");
patientIdField = new TextField("Patient ID");
patientIdField.setWidth("25%");
patientFirstNameField = new TextField("Patient first name");
patientFirstNameField.setWidth("25%");
patientLastNameField = new TextField("Patient last name");
patientLastNameField.setWidth("25%");
issuerOfPatientIdField = new TextField("Issuer of patient ID");
issuerOfPatientIdField.setWidth("33%");
patientBirthDateField = new DatePicker("Patient Birth Date");
patientBirthDateField.setWidth("33%");
patientSexField = new Select<>();
patientSexField.setLabel("Patient Sex");
patientSexField.setItems("M", "F", "O");
patientSexField.setWidth("33%");
saveInMainzellisteButton = new Button("Save patient in Mainzelliste");
saveInMainzellisteButton.addThemeVariants(ButtonVariant.LUMO_PRIMARY);
saveInMainzellisteButton.setIcon(new IronIcon("icons", "icons:send"));
horizontalLayoutAddClear = new HorizontalLayout();
horizontalLayoutAddClear.getStyle().set("margin-left", "auto");
horizontalLayout1 = new HorizontalLayout();
horizontalLayout2 = new HorizontalLayout();
horizontalLayout3 = new HorizontalLayout();
horizontalLayout1.setSizeFull();
horizontalLayout2.setSizeFull();
horizontalLayout3.setSizeFull();
clearFieldsButton = new Button("Clear");
}
use of com.vaadin.flow.component.icon.IronIcon in project karnak by OsiriX-Foundation.
the class ProfileErrorView method setErrorIcon.
private IronIcon setErrorIcon() {
IronIcon errorIcon = new IronIcon("icons", "error");
errorIcon.setColor("red");
errorIcon.getStyle().set("padding-left", "5px");
return errorIcon;
}
Aggregations