Справочник по ActionScript® 3.0 для платформы Adobe® Flash®
Домашняя страница  |  Скрыть список пакетов и классов |  Пакеты  |  Классы  |  Что нового  |  Указатель  |  Приложения  |  Почему по-английски?
Фильтры: Получение данных с сервера...
Получение данных с сервера...
com.adobe.ep.ux.content.handlers 

AssetHandlerRegistry  - AS3 ADEP Content

Пакетcom.adobe.ep.ux.content.handlers
Классpublic class AssetHandlerRegistry
НаследованиеAssetHandlerRegistry Inheritance EventDispatcher Inheritance Object

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Content 10
Версии среды выполнения: 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.



Общедоступные свойства
 СвойствоОпределено
 Inheritedconstructor : Object
Ссылка на объект класса или функцию конструктора для данного экземпляра объекта.
Object
Общедоступные методы
 МетодОпределено
  
Constructor
AssetHandlerRegistry
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Регистрирует объект прослушивателя события на объекте EventDispatcher для получения прослушивателем уведомления о событии.
EventDispatcher
 Inherited
Посылает событие в поток событий.
EventDispatcher
  
[статические] Singleton to get AssetHandlerRegistry.
AssetHandlerRegistry
 Inherited
Проверяет, имеет ли объект EventDispatcher прослушиватели, зарегистрированные для определенного типа события.
EventDispatcher
 Inherited
Показывает, определено ли заданное свойство для объекта.
Object
 Inherited
Показывает, есть ли экземпляр класса Object в цепи прототипов объекта, заданного в качестве параметра.
Object
  
Checks whether a handler is registered for give assetType.
AssetHandlerRegistry
  
returns the assetHandler corresponding to given assetType
AssetHandlerRegistry
 Inherited
Показывает наличие заданного свойства и его перечисляемость.
Object
  
Register an Asset Handler in this Singleton registry.
AssetHandlerRegistry
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Удаляет прослушиватель из объекта EventDispatcher.
EventDispatcher
 Inherited
Задает доступность динамического свойства для операций цикла.
Object
  
Start the registry which calls the initialize function of individual handlers.
AssetHandlerRegistry
 Inherited
Возвращает строковое представление этого объекта, отформатированного в соответствии со стандартами, принятыми для данной локали.
Object
 Inherited
Возвращает строковое представление заданного объекта.
Object
 Inherited
Возвращает элементарное значение заданного объекта.
Object
 Inherited
Проверяет, зарегистрирован ли прослушиватель события для указанного типа события с данным объектом EventDispatcher или любым его предшественником.
EventDispatcher
События
 Событие Сводка Определено
 Inherited[многоадресное событие] Отправляется, когда проигрыватель Flash Player или приложение AIR перемещается в фокус операционной системы и становится активным.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[многоадресное событие] Отправляется, когда проигрыватель Flash Player или приложение AIR теряет фокус системы и становится неактивным.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
Общедоступные константы
 КонстантаОпределено
  ASSET_ACTIONS_CHANGED : String = "assetActionsChanged"
[статические] This constant specifies the event that the asset actions have changed
AssetHandlerRegistry
  DISABLE_USER_INTERACTION_EVENT : String = "disableUserInteraction"
[статические] This constant specifies the event which disables the user interaction
AssetHandlerRegistry
  ENABLE_USER_INTERACTION_EVENT : String = "enableUserInteraction"
[статические] This constant specifies the type of event which enables the user interaction
AssetHandlerRegistry
Сведения о конструкторе

AssetHandlerRegistry

()Конструктор
public function AssetHandlerRegistry()

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Content 10
Версии среды выполнения: Flash Player 10.2, AIR (unsupported)

Constructor

Сведения о методе

getInstance

()метод
public static function getInstance():AssetHandlerRegistry

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Content 10
Версии среды выполнения: Flash Player 10.2, AIR (unsupported)

Singleton to get AssetHandlerRegistry.

Возвращает
AssetHandlerRegistry — An instance of Asset Handler Registry to manage the registry of Asset Handlers

isRegistered

()метод 
public function isRegistered(assetType:String):Boolean

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Content 10
Версии среды выполнения: Flash Player 10.2, AIR (unsupported)

Checks whether a handler is registered for give assetType.

Параметры

assetType:String — The type of Asset

Возвращает
Boolean — True if the asset handler is registered else return false

lookup

()метод 
public function lookup(assetType:String):IAssetHandler

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Content 10
Версии среды выполнения: Flash Player 10.2, AIR (unsupported)

returns the assetHandler corresponding to given assetType

Параметры

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

Возвращает
IAssetHandler — The handler registered for given parameter

register

()метод 
public function register(handler:IAssetHandler):void

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Content 10
Версии среды выполнения: Flash Player 10.2, AIR (unsupported)

Register an Asset Handler in this Singleton registry.

Параметры

handler:IAssetHandler — The Handler to register

start

()метод 
public function start():void

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Content 10
Версии среды выполнения: Flash Player 10.2, AIR (unsupported)

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

Сведения о событии

assetActionComplete

Событие
Тип объекта события: com.adobe.ep.ux.content.event.AssetActionCompleteEvent

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Content 10
Версии среды выполнения: Flash Player 10.2, AIR (unsupported)

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

assetActionsChanged

Событие  
Тип объекта события: com.adobe.ep.ux.content.event.AssetActionsChangeEvent

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Content 10
Версии среды выполнения: 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

Событие  
Тип объекта события: mx.events.FlexEvent

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Content 10
Версии среды выполнения: Flash Player 10.2, AIR (unsupported)

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

enableUserInteraction

Событие  
Тип объекта события: mx.events.FlexEvent

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Content 10
Версии среды выполнения: Flash Player 10.2, AIR (unsupported)

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

launchEditor

Событие  
Тип объекта события: mx.events.FlexEvent

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Content 10
Версии среды выполнения: 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

Сведения о константе

ASSET_ACTIONS_CHANGED

Константа
public static const ASSET_ACTIONS_CHANGED:String = "assetActionsChanged"

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Content 10
Версии среды выполнения: Flash Player 10.2, AIR (unsupported)

This constant specifies the event that the asset actions have changed

DISABLE_USER_INTERACTION_EVENT

Константа 
public static const DISABLE_USER_INTERACTION_EVENT:String = "disableUserInteraction"

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Content 10
Версии среды выполнения: Flash Player 10.2, AIR (unsupported)

This constant specifies the event which disables the user interaction

ENABLE_USER_INTERACTION_EVENT

Константа 
public static const ENABLE_USER_INTERACTION_EVENT:String = "enableUserInteraction"

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Content 10
Версии среды выполнения: Flash Player 10.2, AIR (unsupported)

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





[ X ]Почему по-английски?
Содержимое Справочника ActionScript 3.0 отображается на английском языке

Не все части Справочника ActionScript 3.0 переводятся на все языки. Если какой-то текстовый элемент не переведен, он отображается на английском языке. Например, компонент ga.controls.HelpBox не переведен ни на один из языков. Это значит, что в русской версии справки компонент ga.controls.HelpBox будет отображаться на английском языке.