Package com.vaadin.tests.components.popupview

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

package com.vaadin.tests.components.popupview;

import com.vaadin.server.VaadinRequest;
import com.vaadin.tests.components.AbstractTestUI;
import com.vaadin.ui.Button;
import com.vaadin.ui.PopupView;

public class DisabledPopupView extends AbstractTestUI {

    @Override
    protected void setup(VaadinRequest request) {
        PopupView popupView = new PopupView("Disabled Popup", new Button("Hi!"));

        popupView.setEnabled(false);

        addComponent(popupView);
    }

    @Override
    protected Integer getTicketNumber() {
        return 14797;
    }
}
TOP

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

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.