SwingRadio extends SwingElement implements XulRadio { public void setSelected( boolean selected ) { radioButton.setSelected( selected ); } SwingRadio( Element self, XulComponent parent, XulDomContainer domContainer, String tagName ); boolean isSelected(); void setSelected( boolean selected ); void layout(); void setLabel( String label ); String getLabel(); boolean isDisabled(); void setDisabled( boolean dis ); void setCommand( final String method ); String getValue(); void setValue( String aValue ); String getGroup(); void setGroup( String group ); @Override void onDomReady();  }
@Test public void testSetSelected() throws Exception { radio1.setSelected( true ); assertTrue( !radio2.isSelected() ); assertTrue( radio1.isSelected() ); }