blob: c1324a075117c420e8fd560601b8b28016dd3c4c (
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
36
37
|
package com.vaadin.tests.themes;
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.Panel;
import com.vaadin.ui.themes.LiferayTheme;
@Theme("liferay")
public class LiferayThemeTest extends AbstractTestUI {
@Override
protected void setup(VaadinRequest request) {
Panel p = new Panel("Panel");
addComponent(p);
p.addComponent(new Label("Panel content"));
p = new Panel("Light Panel");
p.addStyleName(LiferayTheme.PANEL_LIGHT);
addComponent(p);
p.addComponent(new Label("Panel content"));
}
@Override
protected String getTestDescription() {
// TODO Auto-generated method stub
return null;
}
@Override
protected Integer getTicketNumber() {
// TODO Auto-generated method stub
return null;
}
}
|