Package com.vaadin.tests.components.abstractfield

Source Code of com.vaadin.tests.components.abstractfield.DateFieldBackedByString

package com.vaadin.tests.components.abstractfield;

import com.vaadin.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.data.util.ObjectProperty<String>(
                s, String.class));

    }
}
TOP

Related Classes of com.vaadin.tests.components.abstractfield.DateFieldBackedByString

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.