public class GroupTitleLineRenderer extends Object implements Renderer, CellCountCurious
Constructor and Description |
---|
GroupTitleLineRenderer()
Constructs a ImportLineRenderer, setting defaults on the tags that will always exist
|
Modifier and Type | Method and Description |
---|---|
protected String |
buildGroupActionsBeginning()
Builds a tag for the row beginning
|
protected String |
buildGroupActionsColumnEnding()
Builds the tag for the row beginning
|
protected String |
buildGroupAnchor()
Builds the unique anchor for this group
|
protected String |
buildRowBeginning()
Builds a tag for the row beginning
|
protected String |
buildRowEnding()
Builds the tag for the row beginning
|
protected String |
buildTitleCell()
Builds the tags for the title cell of the import line
|
protected boolean |
canUpload()
Determines if an upload can proceed for the accounting line group
|
void |
clear()
If this object is held in a pool, this method is called before the object is returned to
the pool, so that the object can be cleaned up for the next use.
|
AccountingDocument |
getAccountingDocument()
Gets the accountingDocument attribute.
|
AccountingLineGroupDefinition |
getAccountingLineGroupDefinition()
Gets the accountingLineGroupDefinition attribute.
|
int |
getCellCount()
Gets the cellCount attribute.
|
protected String |
getGroupInfix()
A dumb way to get the group infix that tries to figure out if it's dealing with a source or target line
|
protected String |
getHideImportName() |
String |
getLineCollectionProperty()
Gets the lineCollectionProperty attribute.
|
protected String |
getShowImportName() |
protected String |
getShowLinkName() |
int |
getTitleCellSpan()
Gets the titleCellSpan attribute.
|
protected String |
getUploadDivName() |
protected String |
getVariableFriendlyLineCollectionProperty() |
boolean |
isGroupActionsRendered()
Gets the groupActionsRendered attribute.
|
void |
overrideCanUpload(boolean allowUpload)
Allows overriding of whether something can be uploaded - though this serves only to turn uploading more off, never more on
|
void |
render(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag)
Asks this renderer to render
|
protected void |
renderGroupActions(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag) |
protected void |
renderGroupLevelActions(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag) |
protected void |
renderUploadCell(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag)
Oy, the big one...this one actually renders instead of returning the HTML in a String.
|
void |
setAccountingDocument(AccountingDocument accountingDocument)
Sets the accountingDocument attribute value.
|
void |
setAccountingLineGroupDefinition(AccountingLineGroupDefinition accountingLineGroupDefinition)
Sets the accountingLineGroupDefinition attribute value.
|
void |
setCanEdit(boolean canEdit)
Sets the canEdit attribute value.
|
void |
setCellCount(int cellCount)
Sets the cellCount attribute value.
|
void |
setGroupActionsRendered(boolean groupActionsRenderred)
Sets the groupActionsRendered attribute value.
|
void |
setLineCollectionProperty(String lineCollectionProperty)
Sets the lineCollectionProperty attribute value.
|
void |
setTitleCellSpan(int titleCellSpan)
Sets the titleCellSpan attribute value.
|
public GroupTitleLineRenderer()
public void clear()
Renderer
clear
in interface Renderer
Renderer.clear()
public void render(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag) throws javax.servlet.jsp.JspException
Renderer
render
in interface Renderer
pageContext
- the JSP page context to render toparentTag
- the tag that is the "parent" of this renderingjavax.servlet.jsp.JspException
org.kuali.ole.sys.document.web.renderers.Renderer#render(javax.servlet.jsp.PageContext, javax.servlet.jsp.tagext.Tag,
org.kuali.core.bo.BusinessObject)
protected String buildRowBeginning()
protected String buildRowEnding()
protected void renderGroupLevelActions(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag) throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
protected String buildGroupActionsBeginning()
protected String buildGroupActionsColumnEnding()
protected String buildTitleCell()
protected String buildGroupAnchor()
protected void renderGroupActions(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag) throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
protected String getGroupInfix()
protected void renderUploadCell(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag) throws javax.servlet.jsp.JspException
pageContext
- the page contex to render toparentTag
- the tag that is requesting all the renderingjavax.servlet.jsp.JspException
- thrown if something goes wrongprotected String getVariableFriendlyLineCollectionProperty()
protected String getHideImportName()
protected String getShowImportName()
protected String getShowLinkName()
protected String getUploadDivName()
protected boolean canUpload()
public void overrideCanUpload(boolean allowUpload)
allowUpload
- should we be allowed to upload?public int getCellCount()
public void setCellCount(int cellCount)
setCellCount
in interface CellCountCurious
cellCount
- The cellCount to set.public AccountingDocument getAccountingDocument()
public void setAccountingDocument(AccountingDocument accountingDocument)
accountingDocument
- The accountingDocument to set.public AccountingLineGroupDefinition getAccountingLineGroupDefinition()
public void setAccountingLineGroupDefinition(AccountingLineGroupDefinition accountingLineGroupDefinition)
accountingLineGroupDefinition
- The accountingLineGroupDefinition to set.public int getTitleCellSpan()
public void setTitleCellSpan(int titleCellSpan)
titleCellSpan
- The titleCellSpan to set.public String getLineCollectionProperty()
public void setLineCollectionProperty(String lineCollectionProperty)
lineCollectionProperty
- The lineCollectionProperty to set.public boolean isGroupActionsRendered()
public void setGroupActionsRendered(boolean groupActionsRenderred)
groupActionsRendered
- The groupActionsRendered to set.public void setCanEdit(boolean canEdit)
canEdit
- The canEdit to set.Copyright © 2004–2014 The Kuali Foundation. All rights reserved.