|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.sys.document.web.AccountingLineViewLine
public class AccountingLineViewLine
Represents a single table row to be rendered as part of an accounting line view.
| Constructor Summary | |
|---|---|
AccountingLineViewLine()
|
|
| Method Summary | |
|---|---|
protected AccountingLineTableCell |
createTableCellForNonTableJoining(RenderableElement element)
Creates a table cell to wrap the given rendering element |
AccountingLineViewLineDefinition |
getDefinition()
Gets the definition attribute. |
int |
getDisplayingFieldWidth()
Finds the number of table cells this line expects to take up |
List<RenderableElement> |
getElements()
Gets the elements attribute. |
protected int |
getMaxRequestedRowCount()
Determines the max requested row count in the line. |
String |
getName()
Returns the name(s) of this table joining element; some table joining elements are compound |
int |
getRequestedRowCount()
Gets the number of actual rows requested (1) |
boolean |
isReadOnly()
Determines whether is element is entirely read only or not |
void |
joinRow(AccountingLineTableRow headerRow,
AccountingLineTableRow row)
Requests that this element join a table row |
void |
joinTable(List<AccountingLineTableRow> rows)
Always throws an exception - a line may only join a table through a parent lines element |
void |
performFieldTransformations(List<AccountingLineFieldRenderingTransformation> fieldTransformations,
AccountingLine accountingLine,
Map unconvertedValues)
Performs a transformations on any fields this TableJoining layout element knows about |
void |
readOnlyize()
Sets any renderable element within this table joining block to be read only |
void |
readOnlyizeReadOnlyBlocks(Set<String> readOnlyBlocks)
Shuffles responsibility on to any TableJoining children |
void |
removeAllActionBlocks()
Removes any action blocks from the given element |
void |
removeUnviewableBlocks(Set<String> unviewableBlocks)
Removes any unviewable blocks within this this table joining element |
void |
setDefinition(AccountingLineViewLineDefinition definition)
Sets the definition attribute value. |
void |
setEditable()
Sets any renderable element within this table joining block to be editable |
void |
setEditableBlocks(Set<String> editableBlocks)
Instructs the element to make any child readOnlyizable blocks named within the given Set to read only |
void |
setElements(List<RenderableElement> fields)
Sets the elements attribute value. |
boolean |
shouldStretchToFillLine()
This element should be padded out |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AccountingLineViewLine()
| Method Detail |
|---|
public AccountingLineViewLineDefinition getDefinition()
public void setDefinition(AccountingLineViewLineDefinition definition)
definition - The definition to set.public String getName()
ElementNamable
getName in interface ElementNamableorg.kuali.kfs.sys.document.web.AccountingLineViewRenderableElementContainer#getName()public List<RenderableElement> getElements()
public void setElements(List<RenderableElement> fields)
elements - The elements to set.public int getRequestedRowCount()
getRequestedRowCount in interface TableJoiningorg.kuali.kfs.sys.document.web.AccountingLineViewRenderableElement#getRequestedRowCount()protected int getMaxRequestedRowCount()
public void joinRow(AccountingLineTableRow headerRow,
AccountingLineTableRow row)
TableJoining
joinRow in interface TableJoiningheaderRow - the header row which can be joinedrow - the row which can be joinedorg.kuali.kfs.sys.document.web.TableJoining#joinRow(org.kuali.kfs.sys.document.web.AccountingLineTableRow)protected AccountingLineTableCell createTableCellForNonTableJoining(RenderableElement element)
element - the element to wrap
public void joinTable(List<AccountingLineTableRow> rows)
joinTable in interface TableJoiningrows - the rows to joinTableJoining.joinTable(java.util.List)public boolean shouldStretchToFillLine()
shouldStretchToFillLine in interface AccountingLineViewLineFillingElementorg.kuali.kfs.sys.document.web.AccountingLineViewLineFillingElement#stretchToFillLine()public void readOnlyize()
ReadOnlyable
readOnlyize in interface ReadOnlyableorg.kuali.kfs.sys.document.web.TableJoining#readOnlyize()public boolean isReadOnly()
ReadOnlyable
isReadOnly in interface ReadOnlyableReadOnlyable.isReadOnly()public void removeAllActionBlocks()
TableJoining
removeAllActionBlocks in interface TableJoiningTableJoining.removeAllActionBlocks()public void removeUnviewableBlocks(Set<String> unviewableBlocks)
TableJoining
removeUnviewableBlocks in interface TableJoiningunviewableBlocks - 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 TableJoiningreadOnlyBlocks - the names of blocks to make read onlyTableJoining.readOnlyizeReadOnlyBlocks(java.util.Set)
public void performFieldTransformations(List<AccountingLineFieldRenderingTransformation> fieldTransformations,
AccountingLine accountingLine,
Map unconvertedValues)
TableJoining
performFieldTransformations in interface TableJoiningaccountingLine - 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)public int getDisplayingFieldWidth()
getDisplayingFieldWidth in interface AccountingLineViewLineFillingElementpublic void setEditable()
ReadOnlyable
setEditable in interface ReadOnlyableReadOnlyable.setEditable()public void setEditableBlocks(Set<String> editableBlocks)
TableJoining
setEditableBlocks in interface TableJoiningTableJoining.setEditableBlocks(java.util.Set)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||