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

java.lang.Object
  extended by org.kuali.kfs.sys.document.web.renderers.TotalRendererBase
      extended by org.kuali.kfs.sys.document.web.renderers.DebitCreditTotalRenderer
All Implemented Interfaces:
CellCountCurious, Renderer, RepresentedCellCurious

public class DebitCreditTotalRenderer
extends TotalRendererBase


Constructor Summary
DebitCreditTotalRenderer()
          Constructs a GroupTotalRenderer, setting permanent values on the writeTag tag
 
Method Summary
 void clear()
          Clears out the totalProperty
 String getCreditTotalLabelProperty()
          Gets the creditTotalLabelProperty attribute.
 String getCreditTotalProperty()
          Gets the creditTotalProperty attribute.
 String getDebitTotalLabelProperty()
          Gets the debitTotalLabelProperty attribute.
 String getDebitTotalProperty()
          Gets the debitTotalProperty 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 setCreditTotalLabelProperty(String creditTotalLabelProperty)
          Sets the creditTotalLabelProperty attribute value.
 void setCreditTotalProperty(String creditTotalProperty)
          Sets the creditTotalProperty attribute value.
 void setDebitTotalLabelProperty(String debitTotalLabelProperty)
          Sets the debitTotalLabelProperty attribute value.
 void setDebitTotalProperty(String debitTotalProperty)
          Sets the debitTotalProperty 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

DebitCreditTotalRenderer

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

Method Detail

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)

getDebitTotalProperty

public String getDebitTotalProperty()
Gets the debitTotalProperty attribute.

Returns:
Returns the debitTotalProperty.

setDebitTotalProperty

public void setDebitTotalProperty(String debitTotalProperty)
Sets the debitTotalProperty attribute value.

Parameters:
debitTotalProperty - The debitTotalProperty to set.

getCreditTotalProperty

public String getCreditTotalProperty()
Gets the creditTotalProperty attribute.

Returns:
Returns the creditTotalProperty.

setCreditTotalProperty

public void setCreditTotalProperty(String creditTotalProperty)
Sets the creditTotalProperty attribute value.

Parameters:
creditTotalProperty - The creditTotalProperty to set.

getDebitTotalLabelProperty

public String getDebitTotalLabelProperty()
Gets the debitTotalLabelProperty attribute.

Returns:
Returns the debitTotalLabelProperty.

setDebitTotalLabelProperty

public void setDebitTotalLabelProperty(String debitTotalLabelProperty)
Sets the debitTotalLabelProperty attribute value.

Parameters:
debitTotalLabelProperty - The debitTotalLabelProperty to set.

getCreditTotalLabelProperty

public String getCreditTotalLabelProperty()
Gets the creditTotalLabelProperty attribute.

Returns:
Returns the creditTotalLabelProperty.

setCreditTotalLabelProperty

public void setCreditTotalLabelProperty(String creditTotalLabelProperty)
Sets the creditTotalLabelProperty attribute value.

Parameters:
creditTotalLabelProperty - The creditTotalLabelProperty to set.


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