Class mozile.dom.InternetExplorerRange

Object
   |
   +--mozile.dom.InternetExplorerRange

class mozile.dom.InternetExplorerRange

Defined in InternetExplorerRange.js


Field Summary
 Boolean collapsed
          A boolean indicating whether the range's start and end points are at the same position.
 Node commonAncestorContainer
          The deepest Node that contains the startContainer and endContainer Nodes.
 Node endContainer
          The Node within which the Range ends.
 Integer endOffset
          A number representing where in the endContainer the Range ends.
 Void restore
          Takes a stored range object and creates a new range with the same properties.
 Node startContainer
          The Node within which the Range starts.
 Integer startOffset
          A number representing where in the endContainer the Range starts.
 Object store
          Store the details about this range in an object which can be used to restore the range.
 
Constructor Summary
mozile.dom.InternetExplorerRange ()
            Range object, see http://www.w3.org/TR/DOM-Level-2-Traversal-Range/ranges.html
 
Method Summary
 Boolean _isBlock(<Node> node)
           Internet Explorer pads certain elements with an extra space at the end.
 Boolean _isChildless(<Node> node)
           Internet Explorer sets the length of certain elements which cannot have child nodes to 1.
 Range cloneContents()
           Returns a document fragment copying the nodes of a Range.
 Range cloneRange()
           Returns a Range object with boundary points identical to the cloned Range.
 Void collapse(<Boolean> toStart)
           Collapses the Range to one of its boundary points.
 Void compareBoundaryPoints(<Integer> how, <Range> sourceRange)
           NOT IMPLEMENTED.
 Void deleteContents()
           Removes the contents of a Range from the document.
 Void detach()
           Releases Range from use to improve performance.
 DocumentFragment extractContents()
           Moves contents of a Range from the document tree into a document fragment.
 Void insertNode(<Node> newNode)
           Insert a node at the start of a Range.
 Void selectNode(<Node> referenceNode)
           Sets the Range to contain the node and its contents.
 Void selectNodeContents(<Node> referenceNode)
           Sets the Range to contain the contents of a Node.
 Void setEnd(endNode, endOffset)
           Sets the end position of a Range.
 Void setEndAfter(<Node> referenceNode)
           Sets the end position of a Range relative to another Node.
 Void setEndBefore(<Node> referenceNode)
           Sets the end position of a Range relative to another Node.
 Void setStart(startNode, startOffset)
           Sets the start position of a Range If the startNode is a Node of type Text, Comment, or CDATASection, then startOffset is the number of characters from the start of startNode.
 Void setStartAfter(<Node> referenceNode)
           Sets the start position of a Range relative to another Node.
 Void setStartBefore(<Node> referenceNode)
           Sets the start position of a Range relative to another Node.
 Void surroundContents(<Node> newNode)
           Moves content of a Range into a new node.
 String toString()
           Returns the text of the Range.

Field Detail

collapsed

Boolean collapsed

commonAncestorContainer

Node commonAncestorContainer

endContainer

Node endContainer

endOffset

Integer endOffset

restore

Void restore

startContainer

Node startContainer

startOffset

Integer startOffset

store

Object store

Constructor Detail

mozile.dom.InternetExplorerRange

mozile.dom.InternetExplorerRange()

Method Detail

_isBlock

Boolean _isBlock(<Node> node)

_isChildless

Boolean _isChildless(<Node> node)

cloneContents

Range cloneContents()

cloneRange

Range cloneRange()

collapse

Void collapse(<Boolean> toStart)

compareBoundaryPoints

Void compareBoundaryPoints(<Integer> how, <Range> sourceRange)

deleteContents

Void deleteContents()

detach

Void detach()

extractContents

DocumentFragment extractContents()

insertNode

Void insertNode(<Node> newNode)

selectNode

Void selectNode(<Node> referenceNode)

selectNodeContents

Void selectNodeContents(<Node> referenceNode)

setEnd

Void setEnd(endNode, endOffset)

setEndAfter

Void setEndAfter(<Node> referenceNode)

setEndBefore

Void setEndBefore(<Node> referenceNode)

setStart

Void setStart(startNode, startOffset)

setStartAfter

Void setStartAfter(<Node> referenceNode)

setStartBefore

Void setStartBefore(<Node> referenceNode)

surroundContents

Void surroundContents(<Node> newNode)

toString

String toString()


Documentation generated by JSDoc on Wed Feb 20 13:25:28 2008