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

java.lang.Object
  extended by org.kuali.kfs.sys.document.web.renderers.AccountingLineTableHeaderRenderer
All Implemented Interfaces:
Renderer

public class AccountingLineTableHeaderRenderer
extends Object
implements Renderer

Renders the header of an accounting line table


Constructor Summary
AccountingLineTableHeaderRenderer()
          Constructs a AccountingLineTableHeaderRenderer, updating the tags used by this renderer to keep constant properties
 
Method Summary
protected  String buildDivStart()
          Builds the beginning of the tab-container div
protected  String buildSubHeading()
          Builds the subheading for the table
protected  String buildSubheadingWithDetailToggleRowBeginning()
          Builds the start of the subheading row of the table
protected  String buildSubheadingWithDetailToggleRowEnding()
          Builds the ending of the toggle row
protected  String buildTableStart()
          Builds the very start of the table
 void clear()
          Clears out the mutable, changing qualities of this renderer so it can be repooled
 String getAccountingLineImportInstructionsUrl()
          Gets the accountingLineImportInstructionsUrl attribute.
 int getCellCount()
          Gets the cellCount attribute.
 boolean getHideDetails()
          Gets the hideDetails attribute.
 void render(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag)
          Renders the header for the accounting line table to the screen
protected  void renderHideDetails(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag)
          Renders the show/hide button
 void setAccountingLineImportInstructionsUrl(String accountingLineImportInstructionsUrl)
          Sets the accountingLineImportInstructionsUrl attribute value.
 void setCellCount(int cellCount)
          Sets the cellCount attribute value.
 void setHideDetails(boolean hideDetails)
          Sets the hideDetails attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountingLineTableHeaderRenderer

public AccountingLineTableHeaderRenderer()
Constructs a AccountingLineTableHeaderRenderer, updating the tags used by this renderer to keep constant properties

Method Detail

clear

public void clear()
Clears out the mutable, changing qualities of this renderer so it can be repooled

Specified by:
clear in interface Renderer

render

public void render(javax.servlet.jsp.PageContext pageContext,
                   javax.servlet.jsp.tagext.Tag parentTag)
            throws javax.servlet.jsp.JspException
Renders the header for the accounting line table to the screen

Specified by:
render in interface Renderer
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)

buildDivStart

protected String buildDivStart()
Builds the beginning of the tab-container div

Returns:
the beginning of the tab-container div in HTML

buildTableStart

protected String buildTableStart()
Builds the very start of the table

Returns:
the very start of the table expressed as HTML

buildSubheadingWithDetailToggleRowBeginning

protected String buildSubheadingWithDetailToggleRowBeginning()
Builds the start of the subheading row of the table

Returns:
the start of the subheading row of the table expressed as HTML

buildSubHeading

protected String buildSubHeading()
Builds the subheading for the table

Returns:
the subheading for the table, expressed as HTML

renderHideDetails

protected void renderHideDetails(javax.servlet.jsp.PageContext pageContext,
                                 javax.servlet.jsp.tagext.Tag parentTag)
                          throws javax.servlet.jsp.JspException
Renders the show/hide button

Parameters:
pageContext - the page context to render to
parentTag - the tag requesting all this rendering
Throws:
javax.servlet.jsp.JspException - thrown under terrible circumstances when the rendering failed and had to be left behind like so much refuse

buildSubheadingWithDetailToggleRowEnding

protected String buildSubheadingWithDetailToggleRowEnding()
Builds the ending of the toggle row

Returns:
the ending of the toggle row expressed as HTML

getAccountingLineImportInstructionsUrl

public String getAccountingLineImportInstructionsUrl()
Gets the accountingLineImportInstructionsUrl attribute.

Returns:
Returns the accountingLineImportInstructionsUrl.

setAccountingLineImportInstructionsUrl

public void setAccountingLineImportInstructionsUrl(String accountingLineImportInstructionsUrl)
Sets the accountingLineImportInstructionsUrl attribute value.

Parameters:
accountingLineImportInstructionsUrl - The accountingLineImportInstructionsUrl to set.

getCellCount

public int getCellCount()
Gets the cellCount attribute.

Returns:
Returns the cellCount.

setCellCount

public void setCellCount(int cellCount)
Sets the cellCount attribute value.

Parameters:
cellCount - The cellCount to set.

getHideDetails

public boolean getHideDetails()
Gets the hideDetails attribute.

Returns:
Returns the hideDetails.

setHideDetails

public void setHideDetails(boolean hideDetails)
Sets the hideDetails attribute value.

Parameters:
hideDetails - The hideDetails to set.


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