|
||||||||||
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
org.kuali.kfs.sys.document.web.FieldTableJoiningWithHeader
org.kuali.kfs.sys.document.web.AccountingLineViewMultipleReadOnlyFields
public class AccountingLineViewMultipleReadOnlyFields
Represents multiple fields displaying with their values in a single cell
Constructor Summary | |
---|---|
AccountingLineViewMultipleReadOnlyFields(AccountingLineViewMultipleReadOnlyFieldsDefinition definition,
List<org.kuali.rice.kns.web.ui.Field> fields)
Constructs a AccountingLineViewMultipleReadOnlyFields |
Method Summary | |
---|---|
void |
appendFields(List<org.kuali.rice.kns.web.ui.Field> fields)
None of the read only fields will be associated with quickfinders, so this method does nothing |
HeaderLabel |
createHeaderLabel()
Returns the property of the accounting line business object that can be used to find the label for the given renderable element |
protected org.kuali.rice.kns.service.DataDictionaryService |
getDataDictionaryService()
|
List<org.kuali.rice.kns.web.ui.Field> |
getFields()
|
String |
getName()
Returns the top field name given in the definition |
void |
populateWithTabIndexIfRequested(int reallyHighIndex)
There are no input fields here, so no need to set tab indices |
void |
renderElement(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag,
AccountingLineRenderingContext renderingContext)
Renders this element |
protected void |
setInquiryUrlForField(org.kuali.rice.kns.web.ui.Field field,
AccountingLine accountingLine)
Populates the inquiry url on the field if possible |
protected void |
setShortLabelsForFields(org.kuali.rice.kns.web.ui.Field field,
org.kuali.rice.kns.datadictionary.BusinessObjectEntry boEntry)
For each field, set the short label, or, failing that, set the label |
protected void |
setValueForField(org.kuali.rice.kns.web.ui.Field field,
AccountingLine accountingLine)
Sets the value for the field before rendering |
Methods inherited from class org.kuali.kfs.sys.document.web.FieldTableJoiningWithHeader |
---|
createHeaderLabelTableCell, getRequestedRowCount, joinRow, joinTable |
Methods inherited from class org.kuali.kfs.sys.document.web.FieldTableJoining |
---|
createTableCell, isActionBlock, isEmpty, isHidden, performFieldTransformations, readOnlyizeReadOnlyBlocks, removeAllActionBlocks, removeUnviewableBlocks, setEditableBlocks |
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.TableJoiningWithHeader |
---|
isHidden |
Methods inherited from interface org.kuali.kfs.sys.document.web.TableJoining |
---|
performFieldTransformations, readOnlyizeReadOnlyBlocks, removeAllActionBlocks, removeUnviewableBlocks, setEditableBlocks |
Constructor Detail |
---|
public AccountingLineViewMultipleReadOnlyFields(AccountingLineViewMultipleReadOnlyFieldsDefinition definition, List<org.kuali.rice.kns.web.ui.Field> fields)
definition
- data dictionary definition which created thisfields
- the fields to render as read onlyMethod Detail |
---|
public HeaderLabel createHeaderLabel()
TableJoiningWithHeader
TableJoiningWithHeader.createHeaderLabel()
public String getName()
ElementNamable.getName()
public void appendFields(List<org.kuali.rice.kns.web.ui.Field> fields)
RenderableElement.appendFields(java.util.List)
public void populateWithTabIndexIfRequested(int reallyHighIndex)
reallyHighIndex
- a really high index for elements who should not be tabbed toRenderableElement.populateWithTabIndexIfRequested(int)
public List<org.kuali.rice.kns.web.ui.Field> getFields()
public void renderElement(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag, AccountingLineRenderingContext renderingContext) throws javax.servlet.jsp.JspException
RenderableElement
pageContext
- the context to render toparentTag
- the parent tag that is requesting this renderingrenderingContext
- the context about the accounting line that this element would end up rendering
javax.servlet.jsp.JspException
RenderableElement.renderElement(javax.servlet.jsp.PageContext, javax.servlet.jsp.tagext.Tag, org.kuali.kfs.sys.document.web.AccountingLineRenderingContext)
protected void setShortLabelsForFields(org.kuali.rice.kns.web.ui.Field field, org.kuali.rice.kns.datadictionary.BusinessObjectEntry boEntry)
boEntry
- the business object entry for the accounting lineprotected void setValueForField(org.kuali.rice.kns.web.ui.Field field, AccountingLine accountingLine)
field
- the field to set the value ofaccountingLine
- the accounting line the field is associated with, which holds the valueprotected void setInquiryUrlForField(org.kuali.rice.kns.web.ui.Field field, AccountingLine accountingLine)
field
- the field to set the inquiry url onaccountingLine
- the accounting line holding values for the fieldprotected org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |