|
Common DOM API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Create a frame. See the FRAME element definition in HTML 4.0.
See also the Document Object Model (DOM) Level 2 Specification.
Field Summary |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Method Summary | |
Document |
getContentDocument()
The document this frame contains, if there is any and it is available, or null otherwise. |
String |
getFrameBorder()
Request frame borders. |
String |
getLongDesc()
URI designating a long description of this image or frame. |
String |
getMarginHeight()
Frame margin height, in pixels. |
String |
getMarginWidth()
Frame margin width, in pixels. |
String |
getName()
The frame name (object of the target attribute). |
boolean |
getNoResize()
When true, forbid user from resizing frame. |
String |
getScrolling()
Specify whether or not the frame should have scrollbars. |
String |
getSrc()
A URI designating the initial frame contents. |
void |
setFrameBorder(String frameBorder)
|
void |
setLongDesc(String longDesc)
|
void |
setMarginHeight(String marginHeight)
|
void |
setMarginWidth(String marginWidth)
|
void |
setName(String name)
|
void |
setNoResize(boolean noResize)
|
void |
setScrolling(String scrolling)
|
void |
setSrc(String src)
|
Methods inherited from interface org.w3c.dom.html.HTMLElement |
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle |
Methods inherited from interface org.w3c.dom.Element |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Method Detail |
public String getFrameBorder()
public void setFrameBorder(String frameBorder)
public String getLongDesc()
public void setLongDesc(String longDesc)
public String getMarginHeight()
public void setMarginHeight(String marginHeight)
public String getMarginWidth()
public void setMarginWidth(String marginWidth)
public String getName()
target
attribute). See the
name attribute definition in HTML 4.0.
public void setName(String name)
public boolean getNoResize()
public void setNoResize(boolean noResize)
public String getScrolling()
public void setScrolling(String scrolling)
public String getSrc()
public void setSrc(String src)
public Document getContentDocument()
null
otherwise.
|
Common DOM API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |