org.kuali.kfs.sys.document.web.renderers
Class GroupTotalRenderer

java.lang.Object
  extended by org.kuali.kfs.sys.document.web.renderers.TotalRendererBase
      extended by org.kuali.kfs.sys.document.web.renderers.GroupTotalRenderer
All Implemented Interfaces:
CellCountCurious, Renderer, RepresentedCellCurious
Direct Known Subclasses:
ProcurementCardGroupTotalRenderer

public class GroupTotalRenderer
extends TotalRendererBase

The standard renderer of totals for an accounting line group


Constructor Summary
GroupTotalRenderer()
          Constructs a GroupTotalRenderer, setting permanent values on the writeTag tag
 
Method Summary
 void clear()
          Clears out the totalProperty
 String getTotalLabelProperty()
          Gets the totalLabelProperty attribute.
 String getTotalProperty()
          Gets the totalProperty attribute.
 void render(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag)
          Uses a Struts write tag to dump out the total
 void setTotalLabelProperty(String totalLabelProperty)
          Sets the totalLabelProperty attribute value.
 void setTotalProperty(String totalProperty)
          Sets the totalProperty attribute value.
 
Methods inherited from class org.kuali.kfs.sys.document.web.renderers.TotalRendererBase
getCellCount, getColumnNumberOfRepresentedCell, getRepresentedCellPropertyName, setCellCount, setColumnNumberOfRepresentedCell, setRepresentedCellPropertyName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupTotalRenderer

public GroupTotalRenderer()
Constructs a GroupTotalRenderer, setting permanent values on the writeTag tag

Method Detail

getTotalProperty

public String getTotalProperty()
Gets the totalProperty attribute.

Returns:
Returns the totalProperty.

setTotalProperty

public void setTotalProperty(String totalProperty)
Sets the totalProperty attribute value.

Parameters:
totalProperty - The totalProperty to set.

getTotalLabelProperty

public String getTotalLabelProperty()
Gets the totalLabelProperty attribute.

Returns:
Returns the totalLabelProperty.

setTotalLabelProperty

public void setTotalLabelProperty(String totalLabelProperty)
Sets the totalLabelProperty attribute value.

Parameters:
totalLabelProperty - The totalLabelProperty to set.

clear

public void clear()
Clears out the totalProperty

Specified by:
clear in interface Renderer
Overrides:
clear in class TotalRendererBase
See Also:
Renderer.clear()

render

public void render(javax.servlet.jsp.PageContext pageContext,
                   javax.servlet.jsp.tagext.Tag parentTag)
            throws javax.servlet.jsp.JspException
Uses a Struts write tag to dump out the total

Parameters:
pageContext - the JSP page context to render to
parentTag - the tag that is the "parent" of this rendering
Throws:
javax.servlet.jsp.JspException
See Also:
Renderer.render(javax.servlet.jsp.PageContext, javax.servlet.jsp.tagext.Tag)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.