mozdev.org

Mozile (xhtml editing in your browser)    

resources:
MozileExtension

Class MozileExtension

Object
   |
   +--MozileExtension

class MozileExtension

Defined in extension.js


Constructor Summary
MozileExtension ()
            The object which controls the Mozile Extension.
 
Method Summary
 Void activate(event, enhance)
           Checks the state of mozile editing, and upgrades it.
 Void checkForEnhance(auto)
           Check to see if Mozile should enhance the page.
 Void editPage()
           Inserts the "mozile.js" configuration file into the page, much like the code in "mozile.js" does itself.
 Void enhancePage()
           Overrides functions in the document with functions from the extension.
 String getSharedData(<String> attribute)
           Get an attribute from the core.js script tag.
 Void loaded(event)
           Performs post load actions.
 Boolean mozileActivateOnFocus()
           True if the "mozile" object in the target document has option "activateOnFocus" set to true, and false otherwise.
 Boolean mozileDefined()
           True if the "mozile" object is defined in the target document, and false otherwise.
 Boolean mozileEnhanced()
           True if the "mozile" object has been enhanced, and false otherwise.
 Boolean mozileIsEditable()
           True if the "mozile" object in the target document isEditable(), and false otherwise.
 Void preloadInterfaces()
           Loads the mozileInterfaces on the "mozileInterfaces" list into the document, then tries to hide them or delete them.
 Boolean safeEval(requestCode)
           Checks for changes to the attributes.
 String setSharedData(<String> attribute, <String> value)
           Set an attribute from the core.js script tag.
 Void startEditing()
           Tells the Mozile editor in the page to start editing.
 Void stopEditing()
           Tells the Mozile editor in the page to stop editing.
 Void update(event)
           A listener for focus, click, and keydown events.
 Void watchSharedData()
           Checks for changes to the attributes.

Constructor Detail

MozileExtension

MozileExtension()

Method Detail

activate

Void activate(event, enhance)

checkForEnhance

Void checkForEnhance(auto)

editPage

Void editPage()

enhancePage

Void enhancePage()

getSharedData

String getSharedData(<String> attribute)

loaded

Void loaded(event)

mozileActivateOnFocus

Boolean mozileActivateOnFocus()

mozileDefined

Boolean mozileDefined()

mozileEnhanced

Boolean mozileEnhanced()

mozileIsEditable

Boolean mozileIsEditable()

preloadInterfaces

Void preloadInterfaces()

safeEval

Boolean safeEval(requestCode)

setSharedData

String setSharedData(<String> attribute, <String> value)

startEditing

Void startEditing()

stopEditing

Void stopEditing()

update

Void update(event)

watchSharedData

Void watchSharedData()


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.