public abstract class BaseFrame extends StyledElement
HtmlElement.ChildElementsIterator, HtmlElement.MapEntryWrappingIterator
DomNode.ChildIterator, DomNode.DescendantElementsIterator
ATTRIBUTE_NOT_DEFINED, ATTRIBUTE_VALUE_EMPTY, TAB_INDEX_OUT_OF_BOUNDS
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
Modifier | Constructor and Description |
---|---|
protected |
BaseFrame(String namespaceURI,
String qualifiedName,
HtmlPage page,
Map attributes)
Create an instance of BaseFrame
|
Modifier and Type | Method and Description |
---|---|
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.
|
getClassAttribute, getIdAttribute, getStyleAttribute, getTitleAttribute, isRenderedVisible
addHtmlAttributeChangeListener, appendChildIfNoneExists, assertNotEmpty, blur, cloneDomNode, cloneNode, fireEvent, fireEvent, fireHtmlAttributeAdded, fireHtmlAttributeRemoved, fireHtmlAttributeReplaced, focus, getAttribute, getAttributeEntriesIterator, getAttributeNS, getAttributeValue, getChildElementsIterator, getEnclosingElement, getEnclosingForm, getEnclosingFormOrDie, getEventHandler, getHtmlElementById, getHtmlElementsByAttribute, getHtmlElementsByTagName, getHtmlElementsByTagNames, getId, getNodeName, getNodeType, getOneHtmlElementByAttribute, getTabIndex, getTagName, hasAttribute, hasAttributeNS, hasAttributes, hasHtmlElementWithId, isAttributeDefined, isEmptyXmlTagExpanded, isSubmittableByEnter, keyDown, keyDown, mouseDown, mouseDown, mouseMove, mouseMove, mouseOut, mouseOut, mouseOver, mouseOver, mouseUp, mouseUp, notImplemented, preventDefault, printOpeningTagContentAsXml, printXml, removeAttribute, removeAttributeNS, removeChild, removeEventHandler, removeHtmlAttributeChangeListener, rightClick, rightClick, setAttribute, setAttributeNS, setAttributeValue, setEventHandler, setEventHandler, setId, toString, type, type, type, type
getLocalName, getNamespaceURI, getPrefix, getQualifiedName, setPrefix
addDomChangeListener, addPropertyChangeListener, appendChild, appendDomChild, asText, asXml, fireNodeAdded, fireNodeDeleted, firePropertyChange, getAllHtmlChildElements, getByXPath, getChildIterator, getChildrenAsText, getEndColumnNumber, getEndLineNumber, getFirstByXPath, getFirstChild, getFirstDomChild, getLastChild, getLastDomChild, getLog, getNativePage, getNextDomSibling, getNextSibling, getNodeValue, getPage, getParentDomNode, getParentNode, getPreviousDomSibling, getPreviousSibling, getReadyState, getScriptObject, getStartColumnNumber, getStartLineNumber, insertBefore, isAncestorOf, isTrimmedText, notifyIncorrectness, onAddedToPage, onAllChildrenAddedToPage, printChildrenAsXml, reduceWhitespace, remove, removeAllChildren, removeDomChangeListener, removePropertyChangeListener, replace, setNextSibling, setNodeValue, setParentNode, setPreviousSibling, setReadyState, setScriptObject
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 attributespublic 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 attributeCopyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.