|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSimpleTagSupport
AbstractSimpleTag
AbstractCell
AbstractHtmlTableCell
public abstract class AbstractHtmlTableCell
Constructor Summary | |
---|---|
AbstractHtmlTableCell()
|
Method Summary | |
---|---|
protected void |
renderCell(AbstractRenderAppender appender)
|
protected abstract void |
renderDataCellContents(AbstractRenderAppender appender,
String output)
|
void |
setAttribute(String name,
String value,
String facet)
Base support for the attribute tag. |
void |
setBehavior(String name,
String value,
String facet)
Set a behavior value on the implementing class. |
void |
setCellAbbr(String abbr)
Sets the value of the abbreviated form of the cell's content. |
void |
setCellAlign(String align)
Sets the value of the horizontal align attribute. |
void |
setCellAxis(String axis)
Sets the value of the axis attribute. |
void |
setCellChar(String alignChar)
Sets the value of the horizontal alignment character attribute. |
void |
setCellCharoff(String alignCharOff)
Sets the value of the horizontal alignment character offset attribute. |
void |
setCellColspan(int colSpan)
Sets the value of the cell's colspan attribute. |
void |
setCellDir(String dir)
Sets the value of the text direction attribute. |
void |
setCellHeaders(String headers)
Sets the value of the headers attribute. |
void |
setCellLang(String lang)
Sets the value of the languageattribute. |
void |
setCellOnClick(String onClick)
Sets the onClick javascript event. |
void |
setCellOnDblClick(String onDblClick)
Sets the onDblClick javascript event. |
void |
setCellOnKeyDown(String onKeyDown)
Sets the onKeyDown javascript event. |
void |
setCellOnKeyPress(String onKeyPress)
Sets the onKeyPress javascript event. |
void |
setCellOnKeyUp(String onKeyUp)
Sets the onKeyUp javascript event. |
void |
setCellOnMouseDown(String onMouseDown)
Sets the onMouseDown javascript event. |
void |
setCellOnMouseMove(String onMouseMove)
Sets the onMouseMove javascript event. |
void |
setCellOnMouseOut(String onMouseOut)
Sets the onMouseOut javascript event. |
void |
setCellOnMouseOver(String onMouseOver)
Sets the onMouseOver javascript event. |
void |
setCellOnMouseUp(String onMouseUp)
Sets the onMouseUp javascript event. |
void |
setCellRowspan(int rowSpan)
Sets the value of the cell's rowspan attribute. |
void |
setCellScope(String scope)
Sets the value of the scope attribute. |
void |
setCellStyle(String style)
Sets the style of the rendered html tag. |
void |
setCellStyleClass(String styleClass)
Sets the style class of the rendered html tag. |
void |
setCellTitle(String title)
Sets the value of the title attribute. |
void |
setCellValign(String align)
Sets the value of the vertical alignment attribute. |
void |
setFilterExpression(String filterExpression)
|
void |
setSortExpression(String sortExpression)
|
Methods inherited from class AbstractCell |
---|
addFormatter, addStateAttribute, applyAttributes, doTag, formatterHasError, internalGetCellModel, renderEmptyCell |
Methods inherited from class AbstractSimpleTag |
---|
getBufferBody, getHtmlTag, getIdForTagId, getInlineError, getPageContext, getScriptReporter, getTagName, 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 AbstractHtmlTableCell()
Method Detail |
---|
public void setSortExpression(String sortExpression)
sortExpression
- public void setFilterExpression(String filterExpression)
filterExpression
- public void setCellOnClick(String onClick)
onClick
- - the onClick event.public void setCellOnDblClick(String onDblClick)
onDblClick
- - the onDblClick event.public void setCellOnKeyDown(String onKeyDown)
onKeyDown
- - the onKeyDown event.public void setCellOnKeyUp(String onKeyUp)
onKeyUp
- - the onKeyUp event.public void setCellOnKeyPress(String onKeyPress)
onKeyPress
- - the onKeyPress event.public void setCellOnMouseDown(String onMouseDown)
onMouseDown
- - the onMouseDown event.public void setCellOnMouseUp(String onMouseUp)
onMouseUp
- - the onMouseUp event.public void setCellOnMouseMove(String onMouseMove)
onMouseMove
- - the onMouseMove event.public void setCellOnMouseOut(String onMouseOut)
onMouseOut
- - the onMouseOut event.public void setCellOnMouseOver(String onMouseOver)
onMouseOver
- - the onMouseOver event.public void setCellStyle(String style)
style
- - the html style.public void setCellStyleClass(String styleClass)
styleClass
- - the html style class.public void setCellTitle(String title)
title
- public void setCellRowspan(int rowSpan)
rowSpan
- public void setCellColspan(int colSpan)
colSpan
- public void setCellAlign(String align)
align
- public void setCellChar(String alignChar)
alignChar
- public void setCellCharoff(String alignCharOff)
alignCharOff
- public void setCellValign(String align)
align
- public void setCellLang(String lang)
lang
- public void setCellDir(String dir)
dir
- public void setCellAbbr(String abbr)
abbr
- public void setCellAxis(String axis)
axis
- public void setCellHeaders(String headers)
headers
- public void setCellScope(String scope)
scope
- public void setAttribute(String name, String value, String facet) throws JspException
attribute
tag. This requires that the tag buffer their body and
write attribute in the end tag. For the HTML tags it is not legal to set
the id
or name
attributes. In addition, the base tag does
not allow facets to be set. If the attribute is legal it will be added to the
general expression map stored in the AbstractHtmlState
of the tag.
setAttribute
in interface IAttributeConsumer
name
- The name of the attribute. This value may not be null or the empty string.value
- The value of the attribute. This may contain an expression.facet
- The name of a facet to which the attribute will be applied. This is optional.
JspException
- A JspException may be thrown if there is an error setting the attribute.public void setBehavior(String name, String value, String facet) throws JspException
IBehaviorConsumer
name
represents
the name of the behavior. The value
represents the value.
The facet
is optional and may be used by complex types to
target the behavior.
setBehavior
in interface IBehaviorConsumer
name
- The name of the behavior. This value may not be null or the empty string.value
- The value of the behavior.facet
- The name of a facet to which the attribute will be applied. This is optional.
JspException
- A JspException may be thrown if there is an error setting the attribute.protected void renderCell(AbstractRenderAppender appender) throws IOException, JspException
renderCell
in class AbstractCell
IOException
JspException
protected abstract void renderDataCellContents(AbstractRenderAppender appender, String output) throws IOException, JspException
IOException
JspException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |