docs: public void setEnable(boolean flag) {
          if (flag == mIsEnabled)
              return;
  
          mIsEnabled = flag;
  
          if (getNative() != 0)
          {
              NativeComponent.setEnable(getNative(), flag);
          }
          if (flag)
          {
              onEnable();
          }
          else
          {
              onDisable();
          }
      }