org.kuali.kfs.sys.document.web.renderers
Class TableHeaderRenderer
java.lang.Object
org.kuali.kfs.sys.document.web.renderers.TableCellRenderer
org.kuali.kfs.sys.document.web.renderers.TableHeaderRenderer
- All Implemented Interfaces:
- Renderer
public class TableHeaderRenderer
- extends TableCellRenderer
Renders a table cell as a header
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableHeaderRenderer
public TableHeaderRenderer()
getTagName
protected String getTagName()
- Returns "th" instead of "td"
- Overrides:
getTagName
in class TableCellRenderer
- Returns:
- the String td, which is the tag name of the tags we want to produce
- See Also:
TableCellRenderer.getTagName()
verticallyAlignTowardsTop
protected boolean verticallyAlignTowardsTop()
- Header cells shouldn't vertically align towards the top of the cell
- Overrides:
verticallyAlignTowardsTop
in class TableCellRenderer
- Returns:
- true if the cell should vertically align to the top; false otherwise
- See Also:
TableCellRenderer.verticallyAlignTowardsTop()
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.