org.kuali.kfs.sys.document.web
Class FieldTableJoiningWithHeader
java.lang.Object
org.kuali.kfs.sys.document.web.FieldTableJoining
org.kuali.kfs.sys.document.web.FieldTableJoiningWithHeader
- All Implemented Interfaces:
- ElementNamable, RenderableElement, TableJoining, TableJoiningWithHeader
- Direct Known Subclasses:
- AccountingLineViewActionsField, AccountingLineViewField, AccountingLineViewMultipleReadOnlyFields, AccountingLineViewSequenceNumberField
public abstract class FieldTableJoiningWithHeader
- extends FieldTableJoining
- implements TableJoiningWithHeader
Extension of FieldTableJoining that adds header cells correctly
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldTableJoiningWithHeader
public FieldTableJoiningWithHeader()
joinTable
public void joinTable(List<AccountingLineTableRow> rows)
- Description copied from interface:
TableJoining
- Requests that this layout element property join a number of rows which will make up a table
- Specified by:
joinTable
in interface TableJoining
- Overrides:
joinTable
in class FieldTableJoining
- Parameters:
rows
- the rows to join- See Also:
FieldTableJoining.joinTable(java.util.List)
createHeaderLabelTableCell
protected AccountingLineTableCell createHeaderLabelTableCell()
- Creates a header label cell for this element
- Returns:
- a table cell holding the header label to render
joinRow
public void joinRow(AccountingLineTableRow headerLabelRow,
AccountingLineTableRow row)
- This joins a row but adds a header to the header label row
- Specified by:
joinRow
in interface TableJoining
- Overrides:
joinRow
in class FieldTableJoining
- Parameters:
headerLabelRow
- the header row which can be joinedrow
- the row which can be joined- See Also:
TableJoining.joinRow(org.kuali.kfs.sys.document.web.AccountingLineTableRow, org.kuali.kfs.sys.document.web.AccountingLineTableRow)
getRequestedRowCount
public int getRequestedRowCount()
- Always returns 2 - one row for the header, one for the row
- Specified by:
getRequestedRowCount
in interface TableJoining
- Overrides:
getRequestedRowCount
in class FieldTableJoining
- Returns:
- the minimum number of rows
- See Also:
FieldTableJoining.getRequestedRowCount()
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.