|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSimpleTagSupport
AbstractSimpleTag
AbstractCell
AbstractHtmlTableCell
AnchorCell
public class AnchorCell
Constructor Summary | |
---|---|
AnchorCell()
|
Method Summary | |
---|---|
void |
addParameter(String name,
Object value,
String facet)
This method will allow a tag that produces one or more Urls to have parameters set on the tag. |
protected void |
applyAttributes()
|
String |
getTagName()
Return the name of the tag. |
protected CellModel |
internalGetCellModel()
|
protected void |
renderDataCellContents(AbstractRenderAppender appender,
String jspFragmentOutput)
|
void |
setAction(String action)
Set the name of the action for the Area. |
void |
setAttribute(String name,
String value,
String facet)
Base support for the attribute tag. |
void |
setCharSet(String charSet)
Sets charset attribute for the anchor. |
void |
setHref(String href)
Sets the href of the Anchor. |
void |
setHrefLang(String hreflang)
Sets hreflang attribute for the anchor. |
void |
setOnClick(String onClick)
Sets the onClick javascript event. |
void |
setOnDblClick(String onDblClick)
Sets the onDblClick javascript event. |
void |
setOnKeyDown(String onKeyDown)
Sets the onKeyDown javascript event. |
void |
setOnKeyPress(String onKeyPress)
Sets the onKeyPress javascript event. |
void |
setOnKeyUp(String onKeyUp)
Sets the onKeyUp javascript event. |
void |
setOnMouseDown(String onMouseDown)
Sets the onMouseDown javascript event. |
void |
setOnMouseMove(String onMouseMove)
Sets the onMouseMove javascript event. |
void |
setOnMouseOut(String onMouseOut)
Sets the onMouseOut javascript event. |
void |
setOnMouseOver(String onMouseOver)
Sets the onMouseOver javascript event. |
void |
setOnMouseUp(String onMouseUp)
Sets the onMouseUp javascript event. |
void |
setRel(String rel)
Sets rel attribute for the anchor. |
void |
setRev(String rev)
Sets rev attribute for the anchor. |
void |
setStyle(String style)
Sets the style of the rendered html tag. |
void |
setStyleClass(String styleClass)
Sets the style class of the rendered html tag. |
void |
setTarget(String target)
Sets the window target. |
void |
setTargetScope(String targetScope)
Set the target "scope" for the anchor's action. |
void |
setTitle(String title)
Sets the value of the title attribute. |
void |
setType(String type)
Sets type attribute for the anchor. |
void |
setValue(String value)
|
Methods inherited from class AbstractCell |
---|
addFormatter, addStateAttribute, doTag, formatterHasError, renderEmptyCell |
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 |
Methods inherited from interface IFormattable |
---|
addFormatter, formatterHasError |
Constructor Detail |
---|
public AnchorCell()
Method Detail |
---|
public String getTagName()
AbstractSimpleTag
getTagName
in interface INetuiTag
getTagName
in class AbstractSimpleTag
public void setOnClick(String onClick)
onClick
- - the onClick event.public void setOnDblClick(String onDblClick)
onDblClick
- - the onDblClick event.public void setOnKeyDown(String onKeyDown)
onKeyDown
- - the onKeyDown event.public 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 html style.public void setStyleClass(String styleClass)
styleClass
- - the html style class.public void setTitle(String title)
title
- public void setCharSet(String charSet)
charset
attribute for the anchor.
charSet
- - the window target.public void setType(String type)
type
attribute for the anchor.
type
- - the window target.public void setHrefLang(String hreflang)
hreflang
attribute for the anchor.
hreflang
- - the window target.public void setRel(String rel)
rel
attribute for the anchor.
rel
- - the window target.public void setRev(String rev)
rev
attribute for the anchor.
rev
- - the window target.public void setTarget(String target)
target
- - the window target.public void setHref(String href)
href
- - the hyperlink URI for the Area.public void setTargetScope(String targetScope)
targetScope
- - the name of the target scope in which the associated action's page flow resides.public void setValue(String value)
public void setAction(String action) throws JspException
action
- - the name of the action to set for the Area.
JspException
public void setAttribute(String name, String value, String facet) throws JspException
AbstractHtmlTableCell
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
setAttribute
in class AbstractHtmlTableCell
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 addParameter(String name, Object value, String facet) throws JspException
IUrlParams
addParameter
in interface IUrlParams
name
- The name of the parameter to be added to the URL.value
- The value of the parameter.facet
- The name of a facet for which the parameter should be added.
JspException
protected void applyAttributes() throws JspException
applyAttributes
in class AbstractCell
JspException
protected void renderDataCellContents(AbstractRenderAppender appender, String jspFragmentOutput)
renderDataCellContents
in class AbstractHtmlTableCell
protected CellModel internalGetCellModel()
internalGetCellModel
in class AbstractCell
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |