Search in sources :

Example 1 with ChoiceField

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

the class DataTransfer method buildFields.

@Override
protected void buildFields() {
    actionField = new ChoiceField("Select Action", new String[] { "Download", "Upload" });
    addField(actionField);
}
Also used : ChoiceField(com.storedobject.vaadin.ChoiceField)

Example 2 with ChoiceField

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

the class MailLog method buildFields.

@Override
protected void buildFields() {
    periodField = new DatePeriodField("Period");
    addField(periodField);
    statusField = new ChoiceField("Delivery Status", new String[] { "All", "Sent", "Not sent" });
    addField(statusField);
}
Also used : DatePeriodField(com.storedobject.ui.DatePeriodField) ChoiceField(com.storedobject.vaadin.ChoiceField)

Example 3 with ChoiceField

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

the class StockReport method buildFields.

@Override
protected void buildFields() {
    storeField = new ObjectField<>("Store", InventoryStore.class, true);
    storeField.setPlaceholder("All");
    addField(storeField);
    zerosField = new BooleanField("Print Zero-Quantity Items");
    addField(zerosField);
    outputField = new ChoiceField("Format", new String[] { "PDF", "Excel" });
    addField(outputField);
}
Also used : BooleanField(com.storedobject.vaadin.BooleanField) ChoiceField(com.storedobject.vaadin.ChoiceField)

Aggregations

ChoiceField (com.storedobject.vaadin.ChoiceField)3 DatePeriodField (com.storedobject.ui.DatePeriodField)1 BooleanField (com.storedobject.vaadin.BooleanField)1