Class mozile.dom.InternetExplorerSelection

Object
   |
   +--mozile.dom.InternetExplorerSelection

class mozile.dom.InternetExplorerSelection

Defined in InternetExplorerSelection.js


Field Summary
 Node anchorNode
          The node in wich the selection begins.
 Integer anchorOffset
          The number of characters that the selection's anchor is offset within the ancherNode.
 Node focusNode
          The node in which the selection ends.
 Integer focusOffset
          The number of characters that the selection's focus is offset within the focusNode.
 mozile.edit.InsertionPoint getInsertionPoint
          Create a new insertion point using the selection's focus.
 Boolean isCollapsed
          A boolean indicating whether the selection's start and end points are at the same position.
 Integer rangeCount
          The number of ranges in the selection.
 Void restore
          Takes a stored range object and creates a new range with the same properties.
 Void scroll
          Scroll the window to the current selection.
 Object store
          Store the details about this range in an object which can be used to restore the range.
 
Constructor Summary
mozile.dom.InternetExplorerSelection ()
            Selection object, based on the mozilla implementation.
 
Method Summary
 Void addRange(<Range> range)
           A range object that will be added to the selection.
 Void collapse(parentNode, offset)
           Collapses the current selection to a single point.
 Void collapseToEnd()
           Moves the anchor of the selection to the same point as the focus.
 Void collapseToStart()
           Moves the focus of the selection to the same point as the anchor.
 Boolean containsNode(<Node> aNode, <Boolean> aPartlyContained)
           NOT IMPLEMENTED.
 Void deleteFromDocument()
           Deletes the selection's content from the document.
 Void extend(<Node> parentNode, <Integer> offset)
           Moves the focus of the selection to a specified point.
 Range getRangeAt(<Integer> index)
           Returns a range object representing one of the ranges currently selected
 Void removeAllRanges()
           Removes all ranges from the selection.
 Void removeRange(<Range> range)
           Removes a range from the selection.
 Void selectAllChildren(<Node> parentNode)
           Adds all the children of the specified node to the selection.
 Void selectionLanguageChange()
           NOT IMPLEMENTED.
 String toString()
           Returns a string currently being represented by the selection object, i.e.

Field Detail

anchorNode

Node anchorNode

anchorOffset

Integer anchorOffset

focusNode

Node focusNode

focusOffset

Integer focusOffset

getInsertionPoint

mozile.edit.InsertionPoint getInsertionPoint

isCollapsed

Boolean isCollapsed

rangeCount

Integer rangeCount

restore

Void restore

scroll

Void scroll

store

Object store

Constructor Detail

mozile.dom.InternetExplorerSelection

mozile.dom.InternetExplorerSelection()

Method Detail

addRange

Void addRange(<Range> range)

collapse

Void collapse(parentNode, offset)

collapseToEnd

Void collapseToEnd()

collapseToStart

Void collapseToStart()

containsNode

Boolean containsNode(<Node> aNode, <Boolean> aPartlyContained)

deleteFromDocument

Void deleteFromDocument()

extend

Void extend(<Node> parentNode, <Integer> offset)

getRangeAt

Range getRangeAt(<Integer> index)

removeAllRanges

Void removeAllRanges()

removeRange

Void removeRange(<Range> range)

selectAllChildren

Void selectAllChildren(<Node> parentNode)

selectionLanguageChange

Void selectionLanguageChange()

toString

String toString()


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