public class AccountingLineViewLine extends Object implements ReadOnlyable, AccountingLineViewLineFillingElement
| Constructor and Description | 
|---|
| AccountingLineViewLine() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected AccountingLineTableCell | createTableCellForNonTableJoining(RenderableElement element)Creates a table cell to wrap the given rendering element | 
| AccountingLineViewLineDefinition | getDefinition()Gets the definition attribute. | 
| int | getDisplayingFieldWidth()Finds the number of table cells this line expects to take up | 
| List<RenderableElement> | getElements()Gets the elements attribute. | 
| protected int | getMaxRequestedRowCount()Determines the max requested row count in the line. | 
| String | getName()Returns the name(s) of this table joining element; some table joining elements are compound | 
| int | getRequestedRowCount()Gets the number of actual rows requested (1) | 
| boolean | isReadOnly()Determines whether is element is entirely read only or not | 
| void | joinRow(AccountingLineTableRow headerRow,
              AccountingLineTableRow row)Requests that this element join a table row | 
| void | joinTable(List<AccountingLineTableRow> rows)Always throws an exception - a line may only join a table through a parent lines element | 
| 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 responsibility on to any TableJoining children | 
| 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(AccountingLineViewLineDefinition 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<RenderableElement> fields)Sets the elements attribute value. | 
| boolean | shouldStretchToFillLine()This element should be padded out | 
public AccountingLineViewLine()
public AccountingLineViewLineDefinition getDefinition()
public void setDefinition(AccountingLineViewLineDefinition definition)
definition - The definition to set.public String getName()
ElementNamablegetName in interface ElementNamableorg.kuali.ole.sys.document.web.AccountingLineViewRenderableElementContainer#getName()public List<RenderableElement> getElements()
public void setElements(List<RenderableElement> fields)
elements - The elements to set.public int getRequestedRowCount()
getRequestedRowCount in interface TableJoiningorg.kuali.ole.sys.document.web.AccountingLineViewRenderableElement#getRequestedRowCount()protected int getMaxRequestedRowCount()
public void joinRow(AccountingLineTableRow headerRow, AccountingLineTableRow row)
TableJoiningjoinRow 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)protected AccountingLineTableCell createTableCellForNonTableJoining(RenderableElement element)
element - the element to wrappublic void joinTable(List<AccountingLineTableRow> rows)
joinTable in interface TableJoiningrows - the rows to joinTableJoining.joinTable(java.util.List)public boolean shouldStretchToFillLine()
shouldStretchToFillLine in interface AccountingLineViewLineFillingElementorg.kuali.ole.sys.document.web.AccountingLineViewLineFillingElement#stretchToFillLine()public void readOnlyize()
ReadOnlyablereadOnlyize in interface ReadOnlyableorg.kuali.ole.sys.document.web.TableJoining#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 renderedorg.kuali.ole.sys.document.web.TableJoining#removeUnviewableBlocks()public void readOnlyizeReadOnlyBlocks(Set<String> readOnlyBlocks)
readOnlyizeReadOnlyBlocks in interface TableJoiningreadOnlyBlocks - the names of blocks to make read onlyTableJoining.readOnlyizeReadOnlyBlocks(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 getDisplayingFieldWidth()
getDisplayingFieldWidth in interface AccountingLineViewLineFillingElementpublic void setEditable()
ReadOnlyablesetEditable in interface ReadOnlyableReadOnlyable.setEditable()public void setEditableBlocks(Set<String> editableBlocks)
TableJoiningsetEditableBlocks in interface TableJoiningTableJoining.setEditableBlocks(java.util.Set)Copyright © 2004–2015 The Kuali Foundation. All rights reserved.