565758596061626364
String tooltip, boolean enabled, boolean locked) { CheckBox chk = new CheckBox(label); chk.setValue(enabled); chk.setTitle(tooltip); chk.setEnabled(!locked); contentPanel.add(new ListItemWidget(chk)); return chk; }