Exemple #1
0
 @Override
 public void setSelected(boolean value) {
   super.setSelected(value);
   if (value) model.set(name);
 }
Exemple #2
0
 @Override
 public boolean isSelected() {
   return model.get().equals(name);
 }