blob: df74ab3ff662cf917be0cef5f5c943656581277a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package com.vaadin.tests.components.combobox;
import java.util.Map;
import com.vaadin.v7.ui.ComboBox;
/**
* A combo box component with delay. Can be useful to use while testing UI.
*/
public class SlowComboBox extends ComboBox {
@Override
public void changeVariables(Object source, Map<String, Object> variables) {
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
}
super.changeVariables(source, variables);
}
}
|