public abstract class FieldTableJoining extends Object implements TableJoining, RenderableElement
| Constructor and Description |
|---|
FieldTableJoining() |
| Modifier and Type | Method and Description |
|---|---|
protected AccountingLineTableCell |
createTableCell()
Creates a table cell that encapsulates this field
|
int |
getRequestedRowCount()
Always returns 1 - any field can live within 1 row.
|
boolean |
isActionBlock()
We're going to go out on a limb and bet that this isn't an action block
|
boolean |
isEmpty()
This is a field.
|
boolean |
isHidden()
Default: assumes the field is not hidden
|
void |
joinRow(AccountingLineTableRow headerLabelRow,
AccountingLineTableRow row)
Joins ths field to the header row, spans the regular row
|
void |
joinTable(List<AccountingLineTableRow> rows)
Requests that this layout element property join a number of rows which will make up a table
|
void |
performFieldTransformations(List<AccountingLineFieldRenderingTransformation> fieldTransformations,
AccountingLine accountingLine,
Map unconvertedValues)
Performs a transformations on any fields this TableJoining layout element knows about
|
void |
readOnlyizeReadOnlyBlocks(Set<String> readOnlyBlocks)
Sets this to read only if possible
|
void |
removeAllActionBlocks()
Removes any action blocks from the given element
|
void |
removeUnviewableBlocks(Set<String> unviewableBlocks)
This method really doesn't do much - it assumes there are no child fields to remove
|
void |
setEditableBlocks(Set<String> editableBlocks)
Instructs the element to make any child readOnlyizable blocks named within the given Set to read only
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNameappendFields, populateWithTabIndexIfRequested, renderElementpublic FieldTableJoining()
public int getRequestedRowCount()
getRequestedRowCount in interface TableJoiningorg.kuali.ole.sys.document.web.AccountingLineViewRenderableElement#getRequestedRowCount()protected AccountingLineTableCell createTableCell()
public void joinTable(List<AccountingLineTableRow> rows)
TableJoiningjoinTable in interface TableJoiningrows - the rows to joinorg.kuali.ole.sys.document.web.AccountingLineViewRenderableElement#joinTable(java.util.List)public void removeAllActionBlocks()
TableJoiningremoveAllActionBlocks in interface TableJoiningTableJoining.removeAllActionBlocks()public boolean isHidden()
isHidden in interface RenderableElementRenderableElement.isHidden()public boolean isActionBlock()
isActionBlock in interface RenderableElementRenderableElement.isActionBlock()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)public boolean isEmpty()
isEmpty in interface RenderableElementRenderableElement.isEmpty()public void removeUnviewableBlocks(Set<String> unviewableBlocks)
removeUnviewableBlocks 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 setEditableBlocks(Set<String> editableBlocks)
TableJoiningsetEditableBlocks in interface TableJoiningTableJoining.setEditableBlocks(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)Copyright © 2004–2015 The Kuali Foundation. All rights reserved.