Echo.Update.Manager
| Constructor Summary | |
|---|---|
| Public | Echo.Update.Manager()Creates a new Update Manager. |
| Instance Field Summary | |
|---|---|
| Internal | _componentUpdateMapAssociative mapping between component ids and Echo. |
| Public | fullRefreshRequiredFlag indicating whether a full refresh or incremental update will be performed. |
| Public | applicationThe application whose updates are being managed. |
| Internal | _hasUpdatesFlag indicating whether any updates are pending. |
| Internal | _listenerListInternal listener list for update listeners. |
| Internal | _idMapAssociative mapping between component ids and component instances for all updates held in this manager object. |
| Internal | _removedIdMapAssociative mapping from the ids of components which are to be removed in this update to the components themselves. |
| Internal | _lastAncestorTestParentIdThe id of the last parent component whose child was analyzed by _isAncestorBeingAdded() that resulted in that method returning false. |
| Instance Method Summary | |
|---|---|
| Public | addUpdateListener()Adds a listener to receive notification of update events. |
| Internal | _createComponentUpdate()Creates a new ComponentUpdate object (or returns an existing one) for a specific parent component. |
| Public | dispose()Permanently disposes of the Update Manager, freeing any resources. |
| Internal | _fireUpdate()Notifies update listeners of an event. |
| Public | getUpdates()Returns the current pending updates. |
| Public | hasUpdates()Determines if any updates exist in the Update Manager. |
| Internal | _isAncestorBeingAdded()Determines if an ancestor of the specified component is being added. |
| Internal | _processComponentAdd()Processes a child addition to a component. |
| Internal | _processComponentLayoutDataUpdate()Process a layout data update to a child component. |
| Internal | _processComponentListenerUpdate()Process a layout data update to a child component. |
| Internal | _processComponentRemove()Processes a child removal from a component. |
| Internal | _processComponentPropertyUpdate()Processes a property update to a component. |
| Internal | _processFullRefresh()Processes an event requiring a full-refresh. |
| Internal | _processComponentUpdate()Processes component update notification received from the application instance. |
| Public | purge()Purges all updates from the manager. |
| Public | removeUpdateListener()Removes a listener from receiving notification of update events. |
| Public | toString()Returns a string representation. |
application
(Echo.Application)
- the supported applicationl
(Function)
- the listener to addparent
(Echo.Component)
- the parent Componentcomponent
(Echo.Component)
- the component to evaluateparent
(Echo.Component)
- the parent componentchild
(Echo.Component)
- the added child componentupdatedComponent
(Echo.Component)
- the updated componentupdatedComponent
(Echo.Component)
- the updated componentparent
(Echo.Component)
- the parent componentchild
(Echo.Component)
- the removed child componentcomponent
(Echo.Component)
- the updated componentpropertyName
(String)
- the updated property nameoldValue
- the previous value of the propertynewValue
- the new value of the propertycomponent
(Echo.Component)
- the updated componentpropertyName
(String)
- the updated property nameoldValue
- the previous value of the propertynewValue
- the new value of the propertyl
(Function)
- the listener to remove