Search in sources :

Example 1 with CompoundField

use of com.storedobject.vaadin.CompoundField in project SODevelopment by syampillai.

the class ManageJettyApplication method buildFields.

@Override
protected void buildFields() {
    server = new TextField("Application");
    setRequired(server);
    addField(server);
    ELabel warning = new ELabel("Your action may affect other live users!", "red");
    warning.update();
    addField(new CompoundField("Warning", warning));
}
Also used : ELabel(com.storedobject.ui.ELabel) TextField(com.storedobject.vaadin.TextField) CompoundField(com.storedobject.vaadin.CompoundField)

Example 2 with CompoundField

use of com.storedobject.vaadin.CompoundField in project SODevelopment by syampillai.

the class ManageTomcatApplication method buildFields.

@Override
protected void buildFields() {
    server = new TextField("Application");
    server.setRequired(true);
    addField(server);
    action = new RadioField<>("Action", new String[] { "Reload", "Stop", "Start" });
    addField(action);
    warning = new ELabel("Your action may affect other live users!", "red");
    warning.update();
    addField(new CompoundField("Warning", warning));
}
Also used : ELabel(com.storedobject.ui.ELabel) TextField(com.storedobject.vaadin.TextField) CompoundField(com.storedobject.vaadin.CompoundField)

Aggregations

ELabel (com.storedobject.ui.ELabel)2 CompoundField (com.storedobject.vaadin.CompoundField)2 TextField (com.storedobject.vaadin.TextField)2