src/main/java/com/spinyowl/legui/component/RadioButtonGroup.java
protected void add(RadioButton radioButton) {
    if (radioButtons.contains(radioButton)) {
      return;
    }
    radioButtons.add(radioButton);
    if (radioButton.isChecked()) {
      if (selection != null) {
        selection.setChecked(false);
      }
      selection = radioButton;
    }
  }
/**
   * Used to add radio button to group.
   *
   * @param radioButton radio button to add.
   */
Used to add radio button to group.
@param radioButton radio button to add.
Used to add radio button to group . @param radioButton radio button to add .
protected void add(RadioButton radioButton) {
    if (radioButtons.contains(radioButton)) {
      return;
    }
    radioButtons.add(radioButton);
    if (radioButton.isChecked()) {
      if (selection != null) {
        selection.setChecked(false);
      }
      selection = radioButton;
    }
  }
protected void add ( RadioButton radioButton ) { if ( radioButtons . contains ( radioButton ) ) { return ; } radioButtons . add ( radioButton ) ; if ( radioButton . isChecked ( ) ) { if ( selection != null ) { selection . setChecked ( false ) ; } selection = radioButton ; } }
Used to add radio button to group.
Used to add radio button to group .