Class Mozile

Object
   |
   +--Mozile

class Mozile

Defined in core.js


Field Summary
 Object aboutInterface
          Mozile - About Interface - Mozile's about interface box element.
 Object acceleratorList
          Mozile - Accelerator List - An array containing all of the keyboard shortcuts (accelerators) for Mozile commands.
 Object changesSaved
          Mozile - Changes Saved - This is true after any of the output methods (documentToXML, etc.) have been called, and false after any other command.
 Object clipboard
          
 Object commandList
          Mozile - Command List - An array containing all of the commands (but not the command lists) registered with this Mozile object.
 Object currentEditor
          Mozile - Current Editor - When an editor takes the focus, currentEditor is set to its root element.
 Object debugLevel
          Mozile - Debug Level - An integer indicating how verbose debugging should be.
 Object editorList
          Mozile - Editor List - An array containing entries for every editor in the document.
 Object extension
          Mozile - Extension - This will be set to true by the Mozile Extension if the user has used the Mozile Extension to enhance editing on this page.
 Object firstToolbarShow
          Mozile - First Toolbar Show - A flag which is "true" if the Mozile toolbar has never been shown (i.e.
 Object keyboardShortcuts
          Mozile - Keyboard Shortcuts - A Boolean value.
 Object keyCounter
          Mozile - Key Counter - Counts the number of keypresses which lead to character insertion.
 Object lastFocusNode
          Mozile - Last Focus Node - Stores the last focused node.
 Object lastIP
          Mozile - Last IP - Stores information about the last insertion point.
 Object linkList
          Mozile - Link List - An array containing the id's of all the links which have been loaded using this.loadLink().
 Object maxKeyCount
          Mozile - Max Key Count - When keyCounter > maxKeyCount the state of the document is stored.
 Object messageInterface
          Mozile - Message Interface - Mozile's message interface box element.
 Object mode
          Mozile - Mode - The mode controls which tools are used to manipulate the document.
 Object moduleList
          Mozile - Module List - An array containing all the loaded modules and their configuration arrays.
 Object namespace
          Mozile - Namespace - A proper namespace for the document.
 Object operatingSystem
          Mozile - Operating System - Mozile checks the UserAgent string for the browser, and tries to determine what operating system the browser is running under.
 Object root
          Mozile - Root - The root directory for this Mozile installation.
 Object saveConfig
          Mozile - Save Config - The array of save options which is actually used to save the document.
 Object saveInterface
          Mozile - Save Interface - Mozile's save interface box element.
 Object saveList
          Mozile - Save List - An array containing entries for every save method available, the default method, and the user's custom method.
 Object scriptList
          Mozile - Script List - An array containing the id's of all the scripts which have been loaded using this.loadScript().
 Object sourceInterface
          Mozile - Source Interface - Mozile's source interface box element.
 Object statusbar
          Mozile - Statusbar - Mozile's status bar element.
 Object styleList
          Mozile - Style List - An array containing the id's of all the style elements which have been added to the document by Mozile.
 Object styleSheet
          Mozile - Style Sheet - The CSSStyleSheet object which is manipulated to add the XBL bindings which control the Mozile toolbar and the Mozile editors.
 Object toolbar
          Mozile - Toolbar - Mozile's toolbar element.
 Object toolbarPosition
          Mozile - Toolbar Position - Determines how the toolbar is positioned using CSS.
 Object toolbarUpdateFrequency
          Mozile - Toolbar Update - An integer specifying how often the toolbar should update.
 Object undoCounter
          Mozile - Undo Counter - An integer which tracks the current position in the undoStack.
 Object undoStack
          Mozile - Undo Stack - An array which contains stored states for the document.
 Object version
          Mozile - Version - The version of the Mozile Core code.
 
Constructor Summary
Mozile (optionsString)
            Mozile Object - Creates the Mozile object, which is used for almost all of Mozile's functionality.
 
Method Summary
 Object addStyleSheet()
           Mozile - Add Style Sheet - Inserts a style element in the document, and grabs the CSSStyleSheet object associated with the new element.
 Object checkRequirements(versionString, requirements)
           Mozile - Check Requirements - Check to see if a given version string meets the requirements specified in a requirement string (like a configuration string).
 Object cleanUp(element)
           Mozile - Clean Up - Removes all traces of Mozile in the document.
 Object commandIsRegistered(id)
           Mozile - Command Is Registered - Checks to see if a command with the given id has been registered.
 Object content()
           Mozile - Content - Returns the string of Mozile's content, depending on the settings in the Mozile.saveConfig array.
 Object createCommand(configString)
           Mozile - Create Command - This method creates a Mozile command object from a configuration string.
 Object createEditor(id, options)
           Mozile - Create Editor - Creates a Mozile editor in the document using its id.
 Object createEditors(selector, options)
           Mozile - Create Editors - Creates multiple Mozile editors in the document, using a CSS selector.
 Object createToolbar()
           Mozile - Create Toolbar - Does all the work required to add the Mozile toolbar to the current document.
 Object debug(details, level, message)
           Mozile Debug - A basic debugging tool.
 Object deletion(direction)
           Mozile - Delete - Deletes the current selection, or everything between the current and the previous insertion points.
 Object doCopy()
           Mozile - Do Copy - Copy the current selection to system clipboard.
 Object documentToHTML()
           Mozile - Document To HTML - Extract the contents of the document as HTML, first cleaning up any mess that Mozile has made.
 Object documentToXML()
           Mozile - Document To XML - Extract the contents of the document as XML, first cleaning up any mess that Mozile has made.
 Object doCut()
           Mozile - Do Cut - Cut the current selection to system clipboard.
 Object doPaste()
           Mozile - Do Paste - Paste from clipboard, replacing selectin if any.
 Object editorToHTML()
           Mozile - Editor To HTML - Extract the contents of the current editor as HTML, first cleaning up any mess that Mozile has made.
 Object editorToXML()
           Mozile - Editor To XML - Extract the contents of the current editor as XML, first cleaning up any mess that Mozile has made.
 Object executeCommand(id, event)
           Mozile - Execute Command - Calls the command() method of the command object corresponding to the given id.
 Object getDocument()
           Mozile - Get Document - Returns the Document object for the current Mozile document.
 Object getSelection()
           Mozile - Get Selection - Returns the Selection object for the current Mozile document.
 Object hideAboutInterface()
           Mozile - Hide About Interface - Shows the About interface, by setting "collapsed" to true, and setting height and width values to zero.
 Object hideCaret()
           Mozile - Hide Caret - Deactivates the editing caret.
 Object hideMessageInterface()
           Mozile - Hide Message Interface - Shows the Message interface, by setting "collapsed" to true, and setting height and width values to zero.
 Object hideSaveInterface()
           Mozile - Hide Save Interface - Shows the Save interface, by setting "collapsed" to true, and setting height and width values to zero.
 Object hideSourceInterface()
           Mozile - Hide Source Interface - Shows the Source interface, by setting "collapsed" to true, and setting height and width values to zero.
 Object hideToolbar()
           Mozile - Hide Toolbar - Hides the Mozile toolbar.
 Object initializeToolbar()
           Mozile - Initialize Toolbar - Does some basic setup on the toolbar, which can't be done until after all modules have loaded.
 Object insertFragment(fragment)
           Mozile - Insert Fragment - Inserts all the children of a document fragment or an element at the current selection index.
 Object insertString(string)
           Mozile - Insert String - Inserts a string at the current selection index.
 Object loadLink(href, id)
           Mozile - Load Link - Creates an X/HTML link element, at the appropriate place in the document, which loads the CSS file referred to by "src".
 Object loadModule(configString)
           Mozile - Load Module - Loads a module into the document.
 Object loadScript(src, id)
           Mozile - Load Script - Creates an X/HTML script element, at the appropriate place in the document, which loads the JavaScript file referred to by "src".
 Object makeDocumentEditable(options)
           Mozile - Make Document Editable - Makes the entire document editable.
 Object moduleIsLoaded(moduleName, requirements)
           Mozile - Module Is Loaded- Checks to see if the given module has been loaded.
 Object moveToolbar()
           Mozile - Move Toolbar - Centres the Mozile toolbar and statusbar in the window, by calculating the proper size of the CSS "left" property.
 Object open(url)
           Mozile - Open - Opens a new window from the current Mozile document.
 Object parseConfig(configString)
           Mozile - Parse Config - Parses a configuration string into a configuration array.
 Object parseOptions(optionString)
           Mozile - Parse Options - Parses an option string into an option array.
 Object registerCommand(command)
           Mozile - Register Command - Registers a command or command list object, adding it to the this.commandList array.
 Object registerEditor(element)
           Mozile - Register Editor - Adds an editor's root node to the this.editorList.
 Object registerModule(moduleName, versionString)
           Mozile - Register Module - Registers the version of a module with the moduleList.
 Object restoreSelection(selectionArray)
           Mozile - Restore Selection - Restores the selection using the output from this.storeSelection.
 Object restoreState(index)
           Mozile - Restore State - Replaces the contents of all editors in the document with their states as recoreded at a given index of the undoStack.
 Object save()
           Mozile - Save - This function sets the Mozile.saveConfig property and calls the appropriate save function from Mozile.saveList: either "default" or "custom".
 Object saveAs()
           Mozile - Save As - Opens Mozile's Save As dialog.
 Object saveToDialog()
           Mozile Save To Dialog - This is the most basic Mozile save method.
 Object saveToFile()
           Mozile - Save To File - Using the configuration details in the Mozile.saveConfig array, save the current document to a file on the local system.
 Object seekIP(direction, startNode, startOffset, firstNode)
           Mozile - Seek Insertion Point - Finds the next (or previous) insertion point, starting at a given text node and offset.
 Object seekTextNode(direction, startNode)
           Mozile - Seek Text Node - Finds the next (or previous) text node which either has CSS white-space="pre" or contains some non-white-space characters.
 Object setCurrentEditor(element)
           Mozile - Set Current Editor - Sets the this.currentEditor to the given element.
 Object showAboutInterface()
           Mozile - Show About Interface - Shows the About interface, by setting "collapsed" to false, and setting height and width values.
 Object showCaret()
           Mozile - Show Caret - Activates the editing caret.
 Object showMessageInterface()
           Mozile - Show Message Interface - Shows the Message interface, by setting "collapsed" to false, and setting height and width values.
 Object showSaveInterface()
           Mozile - Show Save Interface - Shows the Save interface, by setting "collapsed" to false, and setting height and width values.
 Object showSourceInterface()
           Mozile - Show Source Interface - Shows the Source interface, by setting "collapsed" to false, and setting position values.
 Object showToolbar()
           Mozile - Show Toolbar - Shows (unhides) the Mozile toolbar.
 Object splitBlock()
           Mozile - Split Block - Splits the current block in two, creating a new block after the old one in the process.
 Object status(details, level, message)
           Mozile - Status - Sets the content of the Mozile statusbar and enters a special kind of debugging message.
 Object storeSelection()
           Mozile - Store Selection - Store the selection in a recoverable form.
 Object storeState(command)
           Mozile - Store State - This is the stub of a command used in the UndoRedo module.
 void testAlert()
          
 Object testFunction()
          
 Object unloadLink(id)
           Mozile - Unload Link - Removes all X/HTML links tags which file referred to by "id".
 Object unloadScript(id)
           Mozile - Unload Script - Removes all X/HTML script tags with the given id.
 Object unregisterCommand(id)
           Mozile - Unregister Command - Unregisters a command or command list object by removing it from the commandList array.
 Object unregisterModule(moduleName)
           Mozile - Unregister Module - Removes the given module from the moduleList.
 Object updateToolbar()
           Mozile - Update Toolbar - Updates all of the commands in the commandList so that they will reflect the current selection.

Field Detail

aboutInterface

Object aboutInterface

acceleratorList

Object acceleratorList

changesSaved

Object changesSaved

clipboard

Object clipboard

commandList

Object commandList

currentEditor

Object currentEditor

debugLevel

Object debugLevel

editorList

Object editorList

extension

Object extension

firstToolbarShow

Object firstToolbarShow

keyboardShortcuts

Object keyboardShortcuts

keyCounter

Object keyCounter

lastFocusNode

Object lastFocusNode

lastIP

Object lastIP

linkList

Object linkList

maxKeyCount

Object maxKeyCount

messageInterface

Object messageInterface

mode

Object mode

moduleList

Object moduleList

namespace

Object namespace

operatingSystem

Object operatingSystem

root

Object root

saveConfig

Object saveConfig

saveInterface

Object saveInterface

saveList

Object saveList

scriptList

Object scriptList

sourceInterface

Object sourceInterface

statusbar

Object statusbar

styleList

Object styleList

styleSheet

Object styleSheet

toolbar

Object toolbar

toolbarPosition

Object toolbarPosition

toolbarUpdateFrequency

Object toolbarUpdateFrequency

undoCounter

Object undoCounter

undoStack

Object undoStack

version

Object version

Constructor Detail

Mozile

Mozile(optionsString)

Method Detail

addStyleSheet

Object addStyleSheet()

checkRequirements

Object checkRequirements(versionString, requirements)

cleanUp

Object cleanUp(element)

commandIsRegistered

Object commandIsRegistered(id)

content

Object content()

createCommand

Object createCommand(configString)

createEditor

Object createEditor(id, options)

createEditors

Object createEditors(selector, options)

createToolbar

Object createToolbar()

debug

Object debug(details, level, message)

deletion

Object deletion(direction)

doCopy

Object doCopy()

documentToHTML

Object documentToHTML()

documentToXML

Object documentToXML()

doCut

Object doCut()

doPaste

Object doPaste()

editorToHTML

Object editorToHTML()

editorToXML

Object editorToXML()

executeCommand

Object executeCommand(id, event)

getDocument

Object getDocument()

getSelection

Object getSelection()

hideAboutInterface

Object hideAboutInterface()

hideCaret

Object hideCaret()

hideMessageInterface

Object hideMessageInterface()

hideSaveInterface

Object hideSaveInterface()

hideSourceInterface

Object hideSourceInterface()

hideToolbar

Object hideToolbar()

initializeToolbar

Object initializeToolbar()

insertFragment

Object insertFragment(fragment)

insertString

Object insertString(string)

loadLink

Object loadLink(href, id)

loadModule

Object loadModule(configString)

loadScript

Object loadScript(src, id)

makeDocumentEditable

Object makeDocumentEditable(options)

moduleIsLoaded

Object moduleIsLoaded(moduleName, requirements)

moveToolbar

Object moveToolbar()

open

Object open(url)

parseConfig

Object parseConfig(configString)

parseOptions

Object parseOptions(optionString)

registerCommand

Object registerCommand(command)

registerEditor

Object registerEditor(element)

registerModule

Object registerModule(moduleName, versionString)

restoreSelection

Object restoreSelection(selectionArray)

restoreState

Object restoreState(index)

save

Object save()

saveAs

Object saveAs()

saveToDialog

Object saveToDialog()

saveToFile

Object saveToFile()

seekIP

Object seekIP(direction, startNode, startOffset, firstNode)

seekTextNode

Object seekTextNode(direction, startNode)

setCurrentEditor

Object setCurrentEditor(element)

showAboutInterface

Object showAboutInterface()

showCaret

Object showCaret()

showMessageInterface

Object showMessageInterface()

showSaveInterface

Object showSaveInterface()

showSourceInterface

Object showSourceInterface()

showToolbar

Object showToolbar()

splitBlock

Object splitBlock()

status

Object status(details, level, message)

storeSelection

Object storeSelection()

storeState

Object storeState(command)

testAlert

void testAlert()

testFunction

Object testFunction()

unloadLink

Object unloadLink(id)

unloadScript

Object unloadScript(id)

unregisterCommand

Object unregisterCommand(id)

unregisterModule

Object unregisterModule(moduleName)

updateToolbar

Object updateToolbar()


Documentation generated by JSDoc on Thu Feb 2 14:36:27 2006