blob: 41b45510ad0779ba014261f7c1293bb7e6d40dea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
package com.vaadin.tests.elements.window;
import com.vaadin.annotations.Theme;
import com.vaadin.server.VaadinRequest;
import com.vaadin.tests.components.AbstractTestUI;
import com.vaadin.ui.Label;
import com.vaadin.ui.Window;
@Theme("tests-valo-disabled-animations")
public class WindowUI extends AbstractTestUI {
@Override
protected void setup(VaadinRequest request) {
Window window = new Window();
window.setCaption("Some caption");
window.center();
window.setWidth("200px");
window.setHeight("200px");
window.setContent(new Label("Hello world"));
addWindow(window);
}
@Override
protected String getTestDescription() {
return "Test UI for Window element API";
}
@Override
protected Integer getTicketNumber() {
return null;
}
}
|