|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.sys.document.web.HideShowBlock
public class HideShowBlock
A renderable element that renders child elements within a div that can be hidden or displayed
Constructor Summary | |
---|---|
HideShowBlock()
|
Method Summary | |
---|---|
void |
appendFields(List<org.kuali.rice.kns.web.ui.Field> fields)
Has child table rows add any fields they know about to the List |
List<AccountingLineTableRow> |
getContentRows()
Gets the contentRows attribute. |
String |
getFullLabel()
|
String |
getLabel()
|
String |
getTabKey()
|
String |
getTabState()
|
boolean |
isActionBlock()
This is not an action block |
boolean |
isEmpty()
Checks if all of the child rows are empty or not; if one isn't empty, then this isn't empty |
boolean |
isHidden()
Checks if all the child rows are hidden; if so, then no point in showing this... |
boolean |
isShowing()
Determines if this tab should currently be showing or not |
void |
populateWithTabIndexIfRequested(int reallyHighIndex)
Has child rows populate with the tab index |
void |
renderChildRows(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag)
Forces all children rows to render themselves |
void |
renderElement(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag,
AccountingLineRenderingContext renderingContext)
Uses a HideShowBlockRenderer to render this element |
void |
setContentRows(List<AccountingLineTableRow> contentRows)
Sets the contentRows attribute value. |
void |
setDefinition(AccountingLineViewHideShowLinesDefinition definition)
Sets the definition attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HideShowBlock()
Method 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)
populateWithTabIndexIfRequested
in interface RenderableElement
reallyHighIndex
- a really high index for elements who should not be tabbed toRenderableElement.populateWithTabIndexIfRequested(int)
public void renderElement(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag, AccountingLineRenderingContext renderingContext) throws javax.servlet.jsp.JspException
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)
public void renderChildRows(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 rendering
javax.servlet.jsp.JspException
- thrown if something goes wrongpublic List<AccountingLineTableRow> getContentRows()
public void setContentRows(List<AccountingLineTableRow> contentRows)
contentRows
- The contentRows to set.public void setDefinition(AccountingLineViewHideShowLinesDefinition definition)
definition
- The definition to set.public String getTabKey()
public String getTabState()
public boolean isShowing()
public String getLabel()
public String getFullLabel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |