public class HiddenFieldRearrangementAccountingLineRenderingTransformationImpl extends Object implements AccountingLineTableTransformation
Constructor and Description |
---|
HiddenFieldRearrangementAccountingLineRenderingTransformationImpl() |
Modifier and Type | Method and Description |
---|---|
protected AccountingLineTableCell |
findFirstNonHiddenCell(List<AccountingLineTableRow> rows)
Finds the first top-level non-hidden container from the given list of elements
|
protected void |
moveHiddenFields(AccountingLineTableCell sourceCell,
AccountingLineTableCell targetCell)
Moves any hidden renderable fields in the source cell to the target cell
|
protected void |
moveHiddenFields(AccountingLineTableRow sourceRow,
AccountingLineTableCell targetCell)
Moves any hidden fields in the source container to the target container
|
void |
transformRows(List<AccountingLineTableRow> rows)
Performs transformation to the tablified rows for an accounting line
|
public HiddenFieldRearrangementAccountingLineRenderingTransformationImpl()
public void transformRows(List<AccountingLineTableRow> rows)
AccountingLineTableTransformation
transformRows
in interface AccountingLineTableTransformation
rows
- the tablified rows that represent a renderable accounting lineprotected AccountingLineTableCell findFirstNonHiddenCell(List<AccountingLineTableRow> rows)
elements
- the elements to find the first non-hidden container fromprotected void moveHiddenFields(AccountingLineTableRow sourceRow, AccountingLineTableCell targetCell)
sourceContainer
- the container which may have hidden fieldstargetContainer
- the container which should be carrying all hidden fieldsprotected void moveHiddenFields(AccountingLineTableCell sourceCell, AccountingLineTableCell targetCell)
sourceCell
- the source cell to move hidden elements fromtargetCell
- the target cell to move hidden elements toCopyright © 2004–2014 The Kuali Foundation. All rights reserved.