|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--MozileResource | +--MozileScriptResource
Defined in core.js
Constructor Summary | |
MozileScriptResource
(<String> id, <String> source, <String> type, <String> namespace)
Mozile Script Resource - Subclass of MozileResource designed for script tags. |
Method Summary | |
Element
|
createElement()
Creates a new element for the resource and returns it. |
String
|
getSource()
|
Methods inherited from class MozileResource |
getCategory, getId, getType, getNamespace, getElement, getContent, setContent, load, unload
|
Constructor Detail |
MozileScriptResource(<String> id, <String> source, <String> type, <String> namespace)
id
- The id for the resource, used as the id of the resources' element.
source
- The URL for src attribute.
type
- Optional. The type for the resource, used for the type attribute. Default is "application/x-javascript".
namespace
- Optional. The namespace for the resource's element. Defaults to the global XHTMLNS.
Method Detail |
Element createElement()
String getSource()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |