Packageweavejs.api.core
Interfacepublic interface IChildListCallbackInterface extends ICallbackCollection, ILinkableObject

This is an interface for adding and removing callbacks that get triggered when a child object is added or removed. The accessor functions in this interface return values that are only defined while immediate callbacks are running, not during grouped callbacks.



Public Properties
 PropertyDefined By
 InheritedcallbacksAreDelayed : Boolean
[read-only] While this is true, it means the delay count is greater than zero and the effects of triggerCallbacks() are delayed until resumeCallbacks() is called to reduce the delay count.
ICallbackCollection
  lastNameAdded : String
[read-only] This is the name of the object that was added prior to running immediate callbacks.
IChildListCallbackInterface
  lastNameRemoved : String
[read-only] This is the name of the object that was removed prior to running immediate callbacks.
IChildListCallbackInterface
  lastObjectAdded : ILinkableObject
[read-only] This is the object that was added prior to running immediate callbacks.
IChildListCallbackInterface
  lastObjectRemoved : ILinkableObject
[read-only] This is the object that was removed prior to running immediate callbacks.
IChildListCallbackInterface
 InheritedtriggerCounter : uint
[read-only] This counter gets incremented at the time that callbacks are triggered, before they are actually called.
ICallbackCollection
Public Methods
 MethodDefined By
 Inherited
addDisposeCallback(relevantContext:Object, callback:Function, allowDelay:Boolean = false):void
This will add a callback that will only be called once, when this callback collection is disposed.
ICallbackCollection
 Inherited
addGroupedCallback(relevantContext:Object, groupedCallback:Function, triggerCallbackNow:Boolean = false, delayWhileBusy:Boolean = true):void
Adds a callback that will only be called during a scheduled time each frame.
ICallbackCollection
 Inherited
addImmediateCallback(relevantContext:Object, callback:Function, runCallbackNow:Boolean = false, alwaysCallLast:Boolean = false):void
This adds the given function as a callback.
ICallbackCollection
 Inherited
This will delay the effects of triggerCallbacks() until a matching call is made to resumeCallbacks().
ICallbackCollection
 Inherited
removeCallback(relevantContext:Object, callback:Function):void
This function will remove a callback that was previously added.
ICallbackCollection
 Inherited
This should be called after delayCallbacks() to resume the callbacks.
ICallbackCollection
 Inherited
This will increase the triggerCounter, run immediate callbacks, and trigger grouped callbacks to be called later.
ICallbackCollection
Property Detail
lastNameAddedproperty
lastNameAdded:String  [read-only]

This is the name of the object that was added prior to running immediate callbacks.


Implementation
    public function get lastNameAdded():String
lastNameRemovedproperty 
lastNameRemoved:String  [read-only]

This is the name of the object that was removed prior to running immediate callbacks.


Implementation
    public function get lastNameRemoved():String
lastObjectAddedproperty 
lastObjectAdded:ILinkableObject  [read-only]

This is the object that was added prior to running immediate callbacks.


Implementation
    public function get lastObjectAdded():ILinkableObject
lastObjectRemovedproperty 
lastObjectRemoved:ILinkableObject  [read-only]

This is the object that was removed prior to running immediate callbacks.


Implementation
    public function get lastObjectRemoved():ILinkableObject