Example usage for com.vaadin.v7.ui DateField DateField

List of usage examples for com.vaadin.v7.ui DateField DateField

Introduction

In this page you can find the example usage for com.vaadin.v7.ui DateField DateField.

Prototype

public DateField(Property dataSource) throws IllegalArgumentException 

Source Link

Document

Constructs a new DateField that's bound to the specified Property and has no caption.

Usage

From source file:de.symeda.sormas.ui.statistics.StatisticsFilterDateRangeElement.java

License:Open Source License

public StatisticsFilterDateRangeElement() {
    setSpacing(true);//from  www  .jav a 2  s.  co  m

    dateFromField = new DateField(I18nProperties.getCaption(Captions.from));
    dateToField = new DateField(I18nProperties.getCaption(Captions.to));

    addComponent(dateFromField);
    addComponent(dateToField);
}