|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSimpleTagSupport
AbstractSimpleTag
AbstractDataGridHtmlTag
Caption
public class Caption
The Caption tag is used to render an HTML <caption> inside of a data grid. The caption tag should be placed inside of a <netui-data:dataGrid> tag and will produce the caption for the HTML table that the dataGrid renders.
To set HTML attributes on the rendered caption tag, use the attribute setters defined in this tag
The set of JSP implicit objects available to the body include:
dataGridModel
-- the DataGridTagModel
for the cell's containing data grid.
Constructor Summary | |
---|---|
Caption()
|
Method Summary | |
---|---|
void |
doTag()
Render the caption tag. |
String |
getTagName()
The name of this tag; this value is used for error reporting. |
void |
setDir(String dir)
Sets the value of the text direction attribute for the HTML caption. |
void |
setLang(String lang)
Sets the value of the language attribute for the HTML caption. |
void |
setOnClick(String onClick)
Sets the onClick JavaScript event for the HTML attribute. |
void |
setOnDblClick(String onDblClick)
Sets the onDblClick JavaScript event for the HTML caption. |
void |
setOnKeyDown(String onKeyDown)
Sets the onKeyDown JavaScript event for the HTML caption. |
void |
setOnKeyPress(String onKeyPress)
Sets the onKeyPress JavaScript event for the HTML caption. |
void |
setOnKeyUp(String onKeyUp)
Sets the onKeyUp JavaScript event for the HTML caption. |
void |
setOnMouseDown(String onMouseDown)
Sets the onMouseDown JavaScript event for the HTML caption. |
void |
setOnMouseMove(String onMouseMove)
Sets the onMouseMove JavaScript event for the HTML caption. |
void |
setOnMouseOut(String onMouseOut)
Sets the onMouseOut JavaScript event for the HTML caption. |
void |
setOnMouseOver(String onMouseOver)
Sets the onMouseOver JavaScript event for the HTML caption. |
void |
setOnMouseUp(String onMouseUp)
Sets the onMouseUp JavaScript event for the HTML caption. |
void |
setStyle(String style)
Sets the style of the HTML caption. |
void |
setStyleClass(String styleClass)
Sets the style class of the HTML caption. |
void |
setTagId(String tagId)
Set the name of the tagId for the HTML caption. |
void |
setTitle(String title)
Sets the value of the title attribute for the HTML caption. |
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 Caption()
Method Detail |
---|
public String getTagName()
getTagName
in interface INetuiTag
getTagName
in class AbstractSimpleTag
public void setOnClick(String onClick)
onClick
- the onClick eventpublic void setOnDblClick(String onDblClick)
onDblClick
- the onDblClick eventpublic void setOnKeyDown(String onKeyDown)
onKeyDown
- the onKeyDown eventpublic void setOnKeyUp(String onKeyUp)
onKeyUp
- the onKeyUp event.public void setOnKeyPress(String onKeyPress)
onKeyPress
- the onKeyPress event.public void setOnMouseDown(String onMouseDown)
onMouseDown
- the onMouseDown event.public void setOnMouseUp(String onMouseUp)
onMouseUp
- the onMouseUp event.public void setOnMouseMove(String onMouseMove)
onMouseMove
- the onMouseMove event.public void setOnMouseOut(String onMouseOut)
onMouseOut
- the onMouseOut event.public void setOnMouseOver(String onMouseOver)
onMouseOver
- the onMouseOver event.public void setStyle(String style)
style
- the caption attribute.public void setStyleClass(String styleClass)
styleClass
- the style classpublic void setTitle(String title)
title
- the title attributepublic void setLang(String lang)
lang
- the language attributepublic void setDir(String dir)
dir
- the dir attributepublic void setTagId(String tagId) throws JspException
tagId
- the the name of the tagId for the caption.
JspException
public void doTag() throws IOException, JspException
Render the caption tag. This tag renders during the data grid's DataGridTagModel.RENDER_STATE_CAPTION
state and produces an HTML <caption> which contains the result of having evaluated
the body of this tag.
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 |