Package com.vaadin.tests.tickets

Source Code of com.vaadin.tests.tickets.Ticket2095

package com.vaadin.tests.tickets;

import com.vaadin.server.ExternalResource;
import com.vaadin.server.LegacyApplication;
import com.vaadin.ui.Embedded;
import com.vaadin.ui.LegacyWindow;

public class Ticket2095 extends LegacyApplication {

    @Override
    public void init() {
        LegacyWindow w = new LegacyWindow(getClass().getSimpleName());
        setMainWindow(w);

        // uncomment to workaround iorderedlayout bug in current trunk
        // w.setContent(new ExpandLayout());
        w.getContent().setSizeFull();

        Embedded em = new Embedded();
        em.setType(Embedded.TYPE_BROWSER);
        em.setSource(new ExternalResource("../statictestfiles/ticket2095.html"));
        em.setId("MYIFRAME");

        em.setSizeFull();

        w.addComponent(em);

    }
}
TOP

Related Classes of com.vaadin.tests.tickets.Ticket2095

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.