aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/main/java/com/vaadin/tests/components/abstractfield/DateFieldBackedByString.java
blob: 516f0a189117aea7231c4a8cdd840c4e95fee430 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.vaadin.tests.components.abstractfield;

import com.vaadin.v7.ui.DateField;

public class DateFieldBackedByString extends AbstractComponentDataBindingTest {

    private String s = null;

    @Override
    protected void createFields() {
        DateField df = new DateField("Date field");
        addComponent(df);
        df.setPropertyDataSource(
                new com.vaadin.v7.data.util.ObjectProperty<>(s, String.class));

    }
}