|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.sys.document.web.FieldTableJoining
public abstract class FieldTableJoining
Abstract class which contains functionality of table joining layout elements that will eventually render fields
Constructor Summary | |
---|---|
FieldTableJoining()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.kfs.sys.document.web.ElementNamable |
---|
getName |
Methods inherited from interface org.kuali.kfs.sys.document.web.RenderableElement |
---|
appendFields, populateWithTabIndexIfRequested, renderElement |
Constructor Detail |
---|
public FieldTableJoining()
Method Detail |
---|
public int getRequestedRowCount()
getRequestedRowCount
in interface TableJoining
org.kuali.kfs.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.kfs.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.kfs.sys.document.web.AccountingLineTableRow, org.kuali.kfs.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.kfs.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.kfs.sys.document.web.TableJoining#performFieldTransformation(org.kuali.kfs.sys.document.service.AccountingLineFieldRenderingTransformation, org.kuali.kfs.sys.businessobject.AccountingLine, java.util.Map, java.util.Map)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |