blob: c8ff651c681acc9b83fa3e83e6a49ab44931a4a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package com.vaadin.tests.widgetset.server;
import com.vaadin.tests.widgetset.client.LabelState;
import com.vaadin.ui.AbstractComponent;
/**
* Dummy component to cause {@link LabelState} to be used to test #8683
*
* @author Vaadin Ltd
* @since 7.0.0
*/
public class DummyLabel extends AbstractComponent {
public DummyLabel(String text) {
getState().setText(text);
}
@Override
public LabelState getState() {
return (LabelState) super.getState();
}
}
|