private boolean isRenderContent(final WFigure figure) {
		FigureMode mode = figure.getMode();

		// EAGER figures only render content if the figure is the current AJAX trigger
		if (FigureMode.EAGER.equals(mode)) {
			return AjaxHelper.isCurrentAjaxTrigger(figure);
		} else if (FigureMode.LAZY.equals(mode)) {
			// LAZY figures render content if the figure is not hidden or it is the current AJAX Trigger (ie content has
			// been requested)
			return (!figure.isHidden() || AjaxHelper.isCurrentAjaxTrigger(figure));
		}

		return true;
	}
private boolean isRenderContent ( final WFigure figure ) { FigureMode mode = figure . getMode ( ) ; if ( FigureMode . EAGER . equals ( mode ) ) { return AjaxHelper . isCurrentAjaxTrigger ( figure ) ; } else if ( FigureMode . LAZY . equals ( mode ) ) { return ( ! figure . isHidden ( ) || AjaxHelper . isCurrentAjaxTrigger ( figure ) ) ; } return true ; }
@param figure the figure to paint.
@return true if the figure content needs to be rendered