protected JRDesignGroup getParent ( JRDesignGroup group ) { int index = realGroups . indexOf ( group ) ; return ( index > 0 ) ? ( JRDesignGroup ) realGroups . get ( index - 1 ) : group ; }
Finds the parent group of the given one and returns it