|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mozilla.javascript.ScriptableObject com.gargoylesoftware.htmlunit.javascript.SimpleScriptable com.gargoylesoftware.htmlunit.javascript.host.NodeImpl com.gargoylesoftware.htmlunit.javascript.host.HTMLElement com.gargoylesoftware.htmlunit.javascript.host.HTMLFrameElement
public class HTMLFrameElement
A JavaScript object for a HtmlFrame
and HtmlInlineFrame
.
Field Summary |
---|
Fields inherited from class org.mozilla.javascript.ScriptableObject |
---|
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST |
Fields inherited from interface org.mozilla.javascript.Scriptable |
---|
NOT_FOUND |
Constructor Summary | |
---|---|
HTMLFrameElement()
Create an instance. |
Method Summary | |
---|---|
Document |
jsxGet_contentDocument()
Returns the document the frame contains, if any |
Window |
jsxGet_contentWindow()
Returns the window the frame contains, if any |
java.lang.String |
jsxGet_name()
Return the value of the name attribute |
java.lang.Object |
jsxGet_onload()
Get the onload event handler for this element. |
java.lang.String |
jsxGet_src()
Return the value of url loaded in the frame |
void |
jsxSet_name(java.lang.String name)
Set the value of the name attribute. |
void |
jsxSet_onload(java.lang.Object eventHandler)
Set the onload event handler for this element. |
void |
jsxSet_src(java.lang.String src)
Set the value of the source of the contained frame. |
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.host.NodeImpl |
---|
executeEvent, fireEvent, getEventHandler, jsxFunction_addEventListener, jsxFunction_appendChild, jsxFunction_attachEvent, jsxFunction_cloneNode, jsxFunction_detachEvent, jsxFunction_hasChildNodes, jsxFunction_insertBefore, jsxFunction_isSameNode, jsxFunction_removeChild, jsxFunction_removeEventListener, jsxFunction_replaceChild, jsxGet_childNodes, jsxGet_firstChild, jsxGet_lastChild, jsxGet_nextSibling, jsxGet_nodeName, jsxGet_nodeType, jsxGet_nodeValue, jsxGet_parentNode, jsxGet_previousSibling, jsxSet_nodeValue, setEventHandler |
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.SimpleScriptable |
---|
get, getBooleanArg, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getHtmlElementOrDie, getHtmlElementOrNull, getIntArg, getObjectArg, getStringArg, makeScriptableFor, setHtmlElement |
Methods inherited from class org.mozilla.javascript.ScriptableObject |
---|
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.mozilla.javascript.Scriptable |
---|
delete, delete, get, get, getClassName, getDefaultValue, getIds, getParentScope, getPrototype, has, has, hasInstance, put, put, setParentScope, setPrototype |
Constructor Detail |
---|
public HTMLFrameElement()
Method Detail |
---|
public Document jsxGet_contentDocument()
null
if no document is containedpublic Window jsxGet_contentWindow()
public java.lang.String jsxGet_name()
public java.lang.Object jsxGet_onload()
org.mozilla.javascript.Function
public java.lang.String jsxGet_src()
public void jsxSet_name(java.lang.String name)
name
- The new value.public void jsxSet_onload(java.lang.Object eventHandler)
eventHandler
- the new handlerpublic void jsxSet_src(java.lang.String src)
src
- The new value.
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |