|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--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. |
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()
Method Detail |
Void activate(event, enhance)
Void checkForEnhance(auto)
Void editPage()
Void enhancePage()
String getSharedData(<String> attribute)
attribute
- The attribute name.
Boolean mozileActivateOnFocus()
Boolean mozileDefined()
Boolean mozileEnhanced()
Boolean mozileIsEditable()
Void preloadInterfaces()
Boolean safeEval(requestCode)
String setSharedData(<String> attribute, <String> value)
attribute
-
value
-
Void startEditing()
Void stopEditing()
Void update(event)
Void watchSharedData()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |