ActionScript® 3.0 — dokumentacja dla platformy Adobe® Flash®
Strona główna  |  Ukryj listę pakietów i klas |  Pakiety  |  Klasy  |  Nowości  |  Indeks  |  Dodatki  |  Dlaczego język angielski?
Filtry: Pobieranie danych z serwera...
Pobieranie danych z serwera...
com.adobe.icc.editors.handlers 

DataDictionaryHandler  - AS3 Układacz zasobów

Pakietcom.adobe.icc.editors.handlers
Klasapublic class DataDictionaryHandler
DziedziczenieDataDictionaryHandler Inheritance EventDispatcher Inheritance Object
Implementuje IAssetHandler

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

The Handler for the actions requested for asset of type DataDictionary. Handlers are registered with the AssetHandlerRegistry and come into picture when an action is requested on assets that the handlers associate themselves with.



Właściwości publiczne
 WłaściwośćZdefiniowane przez
  assetActions : IList
The list of AssetAction objects maintained by this handler.
DataDictionaryHandler
 Inheritedconstructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu.
Object
  currentAction : AssetAction
The action that the handler is currently executing.
DataDictionaryHandler
  selectedAssets : Array
The array of data dictionary value objects currently selected by the user.
DataDictionaryHandler
  service : DataDictionaryRegistryService
[statyczny] The infrastructure service for handling transfer objects of type Data Dictionary.
DataDictionaryHandler
Metody publiczne
 MetodaZdefiniowane przez
  
Constructor.
DataDictionaryHandler
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Rejestruje obiekt detektora zdarzeń w obiekcie EventDispatcher, dzięki czemu detektor będzie otrzymywał powiadomienia o zdarzeniu.
EventDispatcher
  
Called internally when this handler is handling an action of type Create.
DataDictionaryHandler
 Inherited
Wywołuje zdarzenie, tj. kieruje je do przepływu zdarzeń.
EventDispatcher
  
Called internally when this handler is handling an action of type Edit.
DataDictionaryHandler
  
Returns the asset type handled by this handler.
DataDictionaryHandler
  
Called the Asset Action is delegated to the handler
DataDictionaryHandler
 Inherited
Sprawdza, czy obiekt EventDispatcher zawiera jakiekolwiek detektory zarejestrowane dla konkretnego typu zdarzeń.
EventDispatcher
 Inherited
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość.
Object
  
Called by the asset manager framework giving the handlers a chance to initialize themselves.
DataDictionaryHandler
 Inherited
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr.
Object
 Inherited
Wskazuje, czy określona właściwość istnieje i jest przeliczalna.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Usuwa detektor z obiektu EventDispatcher.
EventDispatcher
 Inherited
Ustawia dostępność właściwości dynamicznej używanej w pętlach.
Object
 Inherited
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych.
Object
 Inherited
Zwraca ciąg reprezentujący określony obiekt.
Object
 Inherited
Zwraca pierwotną wartość dla określonego obiektu.
Object
  
Called internally when this handler is handling an action of type View.
DataDictionaryHandler
 Inherited
Sprawdza, czy detektor zdarzeń określonego typu jest zarejestrowany w tym obiekcie EventDispatcher lub jego elementach macierzystych.
EventDispatcher
Metody chronione
 MetodaZdefiniowane przez
  
Called internally when this handler is handling an action of type Delete.
DataDictionaryHandler
  
handles the default Action(AssetActionEvent.ACTIN_DEFAULT) such as Item double click on search results grid.
DataDictionaryHandler
  
Redispatching the asset action event to show the import Asset Popup
DataDictionaryHandler
  
Called internally when this handler is handling an action of type RevertToLastPublish.
DataDictionaryHandler
  
Called internally when this handler is handling an action of type ExportPackage.
DataDictionaryHandler
  
Called internally when this handler is handling an action of type ImportPackage.
DataDictionaryHandler
  
Called internally when this handler is handling action of type MarkForPublish This method modifies the state of asset to Ready to Publish .
DataDictionaryHandler
  
Called internally when this handler is handling an action of type Publish.
DataDictionaryHandler
  
Called internally when the user selects the button on the Revert To Last Publish Pop up .
DataDictionaryHandler
Zdarzenia
 Zdarzenie Podsumowanie Zdefiniowane przez
 Inherited[zdarzenie broadcast] Wywoływane, gdy program Flash Player lub aplikacja środowiska wykonawczego AIR uzyskuje fokus w systemie operacyjnym i przechodzi w stan aktywny.EventDispatcher
  assetActionsChanged event is thrown by the Handler when the selected item in results viewer change and it updates the correct handler selected assets.DataDictionaryHandler
 Inherited[zdarzenie broadcast] Wywoływane, gdy program Flash Player lub aplikacja AIR traci fokus w systemie operacyjnym i przechodzi w stan nieaktywny.EventDispatcher
  Dispatched when an action handled by this handler requires an editor window to be launched.DataDictionaryHandler
Stałe publiczne
 StałaZdefiniowane przez
  ACTION_CREATE : String = "Create"
[statyczny] Constant for the name of the action related to creation of an asset.
DataDictionaryHandler
  ACTION_DELETE : String = "Delete"
[statyczny] Constant for the name of the action related to deletion of an asset.
DataDictionaryHandler
  ACTION_EDIT : String = "Edit"
[statyczny] Constant for the name of the action related to editing of an asset.
DataDictionaryHandler
  ACTION_EXPORTPACKAGE : String = "ExportPackage"
[statyczny] Constant for the name of the action related to exporting dependencies of an asset.
DataDictionaryHandler
  ACTION_IMPORTPACKAGE : String = "ImportPackage"
[statyczny] Constant for the name of the action related to importing dependencies of an asset.
DataDictionaryHandler
  ACTION_MARKFORPUBLISH : String = "MarkForPublish"
[statyczny] Constant for the name of the action related to activation of an asset.
DataDictionaryHandler
  ACTION_PUBLISH : String = "PublishDD"
[statyczny] Constant for the name of the action related to markforpublish of an asset.
DataDictionaryHandler
  ACTION_REVERTTOLASTPUBLISH : String = "RevertToLastPublish"
[statyczny] Constant for the name of the action related to revert to last publish of an asset.
DataDictionaryHandler
  ACTION_VIEW : String = "View"
[statyczny] Constant for the name of the action related to viewing of an asset.
DataDictionaryHandler
  ASSET_TYPE : String = "DataDictionary"
[statyczny] Constant for the Asset Type handled by this handler.
DataDictionaryHandler
Szczegół właściwości

assetActions

właściwość
assetActions:IList

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

The list of AssetAction objects maintained by this handler. This list is used by the asset manager framework to determine which action to enable. The asset manager framework looks for the value of the enabled flag in the AssetAction object to determine the same and handler updates the flags everytime the list of selected assets changes.

Ta właściwość może być używana jako źródło dla tworzenia powiązań danych. Jeśli ta właściwość zostanie zmodyfikowana, zostanie wywołane zdarzenie propertyChange .



Implementacja
    public function get assetActions():IList
    public function set assetActions(value:IList):void

currentAction

właściwość 
currentAction:AssetAction

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

The action that the handler is currently executing. This is useful in cases when the editor needs to know the action that the working asset is being acted upon. For instance, the editor might need to disable some of the fields if it is a view action.

Ta właściwość może być używana jako źródło dla tworzenia powiązań danych. Jeśli ta właściwość zostanie zmodyfikowana, zostanie wywołane zdarzenie propertyChange .



Implementacja
    public function get currentAction():AssetAction
    public function set currentAction(value:AssetAction):void

selectedAssets

właściwość 
selectedAssets:Array

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

The array of data dictionary value objects currently selected by the user. This is set by the asset manager framework everytime a user selects or deselects an item of type DataDictionary.

Ta właściwość może być używana jako źródło dla tworzenia powiązań danych. Jeśli ta właściwość zostanie zmodyfikowana, zostanie wywołane zdarzenie propertyChange .



Implementacja
    public function get selectedAssets():Array
    public function set selectedAssets(value:Array):void

service

właściwość 
public static var service:DataDictionaryRegistryService

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

The infrastructure service for handling transfer objects of type Data Dictionary.

Konstruktor Szczegół

DataDictionaryHandler

()Konstruktor
public function DataDictionaryHandler()

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Constructor.

Szczegół metody

createDataDictionary

()metoda
public function createDataDictionary():void

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Called internally when this handler is handling an action of type Create. The default implementation creates a new data dictionary domain object, assigns it as the working asset and dispatches the launchEditor event so that the framework can display the editor window to the user. This method can be extended to override the creation behavior of this handler. For instance, if creation requires some preprocessing or some checks that need to be made, the same can be done by overriding this method.

deleteDataDictionary

()metoda 
protected function deleteDataDictionary(showWaring:Boolean = true):mx.rpc:AsyncToken

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Called internally when this handler is handling an action of type Delete. The default implementation deletes s single selected DataDictionary. A confirmation Alert dialog is shown to the user but can be curbed by setting the showWarning flag value to false. The launchEditor event is never dispatched while handling the delete action.

Parametry

showWaring:Boolean (default = true) — Should the warning be shown before deletion

Zwraca
mx.rpc:AsyncTokenAsyncToken token

editDataDictionary

()metoda 
public function editDataDictionary():void

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Called internally when this handler is handling an action of type Edit. The default implementation creates a new data dictionary domain object from the selected data dictionary value object.

getAssetType

()metoda 
public function getAssetType():String

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Returns the asset type handled by this handler. This is used by the asset manager framework to route actions to appropriate handlers.

Zwraca
String — the asset type handled by this handler.

handleAction

()metoda 
public function handleAction(event:AssetActionEvent):void

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Called the Asset Action is delegated to the handler

Parametry

event:AssetActionEventAssetActionEvent containing information about the action

handleDefaultAction

()metoda 
protected function handleDefaultAction(event:AssetActionEvent):void

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

handles the default Action(AssetActionEvent.ACTIN_DEFAULT) such as Item double click on search results grid. If user has edit permission, then asset is opened in edit mode. otherwise if user has view peermission then asset is opened in view mode.

Parametry

event:AssetActionEventAssetActionEvent containing information about the action

handleImportManagerPopUp

()metoda 
protected function handleImportManagerPopUp(event:AssetActionEvent):void

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Redispatching the asset action event to show the import Asset Popup

Parametry

event:AssetActionEventAssetActionEvent containing information about the import action

handleRevertToLastPublish

()metoda 
protected function handleRevertToLastPublish():void

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Called internally when this handler is handling an action of type RevertToLastPublish. This method all the revert to last publish functionality and shows either alert or pop up of all the dependent assets.

initialize

()metoda 
public function initialize():void

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Called by the asset manager framework giving the handlers a chance to initialize themselves.

launchExportPopUp

()metoda 
protected function launchExportPopUp():void

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Called internally when this handler is handling an action of type ExportPackage. This method launches the export Pop up to display all the assets to be exported .

launchImportPopUp

()metoda 
protected function launchImportPopUp():void

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Called internally when this handler is handling an action of type ImportPackage. This method launches the import Pop up to display all the assets to be imported .

markForPublish

()metoda 
protected function markForPublish():void

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Called internally when this handler is handling action of type MarkForPublish This method modifies the state of asset to Ready to Publish .

publish

()metoda 
protected function publish():void

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Called internally when this handler is handling an action of type Publish. This method publishes the asset using id of that asset.

revertToLastPublish

()metoda 
protected function revertToLastPublish(event:CloseEvent):void

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Called internally when the user selects the button on the Revert To Last Publish Pop up .

Parametry

event:CloseEventCloseEvent

viewDataDictionary

()metoda 
public function viewDataDictionary():void

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Called internally when this handler is handling an action of type View. The default implementation creates a new data dictionary domain object from the selected data dictionary value object, assigns it as the working asset and dispatches the launchEditor event so that the framework can display the editor window to the user. This method can be extended to override the "view" behavior of this handler. For instance, if viewing action requires some preprocessing or some checks that need to be made, the same can be done by overriding this method.

Szczegół zdarzenia

assetActionsChanged

Zdarzenie
Typ obiektu zdarzenia: com.adobe.livecycle.assetmanager.client.event.AssetActionsChangeEvent
właściwość AssetActionsChangeEvent.type = com.adobe.livecycle.assetmanager.client.event.AssetActionsChangeEvent

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

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

launchEditor

Zdarzenie  
Typ obiektu zdarzenia: com.adobe.livecycle.assetmanager.client.event.AssetActionEvent
właściwość AssetActionEvent.type = com.adobe.livecycle.assetmanager.client.event.AssetActionEvent

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Dispatched when an action handled by this handler requires an editor window to be launched. Create/View/Edit/Copy are the actions that require displaying the editor window to the user.

Szczegół stałej

ACTION_CREATE

Stała
public static const ACTION_CREATE:String = "Create"

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Constant for the name of the action related to creation of an asset.

ACTION_DELETE

Stała 
public static const ACTION_DELETE:String = "Delete"

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Constant for the name of the action related to deletion of an asset.

ACTION_EDIT

Stała 
public static const ACTION_EDIT:String = "Edit"

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Constant for the name of the action related to editing of an asset.

ACTION_EXPORTPACKAGE

Stała 
public static const ACTION_EXPORTPACKAGE:String = "ExportPackage"

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Constant for the name of the action related to exporting dependencies of an asset.

ACTION_IMPORTPACKAGE

Stała 
public static const ACTION_IMPORTPACKAGE:String = "ImportPackage"

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Constant for the name of the action related to importing dependencies of an asset.

ACTION_MARKFORPUBLISH

Stała 
public static const ACTION_MARKFORPUBLISH:String = "MarkForPublish"

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Constant for the name of the action related to activation of an asset.

ACTION_PUBLISH

Stała 
public static const ACTION_PUBLISH:String = "PublishDD"

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Constant for the name of the action related to markforpublish of an asset.

ACTION_REVERTTOLASTPUBLISH

Stała 
public static const ACTION_REVERTTOLASTPUBLISH:String = "RevertToLastPublish"

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Constant for the name of the action related to revert to last publish of an asset.

ACTION_VIEW

Stała 
public static const ACTION_VIEW:String = "View"

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Constant for the name of the action related to viewing of an asset.

ASSET_TYPE

Stała 
public static const ASSET_TYPE:String = "DataDictionary"

Wersja języka: ActionScript 3.0
Wersja produktu: Asset Composer Building Block 10.0
Wersje środowiska wykonawczego: AIR (unsupported), Flash Player 10.2

Constant for the Asset Type handled by this handler.





[ X ]Dlaczego język angielski?
Treść dokumentacji języka ActionScript 3.0 wyświetlana w języku angielskim

Niektóre części dokumentacji języka ActionScript 3.0 nie są przetłumaczone na poszczególne języki. Gdy element nie jest przetłumaczony na dany język, jest wyświetlany tekst angielski. Na przykład opis klasy ga.controls.HelpBox nie jest przetłumaczony na żaden dodatkowy język. Z tego powodu polska wersja dokumentacji zawiera opis klasy ga.controls.HelpBox w języku angielskim.