return widget.getWidth() == 100;
}
});
mediumItem.addClickHandler(new com.smartgwt.client.widgets.menu.events.ClickHandler() {
public void onClick(MenuItemClickEvent event) {
widget.animateResize(100, 100);
}
});
MenuItem largeItem = new MenuItem("Large");
largeItem.setCheckIfCondition(new MenuItemIfFunction() {