Module:libdomPackage:org.milescript.domParent:ObjectGenerated by MilescriptCompiler (Copyright 2008, Point5u LLC.)

org.milescript.dom.HTMLElement

Inheritance : Object

Constructors

Signature
public HTMLElement()

Methods

NameSignature
addBehaviorvoid addBehavior(String s)
addEventListenervoid addEventListener(String type, Object handler, boolean bool)
appendChildvoid appendChild(HTMLElement childToAppend)
attachEventvoid attachEvent(String type, Object handler)
cloneNodeHTMLElement cloneNode(boolean bool)
detachEventvoid detachEvent(String type, Object handler)
dispatchEventvoid dispatchEvent(Event e)
fireEventvoid fireEvent(String type)
fireEventvoid fireEvent(String type, Event e)
focusvoid focus()
getAttributeString getAttribute(String s)
getAttributeNSString getAttributeNS(String ns, String s)
getElementsByTagNameArray<HTMLElement> getElementsByTagName(String tagName)
hasAttributesboolean hasAttributes()
hasChildNodesboolean hasChildNodes()
insertBeforevoid insertBefore(HTMLElement node, HTMLElement ref)
removeChildvoid removeChild(HTMLElement childToAppend)
removeEventListenervoid removeEventListener(String type, Object handler, boolean bool)
replaceChildvoid replaceChild(HTMLElement newChild, HTMLElement oldChild)
selectvoid select()
setAttributevoid setAttribute(String s, boolean v)
setAttributevoid setAttribute(String s, Literal v)
setAttributeNSvoid setAttributeNS(String ns, String s, boolean v)
setAttributeNSvoid setAttributeNS(String ns, String s, Literal v)

Properties

NameTypeComment
attributes
core.Array<org.milescript.dom.Attribute>
childNodes
core.Array<org.milescript.dom.HTMLElement>
className
core.String
clientHeight
core.int
clientWidth
core.int
embeds
core.Array<org.milescript.dom.HTMLElement>
firstChild
org.milescript.dom.HTMLElement
id
core.String
innerHTML
core.String
lastChild
org.milescript.dom.HTMLElement
nextSibling
org.milescript.dom.HTMLElement
nodeName
core.String
objectReference
core.Object
offsetHeight
core.int
offsetLeft
core.int
offsetParent
org.milescript.dom.HTMLElement
offsetTop
core.int
offsetWidth
core.int
onblur
core.Function
onclick
core.Function
ondblclick
core.Function
onkeyup
core.Function
onload
core.Function
onmousedown
core.Function
onmousemove
core.Function
onmouseout
core.Function
onmouseover
core.Function
onmouseup
core.Function
onresize
core.Function
parentElement
org.milescript.dom.HTMLElement
parentNode
org.milescript.dom.HTMLElement
previousSibling
org.milescript.dom.HTMLElement
prototype
core.Object
scrollHeight
core.int
scrollLeft
core.int
scrollTop
core.int
scrollWidth
core.int
style
org.milescript.dom.CSSStyle
tagName
core.String
title
core.String

Constructors

public HTMLElement()


Methods

addBehavior

void addBehavior(String s)

Parameters

NameTypeDescription
score.String

addEventListener

void addEventListener(String type, Object handler, boolean bool)

Parameters

NameTypeDescription
typecore.String
handlercore.Object
boolcore.boolean

appendChild

void appendChild(HTMLElement childToAppend)

Parameters

NameTypeDescription
childToAppendorg.milescript.dom.HTMLElement

attachEvent

void attachEvent(String type, Object handler)

Parameters

NameTypeDescription
typecore.String
handlercore.Object

cloneNode

HTMLElement cloneNode(boolean bool)

Returns
org.milescript.dom.HTMLElement

Parameters

NameTypeDescription
boolcore.boolean

detachEvent

void detachEvent(String type, Object handler)

Parameters

NameTypeDescription
typecore.String
handlercore.Object

dispatchEvent

void dispatchEvent(Event e)

Parameters

NameTypeDescription
eorg.milescript.javascript.Event

fireEvent

void fireEvent(String type)

Parameters

NameTypeDescription
typecore.String

fireEvent

void fireEvent(String type, Event e)

Parameters

NameTypeDescription
typecore.String
eorg.milescript.javascript.Event

focus

void focus()


getAttribute

String getAttribute(String s)

Returns
core.String

Parameters

NameTypeDescription
score.String

getAttributeNS

String getAttributeNS(String ns, String s)

Returns
core.String

Parameters

NameTypeDescription
nscore.String
score.String

getElementsByTagName

Array<HTMLElement> getElementsByTagName(String tagName)

Returns
core.Array<org.milescript.dom.HTMLElement>

Parameters

NameTypeDescription
tagNamecore.String

hasAttributes

boolean hasAttributes()

Returns
core.boolean

hasChildNodes

boolean hasChildNodes()

Returns
core.boolean

insertBefore

void insertBefore(HTMLElement node, HTMLElement ref)

Parameters

NameTypeDescription
nodeorg.milescript.dom.HTMLElement
reforg.milescript.dom.HTMLElement

removeChild

void removeChild(HTMLElement childToAppend)

Parameters

NameTypeDescription
childToAppendorg.milescript.dom.HTMLElement

removeEventListener

void removeEventListener(String type, Object handler, boolean bool)

Parameters

NameTypeDescription
typecore.String
handlercore.Object
boolcore.boolean

replaceChild

void replaceChild(HTMLElement newChild, HTMLElement oldChild)

Parameters

NameTypeDescription
newChildorg.milescript.dom.HTMLElement
oldChildorg.milescript.dom.HTMLElement

select

void select()


setAttribute

void setAttribute(String s, boolean v)

Parameters

NameTypeDescription
score.String
vcore.boolean

setAttribute

void setAttribute(String s, Literal v)

Parameters

NameTypeDescription
score.String
vcore.Literal

setAttributeNS

void setAttributeNS(String ns, String s, boolean v)

Parameters

NameTypeDescription
nscore.String
score.String
vcore.boolean

setAttributeNS

void setAttributeNS(String ns, String s, Literal v)

Parameters

NameTypeDescription
nscore.String
score.String
vcore.Literal

Module:libdomPackage:org.milescript.domParent:ObjectGenerated by MilescriptCompiler (Copyright 2008, Point5u LLC.)