stateMask = stateMask & (~ENABLED);
stateMask = stateMask & (~ENABLED) & (~ARMED) & (~PRESSED);
  public void setEnabled(boolean e)  {    // if this call does not represent a CHANGE in state, then return    if ((e && isEnabled()) || (!e && !isEnabled()))      return;    // make the change    if (e)      stateMask = stateMask | ENABLED;    else      stateMask = stateMask & (~ENABLED);    // notify interested ChangeListeners    fireStateChanged();  }