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.utils 

XMLNotifier  - AS3 Flex

Pacchettomx.utils
Classepublic class XMLNotifier
EreditarietàXMLNotifier Inheritance Object

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

Used for watching changes to XML and XMLList objects. Those objects are not EventDispatchers, so if multiple elements want to watch for changes they need to go through this mechanism. Call watchXML(), passing in the same notification function that you would pass to XML.notification. Use unwatchXML() to remove that notification.



Proprietà pubbliche
 ProprietàDefinito da
 Inheritedconstructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto.
Object
Metodi pubblici
 MetodoDefinito da
  
XMLNotifier(x:XMLNotifierSingleton)
Constructor.
XMLNotifier
  
[statico] Get the singleton instance of the XMLNotifier.
XMLNotifier
 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
Restituisce la rappresentazione in formato stringa dell'oggetto specificato.
Object
  
Given an XML or XMLList, remove the specified notification function.
XMLNotifier
 Inherited
Restituisce il valore di base dell'oggetto specificato.
Object
  
watchXML(xml:Object, notifiable:IXMLNotifiable, uid:String = null):void
Given an XML or XMLList, add the notification function to watch for changes.
XMLNotifier
Descrizione della funzione di costruzione

XMLNotifier

()Funzione di costruzione
public function XMLNotifier(x:XMLNotifierSingleton)

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

Constructor. XMLNotifier is a singleton class, so you do not use the new operator to create multiple instances of it. Instead, call the static method XMLNotifider.getInstance() to get the sole instance of this class.

Parametri
x:XMLNotifierSingleton
Descrizione dei metodi

getInstance

()metodo
public static function getInstance():XMLNotifier

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

Get the singleton instance of the XMLNotifier.

Restituisce
XMLNotifier — The XMLNotifier object.

unwatchXML

()metodo 
public function unwatchXML(xml:Object, notifiable:IXMLNotifiable):void

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

Given an XML or XMLList, remove the specified notification function.

Parametri

xml:Object — XML/XMLList object to un-watch.
 
notifiable:IXMLNotifiable — Function notification function.

watchXML

()metodo 
public function watchXML(xml:Object, notifiable:IXMLNotifiable, uid:String = null):void

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

Given an XML or XMLList, add the notification function to watch for changes.

Parametri

xml:Object — XML/XMLList object to watch.
 
notifiable:IXMLNotifiable — Function that needs to be called.
 
uid:String (default = null) — UID for object





[ 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.