Class mozile.edit.InsertionPoint

Object
   |
   +--mozile.edit.InsertionPoint

class mozile.edit.InsertionPoint

Defined in InsertionPoint.js


Constructor Summary
mozile.edit.InsertionPoint ()
            An insertion point is the pair of either a) a text node and an offset within the text, or b) an element and an offset among its child nodes.
 
Method Summary
 String charAt()
           If the IP is inside a text node, get the character at the index.
 Void extend()
           Extends the selection to the IP.
 Node getNode()
           Gets the current node.
 Integer getOffset()
           Gets the offset in the current node.
 Boolean next(<Boolean> extraStep, <Element> container)
           Sets the node and offset to the next insertion point.
 Boolean previous(<Boolean> extraStep, <Element> container)
           Sets the node and offset to the previous insertion point.
 Boolean seek(<Integer> direction, <Boolean> extraStep, <Element> container)
           Sets the node and offset to the next insertion point.
 Void seekNode(<Integer> direction, <Boolean> extraStep, <Element> container)
           Seeks the next node which allows text to be inserted.
 Void select()
           Collapses the selection to the current IP.
 String toString()
           Returns a string representation of the IP.

Constructor Detail

mozile.edit.InsertionPoint

mozile.edit.InsertionPoint()

Method Detail

charAt

String charAt()

extend

Void extend()

getNode

Node getNode()

getOffset

Integer getOffset()

next

Boolean next(<Boolean> extraStep, <Element> container)

previous

Boolean previous(<Boolean> extraStep, <Element> container)

seek

Boolean seek(<Integer> direction, <Boolean> extraStep, <Element> container)

seekNode

Void seekNode(<Integer> direction, <Boolean> extraStep, <Element> container)

select

Void select()

toString

String toString()


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