public class ActionsRenderer extends Object implements Renderer
Constructor and Description |
---|
ActionsRenderer()
Constructs a ActionsRenderer, which sets values on the actionButton tag that never change
|
Modifier and Type | Method and Description |
---|---|
protected String |
buildCenteringDivBeginning()
Builds the opening of the centering div tag
|
protected String |
buildCenteringDivEnding()
Builds the close of the centering div tag
|
protected String |
buildNonBreakingSpace() |
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.
|
List<AccountingLineViewAction> |
getActions()
Gets the action attribute.
|
String |
getPostButtonSpacing()
Builds spacing for after the button is displayed
|
protected String |
getTabIndex()
Retrieves the set tab index as a String, or, if the tabIndex was never set, returns a null
|
String |
getTagBeginning()
Gets the tagBeginning attribute.
|
String |
getTagEnding()
Gets the tagEnding attribute.
|
void |
render(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag)
Asks this renderer to render
|
protected void |
renderAction(AccountingLineViewAction action)
Renders a single action, using the action button
|
protected void |
resetButton()
Clears out changing values the action button tag
|
void |
setActions(List<AccountingLineViewAction> actions)
Sets the action attribute value.
|
void |
setPostButtonSpacing(String postButtonSpacing)
Sets the postButtonSpacing attribute value.
|
void |
setTabIndex(int tabIndex)
Sets the tab index for the action
|
void |
setTagBeginning(String tagBeginning)
Sets the tagBeginning attribute value.
|
void |
setTagEnding(String tagEnding)
Sets the tagEnding attribute value.
|
public ActionsRenderer()
public void clear()
Renderer
clear
in interface Renderer
Renderer.clear()
protected void resetButton()
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
Renderer.render(javax.servlet.jsp.PageContext, javax.servlet.jsp.tagext.Tag)
protected void renderAction(AccountingLineViewAction action) throws javax.servlet.jsp.JspException
action
- the action to renderjavax.servlet.jsp.JspException
- thrown if the actionButton cannot uphold its duties to render theprotected String buildCenteringDivBeginning()
protected String buildCenteringDivEnding()
public String getPostButtonSpacing()
public void setPostButtonSpacing(String postButtonSpacing)
postButtonSpacing
- The postButtonSpacing to set.public List<AccountingLineViewAction> getActions()
public void setActions(List<AccountingLineViewAction> actions)
action
- The action to set.public void setTabIndex(int tabIndex)
tabIndex
- the tab index to setprotected String getTabIndex()
protected String buildNonBreakingSpace()
public String getTagBeginning()
public void setTagBeginning(String tagBeginning)
tagBeginning
- The tagBeginning to set.public String getTagEnding()
public void setTagEnding(String tagEnding)
tagEnding
- The tagEnding to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.