protected CCMenuItemToggle(CCNode t,String sel,CCMenuItem... items){
  super(t,sel);
  subItems_=new ArrayList<CCMenuItem>(items.length);
  subItems_.addAll(Arrays.asList(items));
  selectedIndex_=Integer.MAX_VALUE;
  setSelectedIndex(0);
}

protected CCMenuItemToggle ( CCNode t , String sel , CCMenuItem ... items ) { super ( t , sel ) ; subItems_ = new ArrayList < CCMenuItem > ( items . length ) ; subItems_ . addAll ( Arrays . asList ( items ) ) ; selectedIndex_ = Integer . MAX_VALUE ; setSelectedIndex ( 0 ) ; }
initializes a menu item from a list of items with a target selector
