public class HideShowBlockRenderer extends Object implements Renderer
| Modifier and Type | Field and Description |
|---|---|
protected String |
riceImageURLProperty |
| Constructor and Description |
|---|
HideShowBlockRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildInnerTableClosing()
Creates the HTML to close the inner table and hide/show div
|
protected String |
buildInnerTableOpening()
Creates the HTML for the hiding/showing div and inner table to display children in
|
protected String |
buildLabelButtonTableClosing() |
protected String |
buildLabelButtonTableOpening() |
protected void |
cleanShowHideButton()
Cleans the show/hide button up
|
protected void |
cleanTabStateTag()
Cleans the tab state hidden tag
|
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.
|
HideShowBlock |
getHideShowBlock()
Gets the hideShowBlock attribute.
|
void |
render(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag)
Renders the title row and forces the rendering of child content
|
protected void |
renderShowHideButton(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag)
Renders the hide/show image button
|
protected void |
renderTabStateTag(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag)
Renders a hidden tag which holds the current tab state
|
void |
setHideShowBlock(HideShowBlock hideShowBlock)
Sets the hideShowBlock attribute value.
|
protected String riceImageURLProperty
public HideShowBlockRenderer()
public void clear()
Rendererclear in interface RendererRenderer.clear()protected void cleanTabStateTag()
protected void cleanShowHideButton()
public void render(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag) throws javax.servlet.jsp.JspException
render in interface RendererpageContext - the JSP page context to render toparentTag - the tag that is the "parent" of this renderingjavax.servlet.jsp.JspExceptionRenderer.render(javax.servlet.jsp.PageContext, javax.servlet.jsp.tagext.Tag)protected String buildLabelButtonTableOpening()
protected void renderTabStateTag(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag) throws javax.servlet.jsp.JspException
pageContext - the pageContext to render toparentTag - the tag requesting all this renderingjavax.servlet.jsp.JspException - thrown if something goes wrongprotected String buildLabelButtonTableClosing()
protected void renderShowHideButton(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag) throws javax.servlet.jsp.JspException
pageContext - the pageContext to render toparentTag - the tag requesting all this renderingjavax.servlet.jsp.JspException - thrown if something goes wrongprotected String buildInnerTableOpening()
protected String buildInnerTableClosing()
public HideShowBlock getHideShowBlock()
public void setHideShowBlock(HideShowBlock hideShowBlock)
hideShowBlock - The hideShowBlock to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.