Guida di riferimento di ActionScript® 3.0 per la piattaforma Adobe® Flash®
Home  |  Nascondi elenco pacchetti e classi |  Pacchetti  |  Classi  |  Novità  |  Indice  |  Appendici  |  Perché in inglese?
Filtri: Recupero dati dal server...
Recupero dati dal server...
com.adobe.icc.editors.handlers 

BaseAssetHandler  - AS3 Asset Composer

Pacchettocom.adobe.icc.editors.handlers
Classepublic class BaseAssetHandler
EreditarietàBaseAssetHandler Inheritance EventDispatcher Inheritance Object
Implementa IAssetHandler

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 10
Versioni runtime: AIR (unsupported), Flash Player 10.2

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



Proprietà pubbliche
 ProprietàDefinito da
  assetActions : IList
The list of AssetAction objects maintained by this handler.
BaseAssetHandler
  assetType : String
The type of asset being handled by this handler.
BaseAssetHandler
 Inheritedconstructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto.
Object
  selectedAssets : Array
The array of text value objects currently selected by the user.
BaseAssetHandler
Metodi pubblici
 MetodoDefinito da
  
Constructor.
BaseAssetHandler
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un oggetto listener di eventi con un oggetto EventDispatcher, in modo che il listener riceva la notifica di un evento.
EventDispatcher
 Inherited
Invia un evento nel flusso di eventi.
EventDispatcher
  
Returns the asset type handled by this handler.
BaseAssetHandler
  
This method is invoked by the asset manager framework whenever user requests an action on an object of type dataModule and then it delegates call to its respective handler.
BaseAssetHandler
 Inherited
Verifica se per l'oggetto EventDispatcher sono presenti listener registrati per un tipo specifico di evento.
EventDispatcher
 Inherited
Indica se per un oggetto è definita una proprietà specifica.
Object
  
Called by the asset manager framework giving the handlers a chance to initialize themselves.
BaseAssetHandler
 Inherited
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro.
Object
 Inherited
Indica se la proprietà specificata esiste ed è enumerabile.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Rimuove un listener dall'oggetto EventDispatcher.
EventDispatcher
 Inherited
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche.
Object
 Inherited
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate.
Object
 Inherited
Restituisce la rappresentazione in formato stringa dell'oggetto specificato.
Object
 Inherited
Restituisce il valore di base dell'oggetto specificato.
Object
 Inherited
Verifica se un listener di eventi è registrato con questo oggetto EventDispatcher o qualsiasi suo antenato per il tipo di evento specificato.
EventDispatcher
Metodi protetti
 MetodoDefinito da
  
Dispatch Asset Action Event thrown by the export manager so that i could be listened in the Amapplication.as
BaseAssetHandler
  
Called internally when this handler is handling an action of type ExportPackage.
BaseAssetHandler
  
Called internally when this handler is handling an action of type ImportPackage.
BaseAssetHandler
Eventi
 Evento Riepilogo Definito da
 Inherited[evento di trasmissione] Inviato quando Flash Player o l'applicazione AIR ottiene lo stato di attivazione del sistema operativo ed entra nello stato attivo.EventDispatcher
  Dispatched when the handling of an action is complete.BaseAssetHandler
  assetActionsChanged event is thrown by the Handler when the selected item in results viewer change and it updates the correct handler selected assets.BaseAssetHandler
 Inherited[evento di trasmissione] Inviato quando Flash Player o l'applicazione AIR perde l'attivazione del sistema operativo e sta entrando nello stato inattivo.EventDispatcher
  Dispatched when an action handled by this handler requires an editor window to be launched.BaseAssetHandler
Costanti pubbliche
 CostanteDefinito da
  ACTION_EXPORTPACKAGE : String = "ExportPackage"
[statico] Constant for the name of the action related to exporting dependencies of an asset.
BaseAssetHandler
  ACTION_IMPORTPACKAGE : String = "ImportPackage"
[statico] Constant for the name of the action related to importing dependencies of an asset.
BaseAssetHandler
  ASSET_TYPE : String = "Asset"
[statico] Constant for the Asset Type handled by this handler.
BaseAssetHandler
  DATA_ASSET_TYPE : String = "DataModule"
[statico] Constant for the Data Module handled by this handler
BaseAssetHandler
Descrizione delle proprietà

assetActions

proprietà
assetActions:IList

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 10.0
Versioni runtime: 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.

Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .



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

assetType

proprietà 
public var assetType:String

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 10.0
Versioni runtime: AIR (unsupported), Flash Player 10.2

The type of asset being handled by this handler.

selectedAssets

proprietà 
selectedAssets:Array

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 10.0
Versioni runtime: AIR (unsupported), Flash Player 10.2

The array of text 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 text.

Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .



Implementazione
    public function get selectedAssets():Array
    public function set selectedAssets(value:Array):void
Descrizione della funzione di costruzione

BaseAssetHandler

()Funzione di costruzione
public function BaseAssetHandler(assetType:String)

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 10.0
Versioni runtime: AIR (unsupported), Flash Player 10.2

Constructor.

Parametri
assetType:String — Asset Type associated with the handler
Descrizione dei metodi

getAssetType

()metodo
public function getAssetType():String

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 10.0
Versioni runtime: 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.

Restituisce
String — the asset type handled by this handler

handleAction

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

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 10.0
Versioni runtime: AIR (unsupported), Flash Player 10.2

This method is invoked by the asset manager framework whenever user requests an action on an object of type dataModule and then it delegates call to its respective handler. This method is called for all the actions requested by the user. The action handling is internally routed to the correcting templatized methods like createImage(), editImage() etc.

Parametri

event:AssetActionEvent — The event object of type AssetActionEvent that is raised by the asset manager framework

handleImportManagerPopUp

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

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 10.0
Versioni runtime: AIR (unsupported), Flash Player 10.2

Dispatch Asset Action Event thrown by the export manager so that i could be listened in the Amapplication.as

Parametri

event:AssetActionEventAssetActionEvent containing information about the import action

initialize

()metodo 
public function initialize():void

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 10.0
Versioni runtime: AIR (unsupported), Flash Player 10.2

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

launchExportPopUp

()metodo 
protected function launchExportPopUp():void

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 10.0
Versioni runtime: 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

()metodo 
protected function launchImportPopUp():void

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 10.0
Versioni runtime: 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 .

Descrizione degli eventi

assetActionComplete

Evento
Tipo di oggetto evento: com.adobe.livecycle.assetmanager.client.event.AssetActionCompleteEvent
proprietà AssetActionCompleteEvent.type = com.adobe.livecycle.assetmanager.client.event.AssetActionCompleteEvent

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 10
Versioni runtime: AIR (unsupported), Flash Player 10.2

Dispatched when the handling of an action is complete. This can be used by the framework or the application to perform any additional activities e.g. display of a toast, alert box etc.

assetActionsChanged

Evento  
Tipo di oggetto evento: com.adobe.livecycle.assetmanager.client.event.AssetActionsChangeEvent
proprietà AssetActionsChangeEvent.type = com.adobe.livecycle.assetmanager.client.event.AssetActionsChangeEvent

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 10
Versioni runtime: 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

Evento  
Tipo di oggetto evento: com.adobe.livecycle.assetmanager.client.event.AssetActionEvent
proprietà AssetActionEvent.type = com.adobe.livecycle.assetmanager.client.event.AssetActionEvent

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 10
Versioni runtime: 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.

Descrizione delle costanti

ACTION_EXPORTPACKAGE

Costante
public static const ACTION_EXPORTPACKAGE:String = "ExportPackage"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 10.0
Versioni runtime: AIR (unsupported), Flash Player 10.2

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

ACTION_IMPORTPACKAGE

Costante 
public static const ACTION_IMPORTPACKAGE:String = "ImportPackage"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 10.0
Versioni runtime: AIR (unsupported), Flash Player 10.2

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

ASSET_TYPE

Costante 
public static const ASSET_TYPE:String = "Asset"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 10.0
Versioni runtime: AIR (unsupported), Flash Player 10.2

Constant for the Asset Type handled by this handler.

DATA_ASSET_TYPE

Costante 
public static const DATA_ASSET_TYPE:String = "DataModule"

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Asset Composer 10.0
Versioni runtime: AIR (unsupported), Flash Player 10.2

Constant for the Data Module handled by this handler





[ X ]Perché in inglese?
Il contenuto della Guida di riferimento di ActionScript 3.0 appare in inglese

Non tutte le parti della Guida di riferimento di ActionScript 3.0 sono tradotte in tutte le lingue. Quando un elemento del linguaggio non è tradotto, viene riportato in inglese. Ad esempio, la classe ga.controls.HelpBox non è tradotta in nessuna lingua. Pertanto, nella versione italiana della guida di riferimento, la descrizione della classe ga.controls.HelpBox è riportata in inglese.