SwingCheckbox extends SwingElement implements XulCheckbox { public void setDisabled( boolean dis ) { checkBox.setEnabled( !dis ); } SwingCheckbox( Element self, XulComponent parent, XulDomContainer domContainer, String tagName ); boolean getSelected(); void setSelected( boolean selected ); void layout(); void setLabel( String label ); String getLabel(); boolean isChecked(); boolean isDisabled(); void setChecked( boolean checked ); void setDisabled( boolean dis ); void setCommand( final String method ); String getCommand();  }
@Test public final void testSetDisabled() { check.setDisabled( true ); assertTrue( check.isDisabled() ); check.setDisabled( false ); assertTrue( !check.isDisabled() ); }