return JRadioButtonMenuItem.class;
}
@Override
public IAdapter getParent() {
JRadioButtonMenuItem jb = (JRadioButtonMenuItem) 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())
return invisible;