Paket | lc.foundation.util |
Klass | public class Token |
Arv | Token Object |
Underklasser | CollectionToken, ObjectToken |
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
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 .
Relaterade API-element
Publika egenskaper
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
Adds a fault handler for this asynchronous invocation. | Token | ||
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 | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object |
Metoddetaljer
addFaultHandler | () | metod |
public function addFaultHandler(handler:Function):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds a fault handler for this asynchronous invocation.
Parametrar
handler:Function — Specifies a function that is called when the asynchronous call fails.
|
addHandlers | () | metod |
public function addHandlers(resultHandler:Function, faultHandler:Function):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds a result and fault handler for this asynchronous invocation.
Parametrar
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 | () | metod |
public function addResponder(responder:IResponder):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds an object to handle the result or failure for an asynchronous invocation.
Parametrar
responder:IResponder — Specifies the mx.rpc.IResponder interface implementation to handle
the asynchronous result or failure.
|
addResultHandler | () | metod |
public function addResultHandler(handler:Function):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds a result handler for this asynchronous invocation.
Parametrar
handler:Function — Specifies a function that is called when the asynchronous call completes.
|
callFaultHandlers | () | metod |
public function callFaultHandlers(info:Object):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Calls all the fault handlers.
Parametrar
info:Object — Specifies the information passed to all the fault handlers.
|
callResultHandlers | () | metod |
public function callResultHandlers(data:Object):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Calls all the result handlers.
Parametrar
data:Object — Specifies the data passed to all the result handlers.
|
Tue Jun 12 2018, 01:40 PM Z