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

Token  - AS3 ADEP Workspace

Пакетlc.foundation.util
Классpublic class Token
НаследованиеToken Inheritance Object
Подклассы CollectionToken, ObjectToken

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

The Token class provides a mechanism to specify handlers for asynchronous calls. Usually, result handlers take a single parameter of type LiveCycleEvent (or a subclass) and fault handlers take a single parameter of type LiveCycleFaultEvent (or a subclass).

For information on using this component to customize Workspace, see Customizing the Adobe Digital Enterprise Platform Document Services - Workspace User Interface .

Связанные элементы API



Общедоступные свойства
 СвойствоОпределено
 Inheritedconstructor : Object
Ссылка на объект класса или функцию конструктора для данного экземпляра объекта.
Object
Общедоступные методы
 МетодОпределено
  
Adds a fault handler for this asynchronous invocation.
Token
  
addHandlers(resultHandler:Function, faultHandler:Function):void
Adds a result and fault handler for this asynchronous invocation.
Token
  
Adds an object to handle the result or failure for an asynchronous invocation.
Token
  
Adds a result handler for this asynchronous invocation.
Token
  
Calls all the fault handlers.
Token
  
Calls all the result handlers.
Token
 Inherited
Показывает, определено ли заданное свойство для объекта.
Object
 Inherited
Показывает, есть ли экземпляр класса Object в цепи прототипов объекта, заданного в качестве параметра.
Object
 Inherited
Показывает наличие заданного свойства и его перечисляемость.
Object
 Inherited
Задает доступность динамического свойства для операций цикла.
Object
 Inherited
Возвращает строковое представление этого объекта, отформатированного в соответствии со стандартами, принятыми для данной локали.
Object
 Inherited
Возвращает строковое представление заданного объекта.
Object
 Inherited
Возвращает элементарное значение заданного объекта.
Object
Сведения о методе

addFaultHandler

()метод
public function addFaultHandler(handler:Function):void

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

Adds a fault handler for this asynchronous invocation.

Параметры

handler:Function — Specifies a function that is called when the asynchronous call fails.

addHandlers

()метод 
public function addHandlers(resultHandler:Function, faultHandler:Function):void

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

Adds a result and fault handler for this asynchronous invocation.

Параметры

resultHandler:Function — Specifies the function that is called when the asynchronous call completes.
 
faultHandler:Function — Specifies athefunction that is called when the asynchronous call fails.

addResponder

()метод 
public function addResponder(responder:IResponder):void

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

Adds an object to handle the result or failure for an asynchronous invocation.

Параметры

responder:IResponder — Specifies the mx.rpc.IResponder interface implementation to handle the asynchronous result or failure.

addResultHandler

()метод 
public function addResultHandler(handler:Function):void

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

Adds a result handler for this asynchronous invocation.

Параметры

handler:Function — Specifies a function that is called when the asynchronous call completes.

callFaultHandlers

()метод 
public function callFaultHandlers(info:Object):void

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

Calls all the fault handlers.

Параметры

info:Object — Specifies the information passed to all the fault handlers.

callResultHandlers

()метод 
public function callResultHandlers(data:Object):void

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

Calls all the result handlers.

Параметры

data:Object — Specifies the data passed to all the result handlers.





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

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