Class mozile

Object
   |
   +--mozile

class mozile

Nested Class Summary
<static class> mozile.Module
 
Field Summary
<static>  Object about
          Other Mozile information.
<static>  Object acknowledgements
          
<static>  String alternateSpace
          Specify a non-breaking space character to be used throughout.
<static>  Object browser
          Tools for dealing with the browser.
<static>  Object copyright
          
<static>  Object credits
          
<static>  Object debug
          Tools for debugging Mozile.
<static>  String defaultNS
          The default namespace is null.
<static>  Array deferrals
          An array of modules which have been required but had loading deferred.
<static>  Boolean deferRequirements
          Indicates whether module requirements should be deferred until mozile.loadDeferred() is called.
<static>  Object document
          
<static>  Object dom
          A collection of DOM classes and methods.
<static>  Object edit
          Editing tools.
<static>  String emptyToken
          The empty token is used when there is a text node which is only a place-holder inside an empty element.
<static>  Object enhance
          Mozilla enhancement tools.
<static>  Object event
          Tools for dealing with browser events.
<static>  Object filesep
          
<static>  Object gui
          Tools for displaying a graphical user interface.
<static>  String help
          When true, designMode will be used by Mozile in browsers that support it.
<static>  Object homepage
          
<static>  Object license
          
<static>  Object linesep
          
<static>  Object locale
          
<static>  Object os
          Tools for dealing with the operating system.
<static>  Boolean precompiled
          Indicates whether Mozile has been "compiled" into a single file.
<static>  Object rng
          Tools for parsing RelaxNG schemas and validating XML documents.
<static>  Object root
          
<static>  Object save
          Tools for saving Mozile results.
<static>  Integer updateInterval
          The default update interval in milliseconds.
<static>  Boolean useDesignMode
          When true, designMode will be used by Mozile in browsers that support it.
<static>  Object util
          A collection of utility functions.
<static>  Object version
          Set the version number.
<static>  Object window
          
<static>  Object xml
          A collection of XML functions.
<static>  Object xpath
          A collection of XPath functions.
   
Method Summary
<static> Object _nullFunction()
          
<static> Void alert(<String> message)
           Informs the user about a problem.
<static> String dumpError(object)
           Dumps information from error objects.
<static> Void editDocument(<Document> doc)
           Makes the whole document editable.
<static> Void editElement(elementOrId)
           Makes a single element editable.
<static> Void editElements(listOrValue, name)
           Makes a set of elements editable.
<static> Void enableEditing(<Boolean> rich)
           Makes all text nodes inside editable elements editable by adding default commands to mozile.edit.
<static> mozile.edit.State execCommand(<String> name, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10)
           Executes the named command with the given arguments.
<static> Object findModule(<String> moduleName)
           Finds an object in the "mozile" hierarchy, if it exists.
<static> String findRoot()
           Searches for a script tag with src like "mozile.js".
<static> String getAbsolutePath(<String> path, <String> root)
           Ensures that a path is absolute.
<static> String getDirectory(<String> path)
           Gets a directory from a path.
<static> Object getLocalization(<String> moduleName, bundleName, <String> locale)
           Loads a localization object for the given module, bundle, and locale.
<static> String getPath(<String> url)
           Strips non-path information from a URL.
<static> Boolean isPathAbsolute(<String> path)
           Determines whether a path is absolute.
<static> String joinPaths()
           Concatenates any number of strings using the mozile.filesep character.
<static> String load(<String> uri)
           A cross-browser compatible loading method.
<static> Void loadDeferred()
           Uses require() to load each module on the deferrals list.
<static> Boolean loadModule(<String> moduleName)
           Tries to load a module of code.
<static> String prompt(title, message, value, fn, scope, multiline)
           Ensures that a path is absolute.
<static> Boolean protectElement(elementOrId)
           Prevents a single element from editing.
<static> Void protectElements(listOrValue, name)
           Protects a set of elements from editing.
<static> Void provide()
           This function is used by modules to indicate what properties, methods, and classes they provide.
<static> Boolean require(<String> moduleName)
           Loads a module if it has not already been loaded.
<static> Void setTarget(win)
           Sets the moziel.window and mozile.document propeties based on a given window object.
<static> Boolean useSchema(<String> target, localeBundle)
           Load the target RNG schema and use it as the schema for this document.

Field Detail

about

<static> Object about

acknowledgements

<static> Object acknowledgements

alternateSpace

<static> String alternateSpace

browser

<static> Object browser

copyright

<static> Object copyright

credits

<static> Object credits

debug

<static> Object debug

defaultNS

<static> String defaultNS

deferrals

<static> Array deferrals

deferRequirements

<static> Boolean deferRequirements

document

<static> Object document

dom

<static> Object dom

edit

<static> Object edit

emptyToken

<static> String emptyToken

enhance

<static> Object enhance

event

<static> Object event

filesep

<static> Object filesep

gui

<static> Object gui

help

<static> String help

homepage

<static> Object homepage

license

<static> Object license

linesep

<static> Object linesep

locale

<static> Object locale

os

<static> Object os

precompiled

<static> Boolean precompiled

rng

<static> Object rng

root

<static> Object root

save

<static> Object save

updateInterval

<static> Integer updateInterval

useDesignMode

<static> Boolean useDesignMode

util

<static> Object util

version

<static> Object version

window

<static> Object window

xml

<static> Object xml

xpath

<static> Object xpath


Method Detail

_nullFunction

<static> Object _nullFunction()

alert

<static> Void alert(<String> message)

dumpError

<static> String dumpError(object)

editDocument

<static> Void editDocument(<Document> doc)

editElement

<static> Void editElement(elementOrId)

editElements

<static> Void editElements(listOrValue, name)

enableEditing

<static> Void enableEditing(<Boolean> rich)

execCommand

<static> mozile.edit.State execCommand(<String> name, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10)

findModule

<static> Object findModule(<String> moduleName)

findRoot

<static> String findRoot()

getAbsolutePath

<static> String getAbsolutePath(<String> path, <String> root)

getDirectory

<static> String getDirectory(<String> path)

getLocalization

<static> Object getLocalization(<String> moduleName, bundleName, <String> locale)

getPath

<static> String getPath(<String> url)

isPathAbsolute

<static> Boolean isPathAbsolute(<String> path)

joinPaths

<static> String joinPaths()

load

<static> String load(<String> uri)

loadDeferred

<static> Void loadDeferred()

loadModule

<static> Boolean loadModule(<String> moduleName)

prompt

<static> String prompt(title, message, value, fn, scope, multiline)

protectElement

<static> Boolean protectElement(elementOrId)

protectElements

<static> Void protectElements(listOrValue, name)

provide

<static> Void provide()

require

<static> Boolean require(<String> moduleName)

setTarget

<static> Void setTarget(win)

useSchema

<static> Boolean useSchema(<String> target, localeBundle)


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