return JCheckBoxMenuItem.class;
}
@Override
public IAdapter getParent() {
JCheckBoxMenuItem jb = (JCheckBoxMenuItem) getWidget();
DefaultButtonModel dbm = (DefaultButtonModel) jb.getModel();
ButtonGroup bg = dbm.getGroup();
if (bg != null) {
for (InvisibleAdapter invisible : getRootAdapter().getInvisibles()) {
if (invisible instanceof ButtonGroupAdapter) {
if (bg == ((ButtonGroupAdapter) invisible).getButtonGroup())