Package com.vaadin.tests.components.popupview

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

package com.vaadin.tests.components.popupview;

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

/*
* Used by PopupViewInEmbedded.html
*/
public class PopupViewInEmbeddedApplication extends TestBase {

    @Override
    protected void setup() {
        PopupView pop = new PopupView("Click me!", new Label(
                "I popped up, woohoo!"));
        addComponent(pop);
    }

    @Override
    protected String getDescription() {
        return "Clicking on the popup link should pop up the popup on top of the link,"
                + " even though the application has been embedded inside a div.";
    }

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

}
TOP

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

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.