blob: 0233c22d903f98c0a9ee6a662083cd6a26b0a1a0 (
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
|
package com.vaadin.tests.components.flash;
import com.vaadin.server.ClassResource;
import com.vaadin.tests.components.TestBase;
import com.vaadin.ui.Button;
import com.vaadin.ui.Flash;
public class FlashExpansion extends TestBase {
Flash player = new Flash();
@Override
protected void setup() {
player.setWidth("400px");
player.setHeight("300px");
player.setSource(new ClassResource("simple.swf"));
addComponent(player);
Button button = new Button("click", event -> player.setSizeFull());
addComponent(button);
}
@Override
protected String getDescription() {
return "Flash object should expand according to percentile sizes";
}
@Override
protected Integer getTicketNumber() {
return 4035;
}
}
|