|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.sys.document.web.AccountingLineViewOverrideField
public class AccountingLineViewOverrideField
An override field to be displayed for a field
Constructor Summary | |
---|---|
AccountingLineViewOverrideField(AccountingLineViewField field,
AccountingLineViewOverrideFieldDefinition definition,
Class<? extends AccountingLine> accountingLineClass)
Constructs a AccountingLineViewOverrideField |
Method Summary | |
---|---|
void |
appendFields(List<org.kuali.rice.kns.web.ui.Field> fields)
Adds our override field (though not our override needed field - we'll let Struts handle the value population on that |
protected String |
getOverrideNeededValue(AccountingLine accountingLine)
Retrieves the value of the override needed value associated with the override field |
boolean |
isActionBlock()
This is not an action block |
boolean |
isEmpty()
Empty if our parent AccountingLineViewField is empty |
boolean |
isHidden()
Hidden if our parent AccountingLineViewField is hidden |
void |
populateWithTabIndexIfRequested(int reallyHighIndex)
Allows the arbitrarily high tab index to be set for controls |
void |
renderElement(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag,
AccountingLineRenderingContext renderingContext)
Renders this element |
void |
setAccountingLineProperty(String propertyPrefix)
Sets the accounting Line Property |
void |
transformField(AccountingLineFieldRenderingTransformation fieldTransformation,
AccountingLine accountingLine,
Map unconvertedValues)
Runs a field transformation against all the overrides encapsulated within this field |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccountingLineViewOverrideField(AccountingLineViewField field, AccountingLineViewOverrideFieldDefinition definition, Class<? extends AccountingLine> accountingLineClass)
field
- the owning accounting line view fieldaccountingLineClass
- the class of the accounting line we're renderingMethod Detail |
---|
public void appendFields(List<org.kuali.rice.kns.web.ui.Field> fields)
appendFields
in interface RenderableElement
RenderableElement.appendFields(java.util.List)
public boolean isActionBlock()
isActionBlock
in interface RenderableElement
RenderableElement.isActionBlock()
public boolean isEmpty()
isEmpty
in interface RenderableElement
RenderableElement.isEmpty()
public boolean isHidden()
isHidden
in interface RenderableElement
RenderableElement.isHidden()
public void populateWithTabIndexIfRequested(int reallyHighIndex)
RenderableElement
populateWithTabIndexIfRequested
in interface RenderableElement
reallyHighIndex
- a really high index for elements who should not be tabbed toorg.kuali.kfs.sys.document.web.RenderableElement#populateWithTabIndexIfRequested(int[], int)
public void renderElement(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag, AccountingLineRenderingContext renderingContext) throws javax.servlet.jsp.JspException
RenderableElement
renderElement
in interface 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 String getOverrideNeededValue(AccountingLine accountingLine)
accountingLine
- the accounting line to get the override needed value from
public void transformField(AccountingLineFieldRenderingTransformation fieldTransformation, AccountingLine accountingLine, Map unconvertedValues)
fieldTransformation
- the field transformation which will utterly change our fieldsaccountingLine
- the accounting line being renderedunconvertedValues
- a Map of unconvertedValuespublic void setAccountingLineProperty(String propertyPrefix)
propertyPrefix
- the accounting line property
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |