DataItemDesign data = (DataItemDesign) item; String value = data.getValue( ); if ( value != null && keyExpression.equals( value.trim( ) )) { cell.setDisplayGroupIcon( true ); return; }
cell.setDisplayGroupIcon( true ); return;
	private void locateGroupIcon( GroupDesign group )	{		GroupHandle groupHandle = (GroupHandle)group.getHandle( );		String keyExpression = groupHandle.getKeyExpr();		if ( keyExpression == null )		{			return;		}		keyExpression = keyExpression.trim( );		BandDesign groupHeader = group.getHeader( );		for ( int i = 0; i < groupHeader.getContentCount( ); i++ )		{			RowDesign row = (RowDesign) groupHeader.getContent( 0 );			for ( int j = 0; j < row.getCellCount( ); j++)			{				CellDesign cell = row.getCell( j );				for ( int k = 0; k < cell.getContentCount( ); k++ )				{					ReportItemDesign item = cell.getContent( k );					if ( item instanceof DataItemDesign )					{						DataItemDesign data = (DataItemDesign) item;						String value = data.getValue( );						if ( value != null && keyExpression.equals( value.trim( ) ))						{							cell.setDisplayGroupIcon( true );							return;						}					}				}			}		}	}