|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.htmlunit.corejs.javascript.ScriptableObject
com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
com.gargoylesoftware.htmlunit.javascript.host.Node
com.gargoylesoftware.htmlunit.javascript.host.EventNode
com.gargoylesoftware.htmlunit.javascript.host.Element
com.gargoylesoftware.htmlunit.javascript.host.html.HTMLElement
com.gargoylesoftware.htmlunit.javascript.host.html.HTMLBodyElement
public class HTMLBodyElement
The JavaScript object "HTMLBodyElement".
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.gargoylesoftware.htmlunit.javascript.host.html.HTMLElement |
---|
HTMLElement.ProxyDomNode |
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from class com.gargoylesoftware.htmlunit.javascript.host.html.HTMLElement |
---|
BEHAVIOR_ID_CLIENT_CAPS, BEHAVIOR_ID_DOWNLOAD, BEHAVIOR_ID_HOMEPAGE |
Fields inherited from class com.gargoylesoftware.htmlunit.javascript.host.Node |
---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Fields inherited from class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject |
---|
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST |
Fields inherited from interface net.sourceforge.htmlunit.corejs.javascript.Scriptable |
---|
NOT_FOUND |
Constructor Summary | |
---|---|
HTMLBodyElement()
Creates a new instance. |
Method Summary | |
---|---|
void |
createEventHandlerFromAttribute(String attributeName,
String value)
Creates the event handler from the attribute value. |
String |
jsxGet_aLink()
Returns the value of the aLink attribute. |
String |
jsxGet_background()
Returns the value of the background attribute. |
String |
jsxGet_bgColor()
Returns the value of the bgColor attribute. |
String |
jsxGet_link()
Returns the value of the link attribute. |
HTMLElement |
jsxGet_offsetParent()
Returns this element's offsetParent. |
String |
jsxGet_text()
Returns the value of the text attribute. |
String |
jsxGet_vLink()
Returns the value of the vLink attribute. |
void |
jsxSet_aLink(String aLink)
Sets the value of the aLink attribute. |
void |
jsxSet_background(String background)
Sets the value of the background attribute. |
void |
jsxSet_bgColor(String bgColor)
Sets the value of the bgColor attribute. |
void |
jsxSet_link(String link)
Sets the value of the link attribute. |
void |
jsxSet_text(String text)
Sets the value of the text attribute. |
void |
jsxSet_vLink(String vLink)
Sets the value of the vLink attribute. |
void |
setDefaults(ComputedCSSStyleDeclaration style)
Callback method which allows different HTML element types to perform custom initialization of computed styles. |
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.host.Element |
---|
createAttributesObject, jsxFunction_getAttribute, jsxFunction_getElementsByTagNameNS, jsxFunction_hasAttribute, jsxFunction_removeAttribute, jsxFunction_selectNodes, jsxFunction_selectSingleNode, jsxGet_attributes, jsxGet_tagName |
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.SimpleScriptable |
---|
clone, defineFunctionProperties, defineProperty, equivalentValues, get, getBrowserVersion, getClassName, getDefaultValue, getPrototype, getScriptableFor, getStartingScope, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, hasInstance, initParentScope, makeScriptableFor, setCaseSensitive, setDomNode, setHtmlElement |
Methods inherited from class net.sourceforge.htmlunit.corejs.javascript.ScriptableObject |
---|
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, clear, containsKey, containsValue, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, entrySet, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypeOf, has, has, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, keySet, preventExtensions, put, put, put, putAll, putConst, putConstProperty, putProperty, putProperty, redefineProperty, remove, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size, values |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sourceforge.htmlunit.corejs.javascript.Scriptable |
---|
delete, delete, get, get, getClassName, getDefaultValue, getIds, getParentScope, getPrototype, has, has, hasInstance, put, put, setParentScope, setPrototype |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Constructor Detail |
---|
public HTMLBodyElement()
Method Detail |
---|
public void createEventHandlerFromAttribute(String attributeName, String value)
attributeName
- the attribute namevalue
- the valuepublic void setDefaults(ComputedCSSStyleDeclaration style)
setDefaults
in class HTMLElement
style
- the style to initializepublic HTMLElement jsxGet_offsetParent()
jsxGet_offsetParent
in class HTMLElement
undefined
when this node is
not attached or null
for body
.public String jsxGet_aLink()
public void jsxSet_aLink(String aLink)
aLink
- the value of the aLink attributepublic String jsxGet_background()
public void jsxSet_background(String background)
background
- the value of the background attributepublic String jsxGet_bgColor()
public void jsxSet_bgColor(String bgColor)
bgColor
- the value of the bgColor attributepublic String jsxGet_link()
public void jsxSet_link(String link)
link
- the value of the link attributepublic String jsxGet_text()
jsxGet_text
in class Element
public void jsxSet_text(String text)
text
- the value of the text attributepublic String jsxGet_vLink()
public void jsxSet_vLink(String vLink)
vLink
- the value of the vLink attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |