public class AccountingLineTableCell extends Object implements RenderableElement
Constructor and Description |
---|
AccountingLineTableCell() |
Modifier and Type | Method and Description |
---|---|
void |
addRenderableElement(RenderableElement element)
Adds a renderable element to the elements this cell can render
|
void |
appendFields(List<org.kuali.rice.kns.web.ui.Field> fields)
Goes through fields, appending field names
|
int |
getColSpan()
Gets the colSpan attribute.
|
String |
getExtraStyle()
Gets the extraStyle attribute.
|
List<RenderableElement> |
getRenderableElement()
Gets the renderableElement attribute.
|
int |
getRowSpan()
Gets the rowSpan attribute.
|
String |
getStyleClassOverride()
Gets the styleClassOverride attribute.
|
boolean |
hasChildElements()
Determines if this cell has child elements
|
boolean |
isActionBlock()
This is not an action block
|
boolean |
isEmpty()
Is this renderable element empty of any truly renderable content?
|
boolean |
isHidden()
Determines if this element is hidden or not
|
boolean |
isNeverEmpty()
Gets the neverEmpty attribute.
|
boolean |
isRendersAsHeader()
Gets the rendersAsHeader attribute.
|
void |
populateWithTabIndexIfRequested(int reallyHighIndex)
Allows the arbitrarily high tab index to be set for controls
|
void |
renderChildrenElements(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag)
Requests that this cell render all of its children cells
|
void |
renderElement(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag,
AccountingLineRenderingContext renderingContext)
Renders this element
|
boolean |
safeToRemove()
Determines if this field is safe to remove.
|
void |
setColSpan(int colSpan)
Sets the colSpan attribute value.
|
void |
setExtraStyle(String extraStyle)
Sets the extraStyle attribute value.
|
void |
setNeverEmpty(boolean neverEmpty)
Sets the neverEmpty attribute value.
|
void |
setRenderableElement(List<RenderableElement> renderableElement)
Sets the renderableElement attribute value.
|
void |
setRendersAsHeader(boolean rendersAsHeader)
Sets the rendersAsHeader attribute value.
|
void |
setRowSpan(int rowSpan)
Sets the rowSpan attribute value.
|
void |
setStyleClassOverride(String styleClassOverride)
Sets the styleClassOverride attribute value.
|
public AccountingLineTableCell()
public int getColSpan()
public void setColSpan(int colSpan)
colSpan
- The colSpan to set.public int getRowSpan()
public void setRowSpan(int rowSpan)
rowSpan
- The rowSpan to set.public List<RenderableElement> getRenderableElement()
public void setRenderableElement(List<RenderableElement> renderableElement)
renderableElement
- The renderableElement to set.public void addRenderableElement(RenderableElement element)
element
- another element to render within this cellpublic boolean isHidden()
RenderableElement
isHidden
in interface RenderableElement
RenderableElement.isHidden()
public boolean isActionBlock()
isActionBlock
in interface RenderableElement
RenderableElement.isActionBlock()
public boolean isEmpty()
RenderableElement
isEmpty
in interface RenderableElement
RenderableElement.isEmpty()
public boolean isRendersAsHeader()
public void setRendersAsHeader(boolean rendersAsHeader)
rendersAsHeader
- The rendersAsHeader to set.public String getExtraStyle()
public void setExtraStyle(String extraStyle)
extraStyle
- The extraStyle to set.public boolean isNeverEmpty()
public void setNeverEmpty(boolean neverEmpty)
neverEmpty
- The neverEmpty to set.public String getStyleClassOverride()
public void setStyleClassOverride(String styleClassOverride)
styleClassOverride
- The styleClassOverride to set.public void renderElement(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag, AccountingLineRenderingContext renderingContext) throws javax.servlet.jsp.JspException
RenderableElement
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
org.kuali.ole.sys.document.web.RenderableElement#renderElement(javax.servlet.jsp.PageContext, javax.servlet.jsp.tagext.Tag)
public void renderChildrenElements(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag) throws javax.servlet.jsp.JspException
pageContext
- the page context of the renderingparentTag
- the parent tag requesting all this renderingaccountingLine
- the accounting line getting renderedaccountingLineProperty
- the property to get from the form to the accounting linejavax.servlet.jsp.JspException
- Oh. Shoot. Something went...wrong.public boolean hasChildElements()
public void appendFields(List<org.kuali.rice.kns.web.ui.Field> fields)
appendFields
in interface RenderableElement
KRAD Conversion: Customization of the fields - No use of data dictionary
public void populateWithTabIndexIfRequested(int reallyHighIndex)
RenderableElement
populateWithTabIndexIfRequested
in interface RenderableElement
reallyHighIndex
- a really high index for elements who should not be tabbed toorg.kuali.ole.sys.document.web.RenderableElement#populateWithTabIndexIfRequested(int[], int)
public boolean safeToRemove()
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.