Package com.vaadin.tests.components.window

Source Code of com.vaadin.tests.components.window.ModalWindowNativeSelect

package com.vaadin.tests.components.window;

import com.vaadin.tests.components.TestBase;
import com.vaadin.ui.NativeSelect;
import com.vaadin.ui.Window;

public class ModalWindowNativeSelect extends TestBase {

    @Override
    protected void setup() {
        NativeSelect ns = new NativeSelect();

        Window modalWindow = new Window();
        modalWindow.setModal(true);
        modalWindow.center();

        addComponent(ns);
        getMainWindow().addWindow(modalWindow);

    }

    @Override
    protected String getDescription() {
        return "The native select should be behind the modality curtain and user should not be able to interact with it";
    }

    @Override
    protected Integer getTicketNumber() {
        return 4261;
    }

}
TOP

Related Classes of com.vaadin.tests.components.window.ModalWindowNativeSelect

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.