|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSimpleTagSupport
AbstractSimpleTag
AbstractDataGridHtmlTag
Footer
public class Footer
The Footer tag is used to render a table row after the data grid has rendered the
header and rows regions demarcated by the Header
and Rows
tags respectively.
The footer tag can also optionally render a <tfoot> HTML tag if the data grid is rendering
HTML table row groups. To enable this functionality, set the DataGrid.setRenderRowGroups(boolean)
attribute. The location of the footer tag inside of a data grid does not affect when its content renders.
The attribute setters for the footer tag are used to add HTML attributes to the ≶tfoot> HTML tag. When row group rendering is disabled, attributes set here do not render.
Because this tag renders inside of an HTML table, it by default renders an HTML
<tr> tag to represent a table row. Table row tag rendering can be disabled using the setRenderRow(boolean)
attribute. When this is disabled, the page author is responsible for maintaining the integrity of the
HTML table by writing <tr> tags manually or by using the Row
tag. When this tag is rendering
it does not produce table cells; the contents of the table row in the footer is entirely left to the
page author. With row rendering disabled, it is also possible to add multiple table rows to the
end of a data grid.
The set of JSP implicit objects available to the body include:
dataGridModel
-- the DataGridTagModel
for the cell's containing data grid.
Constructor Summary | |
---|---|
Footer()
|
Method Summary | |
---|---|
void |
doTag()
Render this tag. |
String |
getTagName()
The name of this tag; this value is used for error reporting. |
void |
setAlign(String align)
Sets the value of the horizontal align attribute of the HTML tfoot tag. |
void |
setChar(String alignChar)
Sets the value of the horizontal alignment character attribute of the HTML tfoot tag. |
void |
setCharoff(String alignCharOff)
Sets the value of the horizontal alignment character offset attribute of the HTML tfoot tag |
void |
setDir(String dir)
Sets the value of the text direction attribute. |
void |
setLang(String lang)
Sets the value of the language attribute. |
void |
setOnClick(String onClick)
Sets the onClick JavaScript event for the HTML tfoot. |
void |
setOnDblClick(String onDblClick)
Sets the onDblClick JavaScript event for the HTML tfoot. |
void |
setOnKeyDown(String onKeyDown)
Sets the onKeyDown JavaScript event for the HTML tfoot. |
void |
setOnKeyPress(String onKeyPress)
Sets the onKeyPress JavaScript event. |
void |
setOnKeyUp(String onKeyUp)
Sets the onKeyUp JavaScript event for the HTML tfoot. |
void |
setOnMouseDown(String onMouseDown)
Sets the onMouseDown JavaScript event for the HTML tfoot. |
void |
setOnMouseMove(String onMouseMove)
Sets the onMouseMove JavaScript event for the HTML tfoot. |
void |
setOnMouseOut(String onMouseOut)
Sets the onMouseOut JavaScript event for the HTML tfoot. |
void |
setOnMouseOver(String onMouseOver)
Sets the onMouseOver JavaScript event for the HTML tfoot. |
void |
setOnMouseUp(String onMouseUp)
Sets the onMouseUp JavaScript event for the HTML tfoot. |
void |
setRenderRow(boolean renderRow)
Set a boolean that enables / disables rendering HTML table rows by this tag. |
void |
setStyle(String style)
Sets the style of the HTML tfoot tag. |
void |
setStyleClass(String styleClass)
Sets the style class of the rendered html tag. |
void |
setTagId(String tagId)
Set the name of the tagId for the HTML tfoot tag. |
void |
setTitle(String title)
Sets the value of the title attribute of the HTML tfoot tag. |
void |
setValign(String align)
Sets the value of the vertical alignment attribute. |
Methods inherited from class AbstractDataGridHtmlTag |
---|
applyIndexedTagId, applyTagId, lookupDataGridTagModel, renderDefaultNameAndId, renderNameAndId |
Methods inherited from class AbstractSimpleTag |
---|
getBufferBody, getHtmlTag, getIdForTagId, getInlineError, getPageContext, getScriptReporter, getUserLocale, hasErrors, registerTagError, registerTagError, reportErrors, rewriteName, setNonEmptyValueAttribute, setRequiredValueAttribute, write |
Methods inherited from class SimpleTagSupport |
---|
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Footer()
Method Detail |
---|
public String getTagName()
getTagName
in interface INetuiTag
getTagName
in class AbstractSimpleTag
public void setOnClick(String onClick)
setOnClick
in interface IHtmlEvents
onClick
- the onClick eventpublic void setOnDblClick(String onDblClick)
setOnDblClick
in interface IHtmlEvents
onDblClick
- the onDblClick event.public void setOnKeyDown(String onKeyDown)
setOnKeyDown
in interface IHtmlEvents
onKeyDown
- the onKeyDown event.public void setOnKeyUp(String onKeyUp)
setOnKeyUp
in interface IHtmlEvents
onKeyUp
- the onKeyUp event.public void setOnKeyPress(String onKeyPress)
setOnKeyPress
in interface IHtmlEvents
onKeyPress
- the onKeyPress event.public void setOnMouseDown(String onMouseDown)
setOnMouseDown
in interface IHtmlEvents
onMouseDown
- the onMouseDown event.public void setOnMouseUp(String onMouseUp)
setOnMouseUp
in interface IHtmlEvents
onMouseUp
- the onMouseUp event.public void setOnMouseMove(String onMouseMove)
setOnMouseMove
in interface IHtmlEvents
onMouseMove
- the onMouseMove event.public void setOnMouseOut(String onMouseOut)
setOnMouseOut
in interface IHtmlEvents
onMouseOut
- the onMouseOut event.public void setOnMouseOver(String onMouseOver)
setOnMouseOver
in interface IHtmlEvents
onMouseOver
- the onMouseOver event.public void setStyle(String style)
style
- the stylepublic void setStyleClass(String styleClass)
styleClass
- the style classpublic void setTitle(String title)
title
- public void setAlign(String align)
align
- the alignmentpublic void setChar(String alignChar)
alignChar
- the alignment characterpublic void setCharoff(String alignCharOff)
alignCharOff
- the character alignment offsetpublic void setValign(String align)
align
- public void setLang(String lang)
setLang
in interface IHtmlI18n
lang
- public void setDir(String dir)
setDir
in interface IHtmlI18n
dir
- public void setRenderRow(boolean renderRow)
public void setTagId(String tagId) throws JspException
tagId
- the tag id
JspException
public void doTag() throws IOException, JspException
DataGridTagModel.RENDER_STATE_FOOTER
state in order to add table rows to the end of a data grid's HTML table. If the data grid is rendering
HTML row groups, this tag will output an HTML <tfoot> tag. Then, if this tag is rendering
a table row, it will produce an HTML <tr> tag. Then the content of the body will be rendered. If
table row rendering is disabled, the page author is responsible for rendering the appropriate HTML
table row tags as this tag renders inside of the HTML table opened by the data grid.
doTag
in interface SimpleTag
doTag
in class SimpleTagSupport
IOException
JspException
- when the DataGridTagModel
can not be found in the JspContext
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |