public int getObjectCount ( int groupID ) { if ( groupID >= 0 && groupID < objectGroups . size ( ) ) { ObjectGroup grp = ( ObjectGroup ) objectGroups . get ( groupID ) ; return grp . objects . size ( ) ; } return - 1 ; }
Returns the number of objects of a specific object - group .