public class AccountingLineViewColumns extends Object implements AccountingLineViewLineFillingElement
| Constructor and Description | 
|---|
| AccountingLineViewColumns(AccountingLineViewColumnsDefinition definition,
                                                  List<AccountingLineViewField> fields)Constructs a AccountingLineViewColumns | 
| Modifier and Type | Method and Description | 
|---|---|
| protected AccountingLineTableCell | createCellForField(AccountingLineViewField field)Creates the "field" cell for the given field | 
| protected AccountingLineTableCell | createHeaderCellForField(AccountingLineViewField field)Creates a header cell for for the given field | 
| protected AccountingLineTableCell | createPaddingCell()Creates an empty cell to pad out the place typically held for a cell | 
| protected List<AccountingLineTableRow> | createRowsForFields()Creates rows for the inner tables for each field inside this columsn definition | 
| int | getDisplayingFieldWidth()Always returns 1; this will build an inner table in one cell | 
| List<AccountingLineViewField> | getFields()Gets the fields attribute. | 
| String | getName()Returns the name of this element | 
| int | getRequestedRowCount()The minimum number of rows this element needs if it is going to join a table | 
| boolean | isReadOnly()Determines whether is element is entirely read only or not | 
| void | joinRow(AccountingLineTableRow headerLabelRow,
              AccountingLineTableRow row)Joins the header row with a line filling cell, which includes within it an inner table that shows all the child fields | 
| void | joinTable(List<AccountingLineTableRow> rows)An exception state; line filling elements can only join tables through lines | 
| void | performFieldTransformations(List<AccountingLineFieldRenderingTransformation> fieldTransformations,
                                                      AccountingLine accountingLine,
                                                      Map unconvertedValues)Has fields perform the transformations | 
| void | readOnlyize()Sets any renderable element within this table joining block to be read only | 
| void | readOnlyizeReadOnlyBlocks(Set<String> readOnlyBlocks)Has each field readOnlyize | 
| void | removeAllActionBlocks()Removes any child action blocks; surviving blocks are instructed to remove child blocks they have | 
| void | removeUnviewableBlocks(Set<String> unviewableBlocks)Goes through all child fields; removes any fields which match unviewable blocks or otherwise, has the field remove unviewable blocks | 
| void | setEditable()Sets any renderable element within this table joining block to be editable | 
| void | setEditableBlocks(Set<String> editableBlocks)Instructs the element to make any child readOnlyizable blocks named within the given Set to read only | 
| void | setFields(List<AccountingLineViewField> fields)Sets the fields attribute value. | 
| boolean | shouldStretchToFillLine()This element should be stretched | 
public AccountingLineViewColumns(AccountingLineViewColumnsDefinition definition, List<AccountingLineViewField> fields)
definition - the data dictionary validation of this columns layout elementfields - the fields to render within this columns layout elementpublic String getName()
getName in interface ElementNamableElementNamable.getName()public int getRequestedRowCount()
TableJoininggetRequestedRowCount in interface TableJoiningTableJoining.getRequestedRowCount()public boolean shouldStretchToFillLine()
shouldStretchToFillLine in interface AccountingLineViewLineFillingElementorg.kuali.ole.sys.document.web.AccountingLineViewLineFillingElement#stretchToFillLine()public void joinRow(AccountingLineTableRow headerLabelRow, AccountingLineTableRow row)
joinRow in interface TableJoiningheaderLabelRow - the header row which can be joinedrow - the row which can be joinedTableJoining.joinRow(org.kuali.ole.sys.document.web.AccountingLineTableRow, org.kuali.ole.sys.document.web.AccountingLineTableRow)protected List<AccountingLineTableRow> createRowsForFields()
protected AccountingLineTableCell createHeaderCellForField(AccountingLineViewField field)
field - the field to create a header cell forprotected AccountingLineTableCell createCellForField(AccountingLineViewField field)
field - the field to create a cell forprotected AccountingLineTableCell createPaddingCell()
public void joinTable(List<AccountingLineTableRow> rows)
joinTable in interface TableJoiningrows - the rows to joinTableJoining.joinTable(java.util.List)public void performFieldTransformations(List<AccountingLineFieldRenderingTransformation> fieldTransformations, AccountingLine accountingLine, Map unconvertedValues)
performFieldTransformations in interface TableJoiningaccountingLine - the accounting line which is being rendering during the transformationunconvertedValues - any unconverted values from the formorg.kuali.ole.sys.document.web.TableJoining#performFieldTransformations(java.util.List, org.kuali.ole.sys.businessobject.AccountingLine, java.util.Map, java.util.Map)public void removeAllActionBlocks()
removeAllActionBlocks in interface TableJoiningTableJoining.removeAllActionBlocks()public void removeUnviewableBlocks(Set<String> unviewableBlocks)
removeUnviewableBlocks in interface TableJoiningunviewableBlocks - a Set of the names of blocks that should not be renderedTableJoining.removeUnviewableBlocks(java.util.Set)public void readOnlyizeReadOnlyBlocks(Set<String> readOnlyBlocks)
readOnlyizeReadOnlyBlocks in interface TableJoiningreadOnlyBlocks - the names of blocks to make read onlyTableJoining.readOnlyizeReadOnlyBlocks(java.util.Set)public List<AccountingLineViewField> getFields()
public void setFields(List<AccountingLineViewField> fields)
fields - The fields to set.public boolean isReadOnly()
ReadOnlyableisReadOnly in interface ReadOnlyableReadOnlyable.isReadOnly()public void readOnlyize()
ReadOnlyablereadOnlyize in interface ReadOnlyableReadOnlyable.readOnlyize()public int getDisplayingFieldWidth()
getDisplayingFieldWidth in interface AccountingLineViewLineFillingElementAccountingLineViewLineFillingElement.getDisplayingFieldWidth()public void setEditableBlocks(Set<String> editableBlocks)
TableJoiningsetEditableBlocks in interface TableJoiningTableJoining.setEditableBlocks(java.util.Set)public void setEditable()
ReadOnlyablesetEditable in interface ReadOnlyableReadOnlyable.setEditable()Copyright © 2004–2015 The Kuali Foundation. All rights reserved.