|
HDIV API 2.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.struts.taglib.html.BaseHandlerTag
org.apache.struts.taglib.html.LinkTag
org.hdiv.taglib.html.LinkTagHDIV
org.hdiv.taglib.html.FrameTagHDIV
public class FrameTagHDIV
Generate an HTML <frame> tag with similar capabilities
as those the <html:link> tag provides for hyperlink
elements. The src element is rendered using the same technique
that LinkTagHDIV uses to render the href attribute of a
hyperlink. Additionall, the HTML 4.0
frame tag attributes noresize, scrolling,
marginheight, marginwidth,
frameborder, and longdesc are supported.
The frame
name attribute is rendered based on the frameName
property.
Note that the value of longdesc is intended to be a URI, but
currently no rewriting is supported. The attribute is set directly from
the property value.
FrameTag,
org.apache.struts.taglib.html.LinkTagHDIV,
Serialized Form| Field Summary | |
|---|---|
protected java.lang.String |
frameborder
The frameborder attribute that should be rendered (1, 0). |
protected java.lang.String |
frameName
The name attribute that should be rendered for this frame. |
protected java.lang.String |
longdesc
URI of a long description of this frame (complements title). |
protected int |
marginheight
The margin height in pixels, or zero for no setting. |
protected int |
marginwidth
The margin width in pixels, or zero for no setting. |
protected boolean |
noresize
Should users be disallowed to resize the frame? |
protected java.lang.String |
scrolling
What type of scrolling should be supported (yes, no, auto)? |
| Fields inherited from class org.apache.struts.taglib.html.LinkTag |
|---|
action, anchor, forward, href, indexId, linkName, messages, name, page, paramId, paramName, paramProperty, paramScope, property, scope, target, text, transaction |
| Fields inherited from class org.apache.struts.taglib.html.BaseHandlerTag |
|---|
accesskey, defaultLocale, indexed, tabindex |
| Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
|---|
bodyContent |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
id, pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
|---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
|---|
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
|---|---|
FrameTagHDIV()
|
|
| Method Summary | |
|---|---|
int |
doEndTag()
Ignore the end of this tag. |
int |
doStartTag()
Render the beginning of the hyperlink. |
java.lang.String |
getFrameborder()
|
java.lang.String |
getFrameName()
|
java.lang.String |
getLongdesc()
|
int |
getMarginheight()
|
int |
getMarginwidth()
|
boolean |
getNoresize()
|
java.lang.String |
getScrolling()
|
void |
release()
Release any acquired resources. |
void |
setFrameborder(java.lang.String frameborder)
|
void |
setFrameName(java.lang.String frameName)
|
void |
setLongdesc(java.lang.String longdesc)
|
void |
setMarginheight(int marginheight)
|
void |
setMarginwidth(int marginwidth)
|
void |
setNoresize(boolean noresize)
|
void |
setScrolling(java.lang.String scrolling)
|
| Methods inherited from class org.hdiv.taglib.html.LinkTagHDIV |
|---|
prepareAttribute, prepareOtherAttributes |
| Methods inherited from class org.apache.struts.taglib.html.LinkTag |
|---|
calculateURL, doAfterBody, getAction, getAnchor, getForward, getHref, getIndexId, getLinkName, getName, getPage, getParamId, getParamName, getParamProperty, getParamScope, getProperty, getScope, getTarget, getTransaction, setAction, setAnchor, setForward, setHref, setIndexId, setLinkName, setName, setPage, setParamId, setParamName, setParamProperty, setParamScope, setProperty, setScope, setTarget, setTransaction |
| Methods inherited from class org.apache.struts.taglib.html.BaseHandlerTag |
|---|
getAccesskey, getAlt, getAltKey, getBundle, getDisabled, getElementClose, getIndexed, getLocale, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getReadonly, getStyle, getStyleClass, getStyleId, getTabindex, getTitle, getTitleKey, isXhtml, lookupProperty, message, prepareEventHandlers, prepareFocusEvents, prepareIndex, prepareKeyEvents, prepareMouseEvents, prepareStyles, prepareTextEvents, setAccesskey, setAlt, setAltKey, setBundle, setDisabled, setIndexed, setLocale, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setStyleId, setTabindex, setTitle, setTitleKey |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
|---|
doInitBody, getBodyContent, getPreviousOut, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
getParent, setPageContext, setParent |
| Field Detail |
|---|
protected java.lang.String frameborder
protected java.lang.String frameName
name attribute that should be rendered for this frame.
protected java.lang.String longdesc
protected int marginheight
protected int marginwidth
protected boolean noresize
protected java.lang.String scrolling
| Constructor Detail |
|---|
public FrameTagHDIV()
| Method Detail |
|---|
public java.lang.String getFrameborder()
public void setFrameborder(java.lang.String frameborder)
public java.lang.String getFrameName()
public void setFrameName(java.lang.String frameName)
public java.lang.String getLongdesc()
public void setLongdesc(java.lang.String longdesc)
public int getMarginheight()
public void setMarginheight(int marginheight)
public int getMarginwidth()
public void setMarginwidth(int marginwidth)
public boolean getNoresize()
public void setNoresize(boolean noresize)
public java.lang.String getScrolling()
public void setScrolling(java.lang.String scrolling)
public int doStartTag()
throws javax.servlet.jsp.JspException
Support for indexed property since Struts 1.1.
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class LinkTagHDIVjavax.servlet.jsp.JspException - if a JSP exception has occurredRequestUtilsHDIV
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class org.apache.struts.taglib.html.LinkTagjavax.servlet.jsp.JspException - if a JSP exception has occurredpublic void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class org.apache.struts.taglib.html.LinkTag
|
HDIV 2.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||