public class AccountingLineViewLines extends Object implements TableJoining, ReadOnlyable
| Constructor and Description | 
|---|
| AccountingLineViewLines() | 
| Modifier and Type | Method and Description | 
|---|---|
| AccountingLineViewLinesDefinition | getDefinition()Gets the definition attribute. | 
| List<AccountingLineViewLineFillingElement> | getElements()Gets the elements attribute. | 
| int | getMaxExpectedLineWidth() | 
| String | getName()Returns the name(s) of this table joining element; some table joining elements are compound | 
| int | getRequestedRowCount()The interesting implementation...how many does it need?  Let's see here...one for each child row... | 
| boolean | isReadOnly()Determines whether is element is entirely read only or not | 
| void | joinRow(AccountingLineTableRow headerRow,
              AccountingLineTableRow row)Throws an exception - lines should never be asked to join rows | 
| void | joinTable(List<AccountingLineTableRow> rows)Attempts to have each child line join the rows that have been given | 
| protected void | padOutOrStretchCells(AccountingLineViewLineFillingElement line,
                                        int maxExpectedLineWidth,
                                        AccountingLineTableRow headerRow,
                                        AccountingLineTableRow row)Either pads out out the given table rows with an empty cell or stretches the cell to fill the whole line | 
| void | performFieldTransformations(List<AccountingLineFieldRenderingTransformation> fieldTransformations,
                                                      AccountingLine accountingLine,
                                                      Map unconvertedValues)Performs a transformations on any fields this TableJoining layout element knows about | 
| void | readOnlyize()Sets any renderable element within this table joining block to be read only | 
| void | readOnlyizeReadOnlyBlocks(Set<String> readOnlyBlocks)Shuffles the responsibility to the child lines | 
| void | removeAllActionBlocks()Removes any action blocks from the given element | 
| void | removeUnviewableBlocks(Set<String> unviewableBlocks)Removes any unviewable blocks within this this table joining element | 
| void | setDefinition(AccountingLineViewLinesDefinition definition)Sets the definition attribute value. | 
| 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 | setElements(List<AccountingLineViewLineFillingElement> lines)Sets the elements attribute value. | 
public AccountingLineViewLines()
public AccountingLineViewLinesDefinition getDefinition()
public void setDefinition(AccountingLineViewLinesDefinition definition)
definition - The definition to set.public String getName()
ElementNamablegetName in interface ElementNamableorg.kuali.ole.sys.document.web.AccountingLineViewRenderableElementContainer#getName()public List<AccountingLineViewLineFillingElement> getElements()
public void setElements(List<AccountingLineViewLineFillingElement> lines)
elements - The elements to set.public int getRequestedRowCount()
getRequestedRowCount in interface TableJoiningorg.kuali.ole.sys.document.web.AccountingLineViewRenderableElement#getRequestedRowCount()public void joinRow(AccountingLineTableRow headerRow, AccountingLineTableRow row)
joinRow in interface TableJoiningheaderRow - the header row which can be joinedrow - the row which can be joinedorg.kuali.ole.sys.document.web.TableJoining#joinRow(org.kuali.ole.sys.document.web.AccountingLineTableRow)public void joinTable(List<AccountingLineTableRow> rows)
joinTable in interface TableJoiningrows - the rows to joinTableJoining.joinTable(java.util.List)protected void padOutOrStretchCells(AccountingLineViewLineFillingElement line, int maxExpectedLineWidth, AccountingLineTableRow headerRow, AccountingLineTableRow row)
line - the line joining the tablemaxExpectedLineWidth - the expected width, in cell count, of the lineheaderRow - the first row to add padding out torow - the second row to add padding out to - if we're only filling one row, this will be nullpublic void readOnlyize()
ReadOnlyablereadOnlyize in interface ReadOnlyableReadOnlyable.readOnlyize()public boolean isReadOnly()
ReadOnlyableisReadOnly in interface ReadOnlyableReadOnlyable.isReadOnly()public void removeAllActionBlocks()
TableJoiningremoveAllActionBlocks in interface TableJoiningTableJoining.removeAllActionBlocks()public void removeUnviewableBlocks(Set<String> unviewableBlocks)
TableJoiningremoveUnviewableBlocks in interface TableJoiningunviewableBlocks - a Set of the names of blocks that should not be renderedTableJoining.removeUnviewableBlocks(java.util.Set)public void performFieldTransformations(List<AccountingLineFieldRenderingTransformation> fieldTransformations, AccountingLine accountingLine, Map unconvertedValues)
TableJoiningperformFieldTransformations 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#performFieldTransformation(org.kuali.ole.sys.document.service.AccountingLineFieldRenderingTransformation, org.kuali.ole.sys.businessobject.AccountingLine, java.util.Map, java.util.Map)public int getMaxExpectedLineWidth()
public void readOnlyizeReadOnlyBlocks(Set<String> readOnlyBlocks)
readOnlyizeReadOnlyBlocks in interface TableJoiningreadOnlyBlocks - the names of blocks to make read onlyTableJoining.readOnlyizeReadOnlyBlocks(java.util.Set)public void setEditableBlocks(Set<String> editableBlocks)
TableJoiningsetEditableBlocks in interface TableJoiningTableJoining.setEditableBlocks(java.util.Set)public void setEditable()
ReadOnlyablesetEditable in interface ReadOnlyableReadOnlyable.setEditable()Copyright © 2004–2014 The Kuali Foundation. All rights reserved.