blob: ec0cdf53a2255aa24c1b17eaedd7167a162662fe (
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
|
package com.vaadin.tests.components.ui;
import com.vaadin.annotations.Theme;
import com.vaadin.server.WrappedRequest;
import com.vaadin.tests.components.AbstractTestUI;
import com.vaadin.ui.Label;
@Theme("tests-tickets")
public class TestUITheme extends AbstractTestUI {
@Override
protected void setup(WrappedRequest request) {
Label label = new Label("A red label");
label.setStyleName("red");
addComponent(label);
}
@Override
public String getTestDescription() {
return "UI with @Theme(\"tests-tickets\")";
}
@Override
protected Integer getTicketNumber() {
return Integer.valueOf(7885);
}
}
|