public class AccountingLineViewSequenceNumberField extends FieldTableJoiningWithHeader
Constructor and Description |
---|
AccountingLineViewSequenceNumberField() |
Modifier and Type | Method and Description |
---|---|
void |
appendFields(List<org.kuali.rice.kns.web.ui.Field> fields)
sequence number is never really related to lookups, so this implementation 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 AccountingLineTableCell |
createTableCell()
Creates a table cell that encapsulates this field
|
protected String |
getDisplaySequenceNumber(AccountingLineRenderingContext renderingContext)
Given the rendering context, returns what the sequence number of the line to be rendered is
|
String |
getHeaderLabelProperty() |
String |
getName()
Returns the name of this sequence number field
|
boolean |
isReadOnly()
Sequence numbers are always read only
|
void |
populateWithTabIndexIfRequested(int reallyHighIndex)
Does nothing
|
void |
renderElement(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag,
AccountingLineRenderingContext renderingContext)
Renders this element
|
void |
setName(String name)
Sets the name of this sequence number field
|
createHeaderLabelTableCell, getRequestedRowCount, joinRow, joinTable
isActionBlock, isEmpty, isHidden, performFieldTransformations, readOnlyizeReadOnlyBlocks, removeAllActionBlocks, removeUnviewableBlocks, setEditableBlocks
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isHidden
performFieldTransformations, readOnlyizeReadOnlyBlocks, removeAllActionBlocks, removeUnviewableBlocks, setEditableBlocks
public AccountingLineViewSequenceNumberField()
public boolean isReadOnly()
org.kuali.ole.sys.document.web.AccountingLineViewRenderableElementField#isReadOnly()
public String getName()
ElementNamable.getName()
public void setName(String name)
name
- the name to setpublic String getHeaderLabelProperty()
org.kuali.ole.sys.document.web.TableJoiningWithHeader#getHeaderLabelProperty()
protected AccountingLineTableCell createTableCell()
FieldTableJoining
createTableCell
in class FieldTableJoining
FieldTableJoining.createTableCell()
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 renderingjavax.servlet.jsp.JspException
RenderableElement.renderElement(javax.servlet.jsp.PageContext, javax.servlet.jsp.tagext.Tag, org.kuali.ole.sys.document.web.AccountingLineRenderingContext)
protected String getDisplaySequenceNumber(AccountingLineRenderingContext renderingContext)
renderingContext
- the rendering context which holds the accounting linepublic HeaderLabel createHeaderLabel()
TableJoiningWithHeader
TableJoiningWithHeader.createHeaderLabel()
public void appendFields(List<org.kuali.rice.kns.web.ui.Field> fields)
KRAD Conversion: Customization of adding the fields - No use of data dictionary
public void populateWithTabIndexIfRequested(int reallyHighIndex)
reallyHighIndex
- a really high index for elements who should not be tabbed toorg.kuali.ole.sys.document.web.RenderableElement#populateWithTabIndexIfRequested(int[], int)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.