code: @Override
      public void setValue(String value, boolean fireEvents) {
          String oldValue = fireEvents ? getValue() : null;
          boolean changed = false;
          for (JQMRadio r : radios) { // first we have to uncheck already checked radios (UI refresh issue)
              TextBox radio = r.getInput();
              if (!isChecked(radio)) continue;
              boolean checked = value != null && value.equals(radio.getValue()) ? true : false;
              if (!checked) {
                  setChecked(radio, false);
                  changed = true;
              }
          }
          for (JQMRadio r : radios) {
              TextBox radio = r.getInput();
              boolean checked = value != null && value.equals(radio.getValue()) ? true : false;
              if (isChecked(radio) != checked) {
                  setChecked(radio, checked);
                  changed = true;
              }
          }
          if (fireEvents && changed) {
              String newValue = getValue();
              boolean eq = newValue == oldValue || newValue != null && newValue.equals(oldValue);
              if (!eq) {
                  SelectionEvent.fire(this, newValue);
                  ValueChangeEvent.fire(this, newValue);
              }
          }
      }
docs: Sets the currently selected radio to the given value.