Element Interface Reference

import "Element.idl";

Collaboration diagram for Element:

Collaboration graph
[legend]
List of all members.

Public Member Functions

DOMString getAttribute (in DOMString name)
void setAttribute (in DOMString name, in DOMString value) raises (DOMException)
void removeAttribute (in DOMString name) raises (DOMException)
Attr getAttributeNode (in DOMString name)
Attr setAttributeNode (in Attr newAttr) raises (DOMException)
Attr removeAttributeNode (in Attr oldAttr) raises (DOMException)
NodeList getElementsByTagName (in DOMString name)
DOMString getAttributeNS (in[ConvertNullToNullString] DOMString namespaceURI, in DOMString localName)
void setAttributeNS (in[ConvertNullToNullString] DOMString namespaceURI, in DOMString qualifiedName, in DOMString value) raises (DOMException)
void removeAttributeNS (in[ConvertNullToNullString] DOMString namespaceURI, in DOMString localName) raises (DOMException)
NodeList getElementsByTagNameNS (in[ConvertNullToNullString] DOMString namespaceURI, in DOMString localName)
Attr getAttributeNodeNS (in[ConvertNullToNullString] DOMString namespaceURI, in DOMString localName)
Attr setAttributeNodeNS (in Attr newAttr) raises (DOMException)
boolean hasAttribute (in DOMString name)
boolean hasAttributeNS (in[ConvertNullToNullString] DOMString namespaceURI, in DOMString localName)
void focus ()
void blur ()
void scrollIntoView (in[Optional] boolean alignWithTop)
Node insertAdjacentElement (in DOMString position, in Node element) raises (DOMException)
boolean contains (in Element element)
void scrollIntoViewIfNeeded (in[Optional] boolean centerIfNeeded)
void scrollByLines (in long lines)
void scrollByPages (in long pages)

Public Attributes

readonly attribute[ConvertNullStringTo=Null] DOMString tagName
readonly attribute CSSStyleDeclaration style
readonly attribute long offsetLeft
readonly attribute long offsetTop
readonly attribute long offsetWidth
readonly attribute long offsetHeight
readonly attribute Element offsetParent
readonly attribute long clientLeft
readonly attribute long clientTop
readonly attribute long clientWidth
readonly attribute long clientHeight
attribute long scrollLeft
attribute long scrollTop
readonly attribute long scrollWidth
readonly attribute long scrollHeight

Detailed Description

Definition at line 23 of file Element.idl.


Member Function Documentation

DOMString getAttribute ( in DOMString  name  ) 

void setAttribute ( in DOMString  name,
in DOMString  value 
) raises (DOMException)

void removeAttribute ( in DOMString  name  )  raises (DOMException)

Attr getAttributeNode ( in DOMString  name  ) 

Attr setAttributeNode ( in Attr  newAttr  )  raises (DOMException)

Attr removeAttributeNode ( in Attr  oldAttr  )  raises (DOMException)

NodeList getElementsByTagName ( in DOMString  name  ) 

DOMString getAttributeNS ( in DOMString  namespaceURI[ConvertNullToNullString],
in DOMString  localName 
)

void setAttributeNS ( in DOMString  namespaceURI[ConvertNullToNullString],
in DOMString  qualifiedName,
in DOMString  value 
) raises (DOMException)

void removeAttributeNS ( in DOMString  namespaceURI[ConvertNullToNullString],
in DOMString  localName 
) raises (DOMException)

NodeList getElementsByTagNameNS ( in DOMString  namespaceURI[ConvertNullToNullString],
in DOMString  localName 
)

Attr getAttributeNodeNS ( in DOMString  namespaceURI[ConvertNullToNullString],
in DOMString  localName 
)

Attr setAttributeNodeNS ( in Attr  newAttr  )  raises (DOMException)

boolean hasAttribute ( in DOMString  name  ) 

boolean hasAttributeNS ( in DOMString  namespaceURI[ConvertNullToNullString],
in DOMString  localName 
)

void focus (  ) 

void blur (  ) 

void scrollIntoView ( in boolean  alignWithTop[Optional]  ) 

Node insertAdjacentElement ( in DOMString  position,
in Node  element 
) raises (DOMException)

boolean contains ( in Element  element  ) 

void scrollIntoViewIfNeeded ( in boolean  centerIfNeeded[Optional]  ) 

void scrollByLines ( in long  lines  ) 

void scrollByPages ( in long  pages  ) 


Member Data Documentation

readonly attribute [ConvertNullStringTo=Null] DOMString tagName

Definition at line 27 of file Element.idl.

readonly attribute CSSStyleDeclaration style

Definition at line 63 of file Element.idl.

readonly attribute long offsetLeft

Definition at line 67 of file Element.idl.

readonly attribute long offsetTop

Definition at line 68 of file Element.idl.

readonly attribute long offsetWidth

Definition at line 69 of file Element.idl.

readonly attribute long offsetHeight

Definition at line 70 of file Element.idl.

readonly attribute Element offsetParent

Definition at line 71 of file Element.idl.

readonly attribute long clientLeft

Definition at line 72 of file Element.idl.

readonly attribute long clientTop

Definition at line 73 of file Element.idl.

readonly attribute long clientWidth

Definition at line 74 of file Element.idl.

readonly attribute long clientHeight

Definition at line 75 of file Element.idl.

attribute long scrollLeft

Definition at line 76 of file Element.idl.

attribute long scrollTop

Definition at line 77 of file Element.idl.

readonly attribute long scrollWidth

Definition at line 78 of file Element.idl.

readonly attribute long scrollHeight

Definition at line 79 of file Element.idl.


The documentation for this interface was generated from the following file:
Generated on Fri Feb 9 15:11:20 2007 for Web Kit DOM by  doxygen 1.5.1