|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--MozileComponent
|
+--MozileInterface
Defined in interface.js
| Constructor Summary | |
MozileInterface
(<Element> element, <String> configString)
Mozile Module - Subclass of MozileComponent designed for manipulating interfaces (e.g. |
|
| Method Summary | |
Void
|
center()
Center the interface in the window. |
Element
|
getElement()
Gets the root element for the interface. |
Element
|
getParent()
Returns the parent of the interface's root element, finding it if necessary. |
Void
|
hide()
Hide the interface. |
Void
|
init()
Initialize the interface. |
Void
|
show()
Reveal the interface. |
| Methods inherited from class MozileComponent |
getName, getConfigString, getOptions, getOption, setOption, _cleanOption
|
| Constructor Detail |
MozileInterface(<Element> element, <String> configString)
element - The root element for the interface.
configString - A properly formatted configuration string.
| Method Detail |
Void center()
Element getElement()
If the interface was created with an element, that element will be returned. If the interface was created with a URL, then we try to load the URL and get the documentElement. If this script was injected by the Mozile Extension, then we require a bit of a hack: The Extension will have also injected the interface, so instead of fetching it we look for its id instead.
Element getParent()
Void hide()
Void init()
Void show()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||