public static RadioButton create(String name, String value, String idSuffix, String label, boolean isSelected,
			boolean isDisabled)
	{
		RadioButton _result = new RadioButton();
		_result.setName(name);
		_result.setValue(value);
		if (IS_NOT_EMPTY.test(idSuffix))
		{
			_result.setIdSuffix(idSuffix);
		}
		_result.setLabel(label);
		_result.setSelected(isSelected);
		_result.setDisabled(isDisabled);

		return _result;
	}
public static RadioButton create ( String name , String value , String idSuffix , String label , boolean isSelected , boolean isDisabled ) { RadioButton _result = new RadioButton ( ) ; _result . setName ( name ) ; _result . setValue ( value ) ; if ( IS_NOT_EMPTY . test ( idSuffix ) ) { _result . setIdSuffix ( idSuffix ) ; } _result . setLabel ( label ) ; _result . setSelected ( isSelected ) ; _result . setDisabled ( isDisabled ) ; return _result ; }
Create a fully specified radio button.

@param name
name of the radio button.
@param value
value of the radio button.
@param idSuffix
suffix to add to compute the id attribute.
@param label
label of the button.
@param isSelected
selected attribute.
@param isDisabled
disabled attribute.
@return a fully defined {@link RadioButton}.