|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.sys.document.service.impl.HiddenFieldRearrangementAccountingLineRenderingTransformationImpl
public class HiddenFieldRearrangementAccountingLineRenderingTransformationImpl
A transformation which takes all of the non-visible hidden fields of the accounting line and moves them to the first possible position
Constructor Summary | |
---|---|
HiddenFieldRearrangementAccountingLineRenderingTransformationImpl()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HiddenFieldRearrangementAccountingLineRenderingTransformationImpl()
Method Detail |
---|
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 from
protected 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 to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |