|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectTagSupport
BodyTagSupport
AbstractClassicTag
HtmlBaseTag
AnchorBase
Area
public class Area
Attribute,
String,
Serialized FormThe following <netui> tags...
<netui:image src="someDefaultPic.jpg" alt="a default picture" usemap="#defaultMap"/>
<map id="defaultMap" name="defaultMap">
<netui:area shape="rect" coords="0,0,80,80" href="bigPicture.jsp" alt="big picture of the image"/>
</map>
...output the following HTML:
<img src="someDefaultPic.jpg" usemap="#defaultMap" alt="a default picture">
<map id="defaultMap" name="defaultMap">
<area href="bigPicture.jsp" shape="rect" alt="big picture of the image" coords="0,0,80,80">
</map>| Field Summary | |
|---|---|
protected static String |
REQUIRED_ATTR
|
| Fields inherited from class AnchorBase |
|---|
_clientAction, _linkName, _state |
| Fields inherited from class AbstractClassicTag |
|---|
DefaultNamingChain, EMPTY_STRING, NETUI_UNIQUE_CNT |
| Fields inherited from class BodyTagSupport |
|---|
bodyContent |
| Fields inherited from class TagSupport |
|---|
id, pageContext |
| Fields inherited from interface BodyTag |
|---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| Fields inherited from interface IterationTag |
|---|
EVAL_BODY_AGAIN |
| Fields inherited from interface Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
|---|---|
Area()
|
|
| Method Summary | |
|---|---|
int |
doEndTag()
Render the hyperlink. |
int |
doStartTag()
Prepare the hyperlink for rendering |
AbstractHtmlState |
getState()
This method will return the state associated with the tag. |
String |
getTagName()
Returns the name of the Tag. |
void |
setAlt(String alt)
Sets the property to specify the alt text of the image. |
| Methods inherited from class AnchorBase |
|---|
addParameter, createAnchorBeginTag, getPopupSupport, localRelease, setAccessKey, setAction, setAttribute, setCoords, setDisableSecondClick, setFormSubmit, setHref, setLocation, setOnBlur, setOnFocus, setPopup, setShape, setTabindex, setTargetScope |
| Methods inherited from class HtmlBaseTag |
|---|
getJavaScriptAttribute, getNearestForm, getOnClick, getTagId, renderDefaultNameAndId, renderNameAndId, setDir, setLang, setOnClick, setOnDblClick, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setStateAttribute, setStyle, setStyleClass, setTagId, setTitle |
| Methods inherited from class BodyTagSupport |
|---|
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent |
| Methods inherited from class TagSupport |
|---|
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface Tag |
|---|
getParent, setPageContext, setParent |
| Field Detail |
|---|
protected static final String REQUIRED_ATTR
| Constructor Detail |
|---|
public Area()
| Method Detail |
|---|
public String getTagName()
getTagName in interface INetuiTaggetTagName in class AbstractClassicTagpublic AbstractHtmlState getState()
getState in class HtmlBaseTagAbstractHtmlState class.public void setAlt(String alt)
alt - the image alignment.
public int doStartTag()
throws JspException
doStartTag in interface TagdoStartTag in class BodyTagSupportJspException - if a JSP exception has occurred
public int doEndTag()
throws JspException
doEndTag in interface TagdoEndTag in class BodyTagSupportJspException - if a JSP exception has occurred
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||