Package com.vaadin.tests.components.window

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

package com.vaadin.tests.components.window;

import com.vaadin.server.FontAwesome;
import com.vaadin.server.VaadinRequest;
import com.vaadin.tests.components.AbstractTestUI;
import com.vaadin.ui.Window;

public class WindowWithIcon extends AbstractTestUI {

    @Override
    protected void setup(VaadinRequest request) {
        Window window = new Window("Window Caption");
        window.setIcon(FontAwesome.ROCKET);
        addWindow(window);
    }

    @Override
    protected String getTestDescription() {
        return "Window should work properly with font icons.";
    }

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

}
TOP

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

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.