mozdev.org

Mozile (xhtml editing in your browser)    

resources:
MozileEditor

Class MozileEditor

Object
   |
   +--MozileComponent
         |
         +--MozileEditor

class MozileEditor
extends MozileComponent

Defined in core.js


Constructor Summary
MozileEditor (<String> configString)
            Mozile Editor - Controls the manipulation of the document through the Selection object.
 
Method Summary
 Boolean deletion(<Integer> direction)
           Mozile Editor - Delete - Deletes the current selection.
 Integer getLastKeyCode()
           Get the keyCode of the last keypress.
 Node getLastNode()
           Get the last node edited.
 Integer getLastOffset()
           Get the offset from the last node edited.
 Object insertFragment(fragment)
           Mozile Editor - Insert Fragment - Inserts all the children of a document fragment or an element at the current selection index.
 Object insertString(string)
           Mozile Editor - Insert String - Inserts a string at the current selection index.
 Integer replaceAnchors(<Element> element)
           Replace all "a" nodes with copies named "mozileLinkReplacement".
 Integer restoreAnchors(<Element> element)
           Restore all "a" nodes that were replaced.
 Integer setLastKeyCode(<Integer> keyCode)
           Set the last node edited.
 Node setLastNode(<Node> node)
           Set the last node edited.
 Integer setLastOffset(<Integer> offset)
           Set the last node edited.
 Object splitBlock()
           Mozile Editor - Split Block - Splits the current block in two, creating a new block after the old one in the process.
 
Methods inherited from class MozileComponent
toString, getName, getConfigString, getOptions, getOption, setOption, _cleanOption
 

Constructor Detail

MozileEditor

MozileEditor(<String> configString)

Method Detail

deletion

Boolean deletion(<Integer> direction)

getLastKeyCode

Integer getLastKeyCode()

getLastNode

Node getLastNode()

getLastOffset

Integer getLastOffset()

insertFragment

Object insertFragment(fragment)

insertString

Object insertString(string)

replaceAnchors

Integer replaceAnchors(<Element> element)

restoreAnchors

Integer restoreAnchors(<Element> element)

setLastKeyCode

Integer setLastKeyCode(<Integer> keyCode)

setLastNode

Node setLastNode(<Node> node)

setLastOffset

Integer setLastOffset(<Integer> offset)

splitBlock

Object splitBlock()


Documentation generated by JSDoc on Wed Nov 1 15:11:15 2006

The mozile project can be contacted through the mailing list or the member list.
Copyright © 2000-2019. All rights reserved. Terms of Use & Privacy Policy.