Package com.vaadin.tests.components.popupview

Source Code of com.vaadin.tests.components.popupview.ClickingWhilePopupOpen

package com.vaadin.tests.components.popupview;

import com.vaadin.tests.components.TestBase;
import com.vaadin.ui.Label;
import com.vaadin.ui.PopupView;

public class ClickingWhilePopupOpen extends TestBase {

    @Override
    protected void setup() {
        Label popup = new Label("Popup");
        popup.setSizeUndefined();
        addComponent(new PopupView("Click here to open the popup", popup));
    }

    @Override
    protected String getDescription() {
        return "Clicking the popup view when the popup is already open throws a client-side IllegalStateException";
    }

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

}
TOP

Related Classes of com.vaadin.tests.components.popupview.ClickingWhilePopupOpen

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.