Guide de référence ActionScript® 3.0 pour la plate-forme Adobe® Flash®
Accueil  |  Masquer la liste des packages et des classes |  Packages  |  Classes  |  Nouveautés  |  Index  |  Annexes  |  Pourquoi existe-t-il du contenu en anglais ?
Filtres : Récupération des données du serveur...
Récupération des données du serveur...
com.adobe.ep.ux.content.handlers 

AssetHandlerRegistry  - AS3 ADEP Content

Packagecom.adobe.ep.ux.content.handlers
Classepublic class AssetHandlerRegistry
HéritageAssetHandlerRegistry Inheritance EventDispatcher Inheritance Object

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Experience Services - Content 10
Versions du moteur d’exécution: 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.



Propriétés publiques
 PropriétéDéfini par
 Inheritedconstructor : Object
Référence à l’objet de classe ou à la fonction constructeur d’une occurrence donnée d’un objet.
Object
Méthodes publiques
 MéthodeDéfini par
  
Constructor
AssetHandlerRegistry
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Enregistre un objet écouteur d’événement auprès d’un objet EventDispatcher afin que l’écouteur soit averti d’un événement.
EventDispatcher
 Inherited
Distribue un événement dans le flux d’événements.
EventDispatcher
  
[statique] Singleton to get AssetHandlerRegistry.
AssetHandlerRegistry
 Inherited
Vérifie si des écouteurs sont enregistrés auprès de l’objet EventDispatcher pour un type spécifique d’événement.
EventDispatcher
 Inherited
Indique si la propriété spécifiée d’un objet est définie.
Object
 Inherited
Indique si une occurrence de la classe Object figure dans la chaîne de prototype de l’objet spécifié en tant que paramètre.
Object
  
Checks whether a handler is registered for give assetType.
AssetHandlerRegistry
  
returns the assetHandler corresponding to given assetType
AssetHandlerRegistry
 Inherited
Indique si la propriété spécifiée existe et est énumérable.
Object
  
Register an Asset Handler in this Singleton registry.
AssetHandlerRegistry
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Supprime un écouteur de l’objet EventDispatcher.
EventDispatcher
 Inherited
Définit la disponibilité d’une propriété dynamique pour les opérations en boucle.
Object
  
Start the registry which calls the initialize function of individual handlers.
AssetHandlerRegistry
 Inherited
Renvoie la représentation de chaîne de cet objet, formatée selon les paramètres régionaux en vigueur.
Object
 Inherited
Renvoie la représentation sous forme de chaîne de l’objet spécifié.
Object
 Inherited
Renvoie la valeur primitive de l’objet spécifié.
Object
 Inherited
Vérifie si un écouteur d’événement est enregistré auprès de cet objet EventDispatcher ou de ses ancêtres pour le type d’événement spécifié.
EventDispatcher
Evénements
 Evénement Synthèse Défini par
 Inherited[Evénement de diffusion] Distribué lorsque l’application Flash Player obtient le focus du système d’exploitation et devient active.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[Evénement de diffusion] Distribué lorsque l’application Flash Player ou AIR perd le focus du système d’exploitation et devient inactive.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
Constantes publiques
 ConstanteDéfini par
  ASSET_ACTIONS_CHANGED : String = "assetActionsChanged"
[statique] This constant specifies the event that the asset actions have changed
AssetHandlerRegistry
  DISABLE_USER_INTERACTION_EVENT : String = "disableUserInteraction"
[statique] This constant specifies the event which disables the user interaction
AssetHandlerRegistry
  ENABLE_USER_INTERACTION_EVENT : String = "enableUserInteraction"
[statique] This constant specifies the type of event which enables the user interaction
AssetHandlerRegistry
Détails du constructeur

AssetHandlerRegistry

()Constructeur
public function AssetHandlerRegistry()

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Experience Services - Content 10
Versions du moteur d’exécution: Flash Player 10.2, AIR (unsupported)

Constructor

Détails de la méthode

getInstance

()méthode
public static function getInstance():AssetHandlerRegistry

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Experience Services - Content 10
Versions du moteur d’exécution: Flash Player 10.2, AIR (unsupported)

Singleton to get AssetHandlerRegistry.

Valeur renvoyée
AssetHandlerRegistry — An instance of Asset Handler Registry to manage the registry of Asset Handlers

isRegistered

()méthode 
public function isRegistered(assetType:String):Boolean

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Experience Services - Content 10
Versions du moteur d’exécution: Flash Player 10.2, AIR (unsupported)

Checks whether a handler is registered for give assetType.

Paramètres

assetType:String — The type of Asset

Valeur renvoyée
Boolean — True if the asset handler is registered else return false

lookup

()méthode 
public function lookup(assetType:String):IAssetHandler

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Experience Services - Content 10
Versions du moteur d’exécution: Flash Player 10.2, AIR (unsupported)

returns the assetHandler corresponding to given assetType

Paramètres

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

Valeur renvoyée
IAssetHandler — The handler registered for given parameter

register

()méthode 
public function register(handler:IAssetHandler):void

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Experience Services - Content 10
Versions du moteur d’exécution: Flash Player 10.2, AIR (unsupported)

Register an Asset Handler in this Singleton registry.

Paramètres

handler:IAssetHandler — The Handler to register

start

()méthode 
public function start():void

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Experience Services - Content 10
Versions du moteur d’exécution: Flash Player 10.2, AIR (unsupported)

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

Détails de l’événement

assetActionComplete

Evénement
Type d’objet d’événement: com.adobe.ep.ux.content.event.AssetActionCompleteEvent

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Experience Services - Content 10
Versions du moteur d’exécution: Flash Player 10.2, AIR (unsupported)

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

assetActionsChanged

Evénement  
Type d’objet d’événement: com.adobe.ep.ux.content.event.AssetActionsChangeEvent

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Experience Services - Content 10
Versions du moteur d’exécution: 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

Evénement  
Type d’objet d’événement: mx.events.FlexEvent

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Experience Services - Content 10
Versions du moteur d’exécution: Flash Player 10.2, AIR (unsupported)

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

enableUserInteraction

Evénement  
Type d’objet d’événement: mx.events.FlexEvent

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Experience Services - Content 10
Versions du moteur d’exécution: Flash Player 10.2, AIR (unsupported)

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

launchEditor

Evénement  
Type d’objet d’événement: mx.events.FlexEvent

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Experience Services - Content 10
Versions du moteur d’exécution: 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

Détails de la constante

ASSET_ACTIONS_CHANGED

Constante
public static const ASSET_ACTIONS_CHANGED:String = "assetActionsChanged"

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Experience Services - Content 10
Versions du moteur d’exécution: Flash Player 10.2, AIR (unsupported)

This constant specifies the event that the asset actions have changed

DISABLE_USER_INTERACTION_EVENT

Constante 
public static const DISABLE_USER_INTERACTION_EVENT:String = "disableUserInteraction"

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Experience Services - Content 10
Versions du moteur d’exécution: Flash Player 10.2, AIR (unsupported)

This constant specifies the event which disables the user interaction

ENABLE_USER_INTERACTION_EVENT

Constante 
public static const ENABLE_USER_INTERACTION_EVENT:String = "enableUserInteraction"

Version du langage: ActionScript 3.0
Version du produit: Adobe Digital Enterprise Platform Experience Services - Content 10
Versions du moteur d’exécution: Flash Player 10.2, AIR (unsupported)

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





[ X ]Pourquoi existe-t-il du contenu en anglais ?
Certaines parties du Guide de référence ActionScript 3.0 sont en anglais

Tout le contenu du Guide de référence ActionScript 3.0 n’a pas été traduit dans toutes les langues. Si un élément de langage n’est pas traduit, il s’affiche en anglais. Par exemple, la classe ga.controls.HelpBox n’est traduite dans aucune langue. Ainsi, dans la version française du guide de référence, la classe ga.controls.HelpBox apparaît en anglais.