|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.sys.document.web.PlaceHoldingLayoutElement
public class PlaceHoldingLayoutElement
There are sometimes line elements which have fewer cells than other line elements within a lines element; this element exists to fill those out.
Constructor Summary | |
---|---|
PlaceHoldingLayoutElement(int colSpan)
Constructs a PlaceHoldingLayoutElement, setting the colspan for the element |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlaceHoldingLayoutElement(int colSpan)
colSpan
- the colspan to setMethod Detail |
---|
public 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.kfs.sys.document.web.AccountingLineTableRow, org.kuali.kfs.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 be
protected AccountingLineTableCell getPlaceHoldingCell()
rowSpan
- the number of rows this cell should span
public 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.kfs.sys.document.web.TableJoining#performFieldTransformations(java.util.List, org.kuali.kfs.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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |