Package com.vaadin.ui

Examples of com.vaadin.ui.Select.addListener()


        theme.addItem("base");
        theme.addItem("liferay");
        theme.setValue("reindeer");
        theme.setNullSelectionAllowed(false);
        theme.setImmediate(true);
        theme.addListener(new ValueChangeListener() {
            @Override
            public void valueChange(ValueChangeEvent event) {
                setTheme(String.valueOf(event.getProperty().getValue()));
            }
        });
View Full Code Here


    /** Create new Select with given caption and listener. */
    public Select select(String caption,
            Property.ValueChangeListener changeListener) {
        Select c = select(caption);
        c.addListener(changeListener);
        return c;
    }

    /** Create new TabSheet and add it to current component container. */
    public TabSheet tabsheet() {
View Full Code Here

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.