Guida di riferimento di ActionScript® 3.0 per la piattaforma Adobe® Flash®
Home  |  Nascondi elenco pacchetti e classi |  Pacchetti  |  Classi  |  Novità  |  Indice  |  Appendici  |  Perché in inglese?
Filtri: Recupero dati dal server...
Recupero dati dal server...
mx.collections.errors 

ItemPendingError  - AS3 Flex

Pacchettomx.collections.errors
Classepublic class ItemPendingError
EreditarietàItemPendingError Inheritance Error Inheritance Object
Sottoclassi ChildItemPendingError

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

This error is thrown when retrieving an item from a collection view requires an asynchronous call. This error occurs when the backing 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.

Elementi API correlati



Proprietà pubbliche
 ProprietàDefinito da
 Inheritedconstructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto.
Object
 InheritederrorID : int
[sola lettura] Contiene il numero di riferimento associato al messaggio di errore specifico.
Error
 Inheritedmessage : String
Contiene il messaggio associato all'oggetto Error.
Error
 Inheritedname : String
Contiene il nome dell'oggetto Error.
Error
  responders : Array
[sola lettura] An array of IResponder handlers that will be called when the asynchronous request completes.
ItemPendingError
Metodi pubblici
 MetodoDefinito da
  
Constructor.
ItemPendingError
  
addResponder adds a responder to an Array of responders.
ItemPendingError
 Inherited
Restituisce lo stack di chiamata per un errore al momento della costruzione dell’errore come stringa.
Error
 Inherited
Indica se per un oggetto è definita una proprietà specifica.
Object
 Inherited
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro.
Object
 Inherited
Indica se la proprietà specificata esiste ed è enumerabile.
Object
 Inherited
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche.
Object
 Inherited
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate.
Object
 Inherited
[override] Restituisce la stringa "Error" per impostazione predefinita oppure il valore contenuto nella proprietà Error.message, se definita.
Error
 Inherited
Restituisce il valore di base dell'oggetto specificato.
Object
Descrizione delle proprietà

responders

proprietà
responders:Array  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

An array of IResponder handlers that will be called when the asynchronous request completes.



Implementazione
    public function get responders():Array
Descrizione della funzione di costruzione

ItemPendingError

()Funzione di costruzione
public function ItemPendingError(message:String)

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

Constructor.

Called by the Flex Framework when a request is made for an item that isn't local.

Parametri
message:String — A message providing information about the error cause.
Descrizione dei metodi

addResponder

()metodo
public function addResponder(responder:IResponder):void

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

addResponder adds a responder to an Array of responders. The object assigned to the responder parameter must implement the mx.rpc.IResponder interface.

Parametri

responder:IResponder — A handler which will be called when the asynchronous request completes.

Elementi API correlati





[ X ]Perché in inglese?
Il contenuto della Guida di riferimento di ActionScript 3.0 appare in inglese

Non tutte le parti della Guida di riferimento di ActionScript 3.0 sono tradotte in tutte le lingue. Quando un elemento del linguaggio non è tradotto, viene riportato in inglese. Ad esempio, la classe ga.controls.HelpBox non è tradotta in nessuna lingua. Pertanto, nella versione italiana della guida di riferimento, la descrizione della classe ga.controls.HelpBox è riportata in inglese.