protected void check(){
  checkmark.removeAttribute(SVGConstants.SVG_STYLE_ATTRIBUTE);
  checked=true;
  fireSwitchEvent(new ChangeEvent(SVGCheckbox.this));
}

protected void check ( ) { checkmark . removeAttribute ( SVGConstants . SVG_STYLE_ATTRIBUTE ) ; checked = true ; fireSwitchEvent ( new ChangeEvent ( SVGCheckbox . this ) ) ; }
set the checkmark , and fire the event .
