Echo.Update.ComponentUpdate
| Constructor Summary | |
|---|---|
| Public | Echo.Update.ComponentUpdate()Creates a new ComponentUpdate. |
| Class Method Summary | |
|---|---|
| Public | PropertyUpdate()Data object representing the old and new states of a changed property. |
| Instance Method Summary | |
|---|---|
| Internal | _addChild()Records the addition of a child to the parent component. |
| Internal | _appendRemovedDescendants()Appends removed children and descendants from another update to this update as removed descendants. |
| Public | getAddedChildren()Returns an array containing the children added in this update, or null if none were added. |
| Public | getRemovedChildren()Returns an array containing the children removed in this update, or null if none were removed. |
| Public | getRemovedDescendants()Returns an array containing the descendants of any children removed in this update, or null if none were removed. |
| Public | getUpdatedLayoutDataChildren()Returns an array containing the children of this component whose LayoutDatas have changed in this update, or null if no such changes were made. |
| Public | hasAddedChildren()Determines if any children were added during this update. |
| Public | hasRemovedChildren()Determines if any children were removed during this update. |
| Public | hasUpdatedLayoutDataChildren()Determines if any children had their LayoutData changed during this update. |
| Public | hasUpdatedProperties()Determines if this update has any changed properties. |
| Public | getUpdatedProperty()Returns a PropertyUpdate describing an update to the
property with the given name.
|
| Public | isListenerTypeUpdated()Determines if any listeners of a specific type were added or removed from the component. |
| Public | getUpdatedPropertyNames()Returns the names of all properties being updated in this update. |
| Public | hasUpdatedPropertyIn()Determines if any of the specified properties has been updated in this update. |
| Public | isUpdatedPropertySetIn()Determines if the set of updated property names is contained within the specified set. |
| Internal | _removeChild()Records the removal of a child from the parent component. |
| Internal | _removeDescendant()Records the removal of a descendant of the parent component. |
| Public | toString()Returns a string representation. |
| Internal | _updateLayoutData()Records the update of the LayoutData of a child component. |
| Internal | _updateListener()Records the addition or removal of listeners to the parent component. |
| Internal | _updateProperty()Records the update of a property of the parent component. |
parent
(Echo.Component)
- the updated componentoldValue
- the old value of the propertynewValue
- the new value of the propertychild
(Echo.Component)
- the added childupdate
(Echo.Update.CompoentUpdate)
- the update from which to pull
removed components/descendantsPropertyUpdate describing an update to the
property with the given name.
name
- the name of the property being updatedPropertyUpdate, or null if none existslistenerType
(String)
- the type of listener to queryupdatedPropertySet
- the updated property setupdatedPropertySet
- the updated property setchild
(Echo.Component)
- the removed childdescendant
(Echo.Component)
- the removed descendantchild
(Echo.Component)
- the child component whose layout data was updatedlistenerType
(String)
- the listener typepropertyName
(String)
- the name of the propertyoldValue
- the previous value of the propertynewValue
- the new value of the property