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, wait
getName
appendFields, populateWithTabIndexIfRequested, renderElement
public FieldTableJoining()
public int getRequestedRowCount()
getRequestedRowCount
in interface TableJoining
org.kuali.ole.sys.document.web.AccountingLineViewRenderableElement#getRequestedRowCount()
protected AccountingLineTableCell createTableCell()
public void joinTable(List<AccountingLineTableRow> rows)
TableJoining
joinTable
in interface TableJoining
rows
- the rows to joinorg.kuali.ole.sys.document.web.AccountingLineViewRenderableElement#joinTable(java.util.List)
public void removeAllActionBlocks()
TableJoining
removeAllActionBlocks
in interface TableJoining
TableJoining.removeAllActionBlocks()
public boolean isHidden()
isHidden
in interface RenderableElement
RenderableElement.isHidden()
public boolean isActionBlock()
isActionBlock
in interface RenderableElement
RenderableElement.isActionBlock()
public void joinRow(AccountingLineTableRow headerLabelRow, AccountingLineTableRow row)
joinRow
in interface TableJoining
headerLabelRow
- 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 RenderableElement
RenderableElement.isEmpty()
public void removeUnviewableBlocks(Set<String> unviewableBlocks)
removeUnviewableBlocks
in interface TableJoining
unviewableBlocks
- 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 TableJoining
readOnlyBlocks
- the names of blocks to make read onlyTableJoining.readOnlyizeReadOnlyBlocks(java.util.Set)
public void setEditableBlocks(Set<String> editableBlocks)
TableJoining
setEditableBlocks
in interface TableJoining
TableJoining.setEditableBlocks(java.util.Set)
public void performFieldTransformations(List<AccountingLineFieldRenderingTransformation> fieldTransformations, AccountingLine accountingLine, Map unconvertedValues)
TableJoining
performFieldTransformations
in interface TableJoining
accountingLine
- 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.