public class TableCellRenderer extends Object implements Renderer
Constructor and Description |
---|
TableCellRenderer() |
Modifier and Type | Method and Description |
---|---|
protected String |
buildBeginningTag()
Builds the opening cell tag, ie
|
protected String |
buildEndingTag()
Builds the closing cell tag, ie
|
void |
clear()
Resets the cell to null
|
AccountingLineTableCell |
getCell()
Gets the cell attribute.
|
protected String |
getStyleClass()
Returns what style class to use - using the styleClassOverride of the cell if possible
|
protected String |
getTagName()
Returns the name of the cell tag we want to create - in this case, "td"
|
void |
render(javax.servlet.jsp.PageContext pageContext,
javax.servlet.jsp.tagext.Tag parentTag)
Renders the table cell as a header cell as well as rendering all children renderable elements of the cell
|
void |
setCell(AccountingLineTableCell cell)
Sets the cell attribute value.
|
protected boolean |
verticallyAlignTowardsTop()
Determines if the cell should be veritically aligned to the top
|
public TableCellRenderer()
public void clear()
clear
in interface Renderer
Renderer.clear()
public void render(javax.servlet.jsp.PageContext pageContext, javax.servlet.jsp.tagext.Tag parentTag) throws javax.servlet.jsp.JspException
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 String buildBeginningTag()
protected String getStyleClass()
protected String buildEndingTag()
protected String getTagName()
public AccountingLineTableCell getCell()
public void setCell(AccountingLineTableCell cell)
cell
- The cell to set.protected boolean verticallyAlignTowardsTop()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.