org.kuali.kfs.sys.document.web
Class AccountingLineTable

java.lang.Object
  extended by org.kuali.kfs.sys.document.web.AccountingLineTable
All Implemented Interfaces:
RenderableElement

public class AccountingLineTable
extends Object
implements RenderableElement

An inner table inside a table cell.


Constructor Summary
AccountingLineTable()
           
 
Method Summary
 void addRow(AccountingLineTableRow row)
          Adds a row to the bottom of this table's list of rows
 void appendFields(List<org.kuali.rice.kns.web.ui.Field> fields)
          Asks that the renderable element appends any field names it knows of to the given list; this is so that proper quick finders can be generated and population accomplished when fields themselves are rendered
 List<AccountingLineTableRow> getRows()
          Gets the rows attribute.
 boolean isActionBlock()
          This is not an action block
 boolean isEmpty()
          Determines if this table is empty of any renderable elements
 boolean isHidden()
          Determines if this element is hidden or not
 void populateWithTabIndexIfRequested(int reallyHighIndex)
          Allows the arbitrarily high tab index to be set for controls
 void renderChildrenRows(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag)
          Requests that this table render all of its children rows
 void renderElement(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag, AccountingLineRenderingContext renderingContext)
          Renders this element
 void setRows(List<AccountingLineTableRow> rows)
          Sets the rows attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountingLineTable

public AccountingLineTable()
Method Detail

getRows

public List<AccountingLineTableRow> getRows()
Gets the rows attribute.

Returns:
Returns the rows.

setRows

public void setRows(List<AccountingLineTableRow> rows)
Sets the rows attribute value.

Parameters:
rows - The rows to set.

isHidden

public boolean isHidden()
Description copied from interface: RenderableElement
Determines if this element is hidden or not

Specified by:
isHidden in interface RenderableElement
Returns:
true if hidden, false otherwise
See Also:
RenderableElement.isHidden()

isActionBlock

public boolean isActionBlock()
This is not an action block

Specified by:
isActionBlock in interface RenderableElement
Returns:
true if this is an action block, false otherwise
See Also:
RenderableElement.isActionBlock()

isEmpty

public boolean isEmpty()
Determines if this table is empty of any renderable elements

Specified by:
isEmpty in interface RenderableElement
Returns:
true if this is empty, false otherwise

renderElement

public void renderElement(javax.servlet.jsp.PageContext pageContext,
                          javax.servlet.jsp.tagext.Tag parentTag,
                          AccountingLineRenderingContext renderingContext)
                   throws javax.servlet.jsp.JspException
Description copied from interface: RenderableElement
Renders this element

Specified by:
renderElement in interface RenderableElement
Parameters:
pageContext - the context to render to
parentTag - the parent tag that is requesting this rendering
renderingContext - the context about the accounting line that this element would end up rendering
Throws:
javax.servlet.jsp.JspException
See Also:
org.kuali.kfs.sys.document.web.RenderableElement#renderElement(javax.servlet.jsp.PageContext, javax.servlet.jsp.tagext.Tag)

renderChildrenRows

public void renderChildrenRows(javax.servlet.jsp.PageContext pageContext,
                               javax.servlet.jsp.tagext.Tag parentTag)
                        throws javax.servlet.jsp.JspException
Requests that this table render all of its children rows

Parameters:
pageContext - the page context to render to
parentTag - the parent tag requesting the rendering
accountingLine - accounting line getting rendered
accountingLineProperty - property to the accounting line
Throws:
javax.servlet.jsp.JspException - thrown when some sort of thing goes wrong

appendFields

public void appendFields(List<org.kuali.rice.kns.web.ui.Field> fields)
Description copied from interface: RenderableElement
Asks that the renderable element appends any field names it knows of to the given list; this is so that proper quick finders can be generated and population accomplished when fields themselves are rendered

Specified by:
appendFields in interface RenderableElement
See Also:
org.kuali.kfs.sys.document.web.RenderableElement#appendFieldNames(java.util.List)

populateWithTabIndexIfRequested

public void populateWithTabIndexIfRequested(int reallyHighIndex)
Description copied from interface: RenderableElement
Allows the arbitrarily high tab index to be set for controls

Specified by:
populateWithTabIndexIfRequested in interface RenderableElement
Parameters:
reallyHighIndex - a really high index for elements who should not be tabbed to
See Also:
org.kuali.kfs.sys.document.web.RenderableElement#populateWithTabIndexIfRequested(int[], int)

addRow

public void addRow(AccountingLineTableRow row)
Adds a row to the bottom of this table's list of rows

Parameters:
row - the row to add


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