Packagemx.collections.errors
Classpublic class ChildItemPendingError
InheritanceChildItemPendingError Inheritance ItemPendingError Inheritance Error

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

This error is thrown when retrieving a child item from a collection view requires an asynchronous call. This error occurs when the data is provided from a remote source and the data is not yet available locally.

If the receiver of this error needs notification when the requested item becomes available (that is, when the asynchronous call completes), it must use the addResponder() method and specify an object that supports the mx.rpc.IResponder interface to respond when the item is available. The mx.collections.ItemResponder class implements the IResponder interface and supports a data property.

See also

mx.collections.errors.ItemPendingError
mx.collections.ItemResponder
mx.rpc.IResponder


Public Properties
 PropertyDefined By
 Inheritedresponders : Array
[read-only] An array of IResponder handlers that will be called when the asynchronous request completes.
ItemPendingError
Public Methods
 MethodDefined By
  
ChildItemPendingError(message:String)
Constructor.
ChildItemPendingError
 Inherited
addResponder(responder:IResponder):void
addResponder adds a responder to an Array of responders.
ItemPendingError
Constructor Detail
ChildItemPendingError()Constructor
public function ChildItemPendingError(message:String)

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Constructor.

Called by the HierarchicalCollectionViewCursor when a request is made for a child item that isn't local.

Parameters
message:String — A message providing information about the error cause.