Core.Web.Library.Group
Constructor Summary | |
---|---|
Public | Core.Web.Library.Group() Creates a new library group. |
Instance Field Summary | |
---|---|
Internal | _listenerList |
Internal | _libraries |
Internal | _loadedCount |
Internal | _totalCount |
Instance Method Summary | |
---|---|
Public | add() Adds a library to the library group. |
Public | addLoadListener() Adds a listener to be notified when all libraries in the group have been loaded. |
Internal | _fireLoadEvent() Notifies listeners of completed library loading. |
Public | hasNewLibraries() Determines if this library group contains any new (not previously loaded) libraries. |
Internal | _install() Installs all libraries in the group. |
Internal | _notifyRetrieved() Event listener invoked when a single library has been successfully retrieved. |
Public | load() Initializes library loading. |
Public | removeLoadListener() Removes a listener from being notified when all libraries in the group have been loaded. |
libraryUrl
- the URL from which to retrieve the library.l
(Function)
- the listener to addl
(Function)
- the listener to remove