code: public void setEnabled(boolean enabled) {
  
          if (enabled) {
              enable();
          } else {
              m_button.setEnabled(enabled);
              getElement().setPropertyBoolean("disabled", true);
          }
      }
docs: Enables or disables the button.<p>
  
  @param enabled if true, enables the button, else disables it