public class FrameTag extends LinkTag
<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 LinkTag
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.Modifier and Type | Field and Description |
---|---|
protected String |
frameborder
The frameborder attribute that should be rendered (1, 0).
|
protected String |
frameName
The
name attribute that should be rendered for this
frame. |
protected String |
longdesc
URI of a long description of this frame (complements title).
|
protected Integer |
marginheight
The margin height in pixels, or zero for no setting.
|
protected Integer |
marginwidth
The margin width in pixels, or null for no setting.
|
protected boolean |
noresize
Should users be disallowed to resize the frame?
|
protected String |
scrolling
What type of scrolling should be supported (yes, no, auto)?
|
action, anchor, forward, href, indexId, linkName, messages, module, name, page, parameters, paramId, paramName, paramProperty, paramScope, property, scope, target, text, transaction, useLocalEncoding
accesskey, doDisabled, doReadonly, indexed, tabindex
Constructor and Description |
---|
FrameTag() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag()
Render the appropriately encoded URI.
|
String |
getFrameborder() |
String |
getFrameName() |
String |
getLongdesc() |
Integer |
getMarginheight() |
Integer |
getMarginwidth() |
boolean |
getNoresize() |
String |
getScrolling() |
void |
release()
Release any acquired resources.
|
void |
setFrameborder(String frameborder) |
void |
setFrameName(String frameName) |
void |
setLongdesc(String longdesc) |
void |
setMarginheight(Integer marginheight) |
void |
setMarginwidth(Integer marginwidth) |
void |
setNoresize(boolean noresize) |
void |
setScrolling(String scrolling) |
addParameter, calculateURL, doAfterBody, doStartTag, getAction, getAnchor, getForward, getHref, getIndexId, getLinkName, getModule, getName, getPage, getParamId, getParamName, getParamProperty, getParamScope, getProperty, getScope, getTarget, getTransaction, isUseLocalEncoding, setAction, setAnchor, setForward, setHref, setIndexId, setLinkName, setModule, setName, setPage, setParamId, setParamName, setParamProperty, setParamScope, setProperty, setScope, setTarget, setTransaction, setUseLocalEncoding
doErrorsExist, getAccesskey, getAlt, getAltKey, getBundle, getDir, getDisabled, getElementClose, getErrorKey, getErrorStyle, getErrorStyleClass, getErrorStyleId, getIndexed, getIndexValue, getLang, 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, prepareAttribute, prepareEventHandlers, prepareFocusEvents, prepareIndex, prepareInternationalization, prepareKeyEvents, prepareMouseEvents, prepareName, prepareOtherAttributes, prepareStyles, prepareTextEvents, setAccesskey, setAlt, setAltKey, setBundle, setDir, setDisabled, setErrorKey, setErrorStyle, setErrorStyleClass, setErrorStyleId, setIndexed, setLang, setLocale, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setStyleId, setTabindex, setTitle, setTitleKey
doInitBody, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
protected String frameborder
protected String frameName
name
attribute that should be rendered for this
frame.protected String longdesc
protected Integer marginheight
protected Integer marginwidth
protected boolean noresize
protected String scrolling
public String getFrameborder()
public void setFrameborder(String frameborder)
public String getFrameName()
public void setFrameName(String frameName)
public String getLongdesc()
public void setLongdesc(String longdesc)
public Integer getMarginheight()
public void setMarginheight(Integer marginheight)
public Integer getMarginwidth()
public void setMarginwidth(Integer marginwidth)
public boolean getNoresize()
public void setNoresize(boolean noresize)
public String getScrolling()
public void setScrolling(String scrolling)
public int doEndTag() throws javax.servlet.jsp.JspException
Copyright © 2000–2016 Apache Software Foundation. All rights reserved.