IBandContent band = (IBandContent)row.getParent( );
IElement parent = row.getParent( ); if ( !( parent instanceof IBandContent ) ) { return false; } IBandContent band = (IBandContent)parent;
	boolean isRowInDetailBand(IRowContent row)	{		IBandContent band = (IBandContent)row.getParent( );		if (band.getBandType( ) == IBandContent.BAND_DETAIL)		{			return true;		}		return false;	}