executableElements[totalElements++] = listingDesign.getDetail( );
BandDesign detail = listingDesign.getDetail( ); if ( detail != null ) { executableElements[totalElements++] = detail; }
	void collectExecutableElements()	{		currentElement = 0;		totalElements = 0;		endOfListing = false;		ListingDesign listingDesign = (ListingDesign)getDesign();		int groupCount = listingDesign.getGroupCount();		int startGroup = rset.getStartingGroupLevel( );		if (startGroup == 0)		{			//this is the first record			executableElements[totalElements++] = listingDesign.getHeader( );		}		if (groupCount > 0)		{			executableElements[totalElements++] = listingDesign.getGroup( 0 );		}		else		{			executableElements[totalElements++] = listingDesign.getDetail( );		}		int endGroup = rset.getEndingGroupLevel( );		if (endGroup <= 0)		{			//this is the last record			executableElements[totalElements++] = listingDesign.getFooter( );			endOfListing = true;		}			}