public void setChecked(boolean state, boolean supressEvent) {
if (!rendered) {
this.checked = state;
return;
}
MenuEvent me = new MenuEvent(parentMenu);
me.setItem(this);
me.setChecked(state);
if (supressEvent || fireEvent(Events.BeforeCheckChange, me)) {
if (getGroup() == null) {
setIcon(state ? GXT.IMAGES.checked() : GXT.IMAGES.unchecked());
el().setStyleName("x-menu-checked", state);