コード例 #1
0
 @Override
 public void setReadOnly(boolean isReadOnly) {
   description.setEnabled(!isReadOnly);
 }
コード例 #2
0
 @UiHandler("description")
 public void onDescriptionChange(KeyUpEvent event) {
   presenter.onDescriptionEdited(description.getText());
 }
コード例 #3
0
 @Override
 public void setReadOnly(boolean readOnly) {
   department_name.setReadOnly(readOnly);
   department_address.setReadOnly(readOnly);
   department_description.setReadOnly(readOnly);
 }