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...
com.adobe.ep.ux.content.handlers 

AssetHandlerRegistry  - AS3 ADEP - Contenuti

Pacchettocom.adobe.ep.ux.content.handlers
Classepublic class AssetHandlerRegistry
EreditarietàAssetHandlerRegistry Inheritance EventDispatcher Inheritance Object

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Contenuti 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

This is the central registry for all the available handlers in the system. A client application can register it's handler here against an assetType, which will be called when a asset is clicked.



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
  
Constructor
AssetHandlerRegistry
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un oggetto listener di eventi con un oggetto EventDispatcher, in modo che il listener riceva la notifica di un evento.
EventDispatcher
 Inherited
Invia un evento nel flusso di eventi.
EventDispatcher
  
[statico] Singleton to get AssetHandlerRegistry.
AssetHandlerRegistry
 Inherited
Verifica se per l'oggetto EventDispatcher sono presenti listener registrati per un tipo specifico di evento.
EventDispatcher
 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
  
Checks whether a handler is registered for give assetType.
AssetHandlerRegistry
  
returns the assetHandler corresponding to given assetType
AssetHandlerRegistry
 Inherited
Indica se la proprietà specificata esiste ed è enumerabile.
Object
  
Register an Asset Handler in this Singleton registry.
AssetHandlerRegistry
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Rimuove un listener dall'oggetto EventDispatcher.
EventDispatcher
 Inherited
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche.
Object
  
Start the registry which calls the initialize function of individual handlers.
AssetHandlerRegistry
 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
 Inherited
Restituisce il valore di base dell'oggetto specificato.
Object
 Inherited
Verifica se un listener di eventi è registrato con questo oggetto EventDispatcher o qualsiasi suo antenato per il tipo di evento specificato.
EventDispatcher
Eventi
 Evento Riepilogo Definito da
 Inherited[evento di trasmissione] Inviato quando Flash Player o l'applicazione AIR ottiene lo stato di attivazione del sistema operativo ed entra nello stato attivo.EventDispatcher
  assetActionComplete event thrown when AssetHandler has completed the assetAction taken by user through ui.AssetHandlerRegistry
  assetActionsChanged event is thrown by the Handler when the selected item in results viewer change and it updates the correct handler selected assets.AssetHandlerRegistry
 Inherited[evento di trasmissione] Inviato quando Flash Player o l'applicazione AIR perde l'attivazione del sistema operativo e sta entrando nello stato inattivo.EventDispatcher
  Event thrown when handler is doing some processing and it wants Application to disable user interactionAssetHandlerRegistry
  Event thrown when handler has done processing and it wants Application to re-enable user interactionAssetHandlerRegistry
  launchEditor event is thrown by the Handler when handler has prepared the working asset to dispaly that in corresponding editorAssetHandlerRegistry
Costanti pubbliche
 CostanteDefinito da
  ASSET_ACTIONS_CHANGED : String = "assetActionsChanged"
[statico] This constant specifies the event that the asset actions have changed
AssetHandlerRegistry
  DISABLE_USER_INTERACTION_EVENT : String = "disableUserInteraction"
[statico] This constant specifies the event which disables the user interaction
AssetHandlerRegistry
  ENABLE_USER_INTERACTION_EVENT : String = "enableUserInteraction"
[statico] This constant specifies the type of event which enables the user interaction
AssetHandlerRegistry
Descrizione della funzione di costruzione

AssetHandlerRegistry

()Funzione di costruzione
public function AssetHandlerRegistry()

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Contenuti 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

Constructor

Descrizione dei metodi

getInstance

()metodo
public static function getInstance():AssetHandlerRegistry

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Contenuti 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

Singleton to get AssetHandlerRegistry.

Restituisce
AssetHandlerRegistry — An instance of Asset Handler Registry to manage the registry of Asset Handlers

isRegistered

()metodo 
public function isRegistered(assetType:String):Boolean

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Contenuti 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

Checks whether a handler is registered for give assetType.

Parametri

assetType:String — The type of Asset

Restituisce
Boolean — True if the asset handler is registered else return false

lookup

()metodo 
public function lookup(assetType:String):IAssetHandler

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Contenuti 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

returns the assetHandler corresponding to given assetType

Parametri

assetType:String — The type of asset for which the handler is required

Restituisce
IAssetHandler — The handler registered for given parameter

register

()metodo 
public function register(handler:IAssetHandler):void

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Contenuti 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

Register an Asset Handler in this Singleton registry.

Parametri

handler:IAssetHandler — The Handler to register

start

()metodo 
public function start():void

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Contenuti 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

Start the registry which calls the initialize function of individual handlers.

Descrizione degli eventi

assetActionComplete

Evento
Tipo di oggetto evento: com.adobe.ep.ux.content.event.AssetActionCompleteEvent

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Contenuti 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

assetActionComplete event thrown when AssetHandler has completed the assetAction taken by user through ui.

assetActionsChanged

Evento  
Tipo di oggetto evento: com.adobe.ep.ux.content.event.AssetActionsChangeEvent

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Contenuti 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

assetActionsChanged event is thrown by the Handler when the selected item in results viewer change and it updates the correct handler selected assets. It is redispatched by the AssetHandlerRegistry and finally handled by AssetManagerView

disableUserInteraction

Evento  
Tipo di oggetto evento: mx.events.FlexEvent

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Contenuti 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

Event thrown when handler is doing some processing and it wants Application to disable user interaction

enableUserInteraction

Evento  
Tipo di oggetto evento: mx.events.FlexEvent

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Contenuti 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

Event thrown when handler has done processing and it wants Application to re-enable user interaction

launchEditor

Evento  
Tipo di oggetto evento: mx.events.FlexEvent

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Contenuti 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

launchEditor event is thrown by the Handler when handler has prepared the working asset to dispaly that in corresponding editor

Descrizione delle costanti

ASSET_ACTIONS_CHANGED

Costante
public static const ASSET_ACTIONS_CHANGED:String = "assetActionsChanged"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Contenuti 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

This constant specifies the event that the asset actions have changed

DISABLE_USER_INTERACTION_EVENT

Costante 
public static const DISABLE_USER_INTERACTION_EVENT:String = "disableUserInteraction"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Contenuti 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

This constant specifies the event which disables the user interaction

ENABLE_USER_INTERACTION_EVENT

Costante 
public static const ENABLE_USER_INTERACTION_EVENT:String = "enableUserInteraction"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Contenuti 10
Versioni runtime: Flash Player 10.2, AIR (unsupported)

This constant specifies the type of event which enables the user interaction





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