|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--MozileComponent
Defined in core.js
Constructor Summary | |
MozileComponent
(<String> configString)
Mozile Component - Class defining Mozile components with subclasses for modules, commands, and the mediator. |
Method Summary | |
Object
|
_cleanOption(val)
Tries to convert a string into a number or boolean. |
String
|
getConfigString()
|
String
|
getName()
Get the name from the config string. |
String
|
getOption(<String> key, defaultValue)
Gets a value from the options for a given key |
Object
|
getOptions()
|
Object
|
setOption(<String> key, value)
Gets a value from the options for a given key |
String
|
toString()
Returns "[object MozileComponent]". |
Constructor Detail |
MozileComponent(<String> configString)
Configuration String format (some options may conflict): "root='path/to/mozile', mode=XHTML, namespace='http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd', keyboardShortcuts=true, toolbarPosition=fixed, toolbarUpdateFrequency=2, warnBeforeUnload=true, debugLevel=0". See the notes for "Mozile.parseConfig" for proper configuration string format.
configString
- A properly formatted configuration string.
Method Detail |
Object _cleanOption(val)
key
-
String getConfigString()
String getName()
String getOption(<String> key, defaultValue)
key
-
defaultValue
- Optional. If this is given and the key does not exist then defaultValue is assigned and returned.
Object getOptions()
Object setOption(<String> key, value)
key
-
value
-
String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |