blob: da96a8898996d37d9e998fe981b345bd19b67197 (
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
|
package com.itmill.toolkit.ui;
import com.itmill.toolkit.data.Property;
public class CheckBox extends Button {
public CheckBox() {
super();
setSwitchMode(true);
}
public CheckBox(String caption, boolean initialState) {
super(caption, initialState);
setSwitchMode(true);
}
public CheckBox(String caption, ClickListener listener) {
super(caption, listener);
setSwitchMode(true);
}
public CheckBox(String caption, Object target, String methodName) {
super(caption, target, methodName);
setSwitchMode(true);
}
public CheckBox(String caption, Property dataSource) {
super(caption, dataSource);
setSwitchMode(true);
}
public CheckBox(String caption) {
super(caption);
setSwitchMode(true);
}
}
|