public class HideShowBlock extends Object implements RenderableElement
Constructor and Description |
---|
HideShowBlock() |
Modifier and Type | Method and Description |
---|---|
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.
|
public HideShowBlock()
public void appendFields(List<org.kuali.rice.kns.web.ui.Field> fields)
appendFields
in interface RenderableElement
KRAD Conversion: Customization of adding the fields - No use of data dictionary
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 renderingjavax.servlet.jsp.JspException
RenderableElement.renderElement(javax.servlet.jsp.PageContext, javax.servlet.jsp.tagext.Tag, org.kuali.ole.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 renderingjavax.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 getTabState()
public boolean isShowing()
public String getFullLabel()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.