|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gargoylesoftware.htmlunit.html.DomNode
com.gargoylesoftware.htmlunit.html.DomNamespaceNode
com.gargoylesoftware.htmlunit.html.DomElement
com.gargoylesoftware.htmlunit.html.HtmlElement
com.gargoylesoftware.htmlunit.html.StyledElement
com.gargoylesoftware.htmlunit.html.BaseFrame
public abstract class BaseFrame
Base class for frame and iframe.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.gargoylesoftware.htmlunit.html.HtmlElement |
---|
HtmlElement.ChildElementsIterator, HtmlElement.MapEntryWrappingIterator |
Nested classes/interfaces inherited from class com.gargoylesoftware.htmlunit.html.DomNode |
---|
DomNode.ChildIterator, DomNode.DescendantElementsIterator |
Field Summary |
---|
Fields inherited from class com.gargoylesoftware.htmlunit.html.HtmlElement |
---|
ATTRIBUTE_NOT_DEFINED, ATTRIBUTE_VALUE_EMPTY, TAB_INDEX_OUT_OF_BOUNDS |
Fields inherited from class com.gargoylesoftware.htmlunit.html.DomNode |
---|
ATTRIBUTE_NODE, COMMENT_NODE, DOCUMENT_NODE, ELEMENT_NODE, PROPERTY_ELEMENT, READY_STATE_COMPLETE, READY_STATE_INTERACTIVE, READY_STATE_LOADED, READY_STATE_LOADING, READY_STATE_UNINITIALIZED, TEXT_NODE |
Constructor Summary | |
---|---|
protected |
BaseFrame(String namespaceURI,
String qualifiedName,
HtmlPage page,
Map attributes)
Create an instance of BaseFrame |
Method Summary | |
---|---|
Page |
getEnclosedPage()
Return the currently loaded page in the enclosed window. |
WebWindow |
getEnclosedWindow()
Gets the window enclosed in this frame. |
String |
getFrameBorderAttribute()
Return the value of the attribute "frameborder". |
String |
getLongDescAttribute()
Return the value of the attribute "longdesc". |
String |
getMarginHeightAttribute()
Return the value of the attribute "marginheight". |
String |
getMarginWidthAttribute()
Return the value of the attribute "marginwidth". |
String |
getNameAttribute()
Return the value of the attribute "name". |
String |
getNoResizeAttribute()
Return the value of the attribute "noresize". |
String |
getOnLoadAttribute()
Return the value of the attribute "onload". |
String |
getScrollingAttribute()
Return the value of the attribute "scrolling". |
String |
getSrcAttribute()
Return the value of the attribute "src". |
void |
setAttributeValue(String namespaceURI,
String qualifiedName,
String attributeValue)
Set the value of the specified attribute. |
void |
setNameAttribute(String name)
Set the value of the "name" attribute. |
void |
setSrcAttribute(String attribute)
Set the value of the "src" attribute. |
Methods inherited from class com.gargoylesoftware.htmlunit.html.StyledElement |
---|
getClassAttribute, getIdAttribute, getStyleAttribute, getTitleAttribute, isRenderedVisible |
Methods inherited from class com.gargoylesoftware.htmlunit.html.DomNamespaceNode |
---|
getLocalName, getNamespaceURI, getPrefix, getQualifiedName, setPrefix |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected BaseFrame(String namespaceURI, String qualifiedName, HtmlPage page, Map attributes)
namespaceURI
- the URI that identifies an XML namespace.qualifiedName
- The qualified name of the element type to instantiatepage
- The HtmlPage that contains this element.attributes
- the initial attributesMethod Detail |
---|
public final String getLongDescAttribute()
public final String getNameAttribute()
public final void setNameAttribute(String name)
name
- The new window name.public final String getSrcAttribute()
public final String getFrameBorderAttribute()
public final String getMarginWidthAttribute()
public final String getMarginHeightAttribute()
public final String getNoResizeAttribute()
public final String getScrollingAttribute()
public final String getOnLoadAttribute()
public Page getEnclosedPage()
getEnclosedWindow().getEnclosedPage()
.
WebWindow.getEnclosedPage()
public WebWindow getEnclosedWindow()
public final void setSrcAttribute(String attribute)
attribute
- The new valuepublic final void setAttributeValue(String namespaceURI, String qualifiedName, String attributeValue)
setAttributeValue
in class HtmlElement
namespaceURI
- the URI that identifies an XML namespace.qualifiedName
- The qualified name of the attributeattributeValue
- The value of the attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |