Esempio n. 1
0
  @Override
  public void setEditable(final boolean editable) {
    this.editable = editable;

    fNumber.setEditable(editable);
    if (withButtons) {
      bMinus.setEnabled(editable);
      bPlus.setEnabled(editable);
    }
  }
Esempio n. 2
0
 @Override
 public void setNumberRO(final boolean ro) {
   fNumber.setEditable(!ro);
 }