public class PlaceHoldingLayoutElement extends Object implements TableJoiningWithHeader
Constructor and Description |
---|
PlaceHoldingLayoutElement(int colSpan)
Constructs a PlaceHoldingLayoutElement, setting the colspan for the element
|
Modifier and Type | Method and Description |
---|---|
HeaderLabel |
createHeaderLabel()
Returns a header with a non-breaking space
|
int |
getColSpan()
Gets the colSpan attribute.
|
protected AccountingLineTableCell |
getLabelCell()
Creates a place holding label cell
|
String |
getName()
Returns an empty String
|
protected AccountingLineTableCell |
getPlaceHoldingCell()
Returns an empty table cell, colspan cells wide
|
int |
getRequestedRowCount()
This only requests one row, not that it really matters.
|
boolean |
isHidden()
The point of this thing is to show up
|
void |
joinRow(AccountingLineTableRow headerLabelRow,
AccountingLineTableRow row)
Joins the given row and header
|
void |
joinTable(List<AccountingLineTableRow> rows)
This will likely never be called
|
void |
performFieldTransformations(List<AccountingLineFieldRenderingTransformation> fieldTransformations,
AccountingLine accountingLine,
Map unconvertedValues)
No fields to transform
|
void |
readOnlyizeReadOnlyBlocks(Set<String> readOnlyBlocks)
This will never read onlyize anything
|
void |
removeAllActionBlocks()
This doesn't have any child blocks
|
void |
removeUnviewableBlocks(Set<String> unviewableBlocks)
This will never remove child blocks
|
void |
setColSpan(int colSpan)
Sets the colSpan attribute value.
|
void |
setEditableBlocks(Set<String> editableBlocks)
Instructs the element to make any child readOnlyizable blocks named within the given Set to read only
|
public PlaceHoldingLayoutElement(int colSpan)
colSpan
- the colspan to setpublic HeaderLabel createHeaderLabel()
createHeaderLabel
in interface TableJoiningWithHeader
TableJoiningWithHeader.createHeaderLabel()
public boolean isHidden()
isHidden
in interface TableJoiningWithHeader
TableJoiningWithHeader.isHidden()
public String getName()
getName
in interface ElementNamable
ElementNamable.getName()
public int getRequestedRowCount()
getRequestedRowCount
in interface TableJoining
TableJoining.getRequestedRowCount()
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 void joinTable(List<AccountingLineTableRow> rows)
joinTable
in interface TableJoining
rows
- the rows to joinTableJoining.joinTable(java.util.List)
protected AccountingLineTableCell getLabelCell()
rowSpan
- the row span the cell should beprotected AccountingLineTableCell getPlaceHoldingCell()
rowSpan
- the number of rows this cell should spanpublic void performFieldTransformations(List<AccountingLineFieldRenderingTransformation> fieldTransformations, AccountingLine accountingLine, Map unconvertedValues)
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#performFieldTransformations(java.util.List, org.kuali.ole.sys.businessobject.AccountingLine, java.util.Map, java.util.Map)
public void removeAllActionBlocks()
removeAllActionBlocks
in interface TableJoining
TableJoining.removeAllActionBlocks()
public void removeUnviewableBlocks(Set<String> unviewableBlocks)
removeUnviewableBlocks
in interface TableJoining
unviewableBlocks
- a Set of the names of blocks that should not be renderedTableJoining.removeUnviewableBlocks(java.util.Set)
public void readOnlyizeReadOnlyBlocks(Set<String> readOnlyBlocks)
readOnlyizeReadOnlyBlocks
in interface TableJoining
readOnlyBlocks
- the names of blocks to make read onlyTableJoining.readOnlyizeReadOnlyBlocks(java.util.Set)
public int getColSpan()
public void setColSpan(int colSpan)
colSpan
- The colSpan to set.public void setEditableBlocks(Set<String> editableBlocks)
TableJoining
setEditableBlocks
in interface TableJoining
TableJoining.setEditableBlocks(java.util.Set)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.