protected Label createTitleLabel(String id, PivotField pivotField) {
		String title = pivotField.getTitle();
		if (pivotField.getArea().equals(PivotField.Area.DATA)) {
			title += " (" + pivotField.getAggregator().getFunction().toUpperCase() + ")"; 
		}

		return new Label(id, title);
	}
protected Label createTitleLabel ( String id , PivotField pivotField ) { String title = pivotField . getTitle ( ) ; if ( pivotField . getArea ( ) . equals ( PivotField . Area . DATA ) ) { title += " (" + pivotField . getAggregator ( ) . getFunction ( ) . toUpperCase ( ) + ")" ; } return new Label ( id , title ) ; }
Retrieves a label that display the pivot table title (for fields on ROW and DATA areas)