Paket | com.adobe.icc.editors.handlers |
Sınıf | public class CategoryHandler |
Miras Alma | CategoryHandler ![]() ![]() |
Uygular | IAssetHandler |
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Özellik | Tanımlayan: | ||
---|---|---|---|
assetActions : IList
The list of AssetAction objects maintained by this handler. | CategoryHandler | ||
![]() | constructor : Object
Belirli bir nesne örneği için sınıf nesnesine veya yapıcı işlevine bir başvuru. | Object | |
currentAction : AssetAction
The action that the handler is currently executing. | CategoryHandler | ||
selectedAssets : Array
The array of category value objects currently selected by the user. | CategoryHandler | ||
workingAsset : CategoryModel
The Category Domain Object that the handler is currently working with. | CategoryHandler |
Yöntem | Tanımlayan: | ||
---|---|---|---|
Constructor. | CategoryHandler | ||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
EventDispatcher nesnesi olan bir olay dinleyici nesnesini, dinleyicinin bir olayın bildirimini alması için kaydeder. | EventDispatcher | |
![]() |
Olay akışına bir olay gönderir. | EventDispatcher | |
Returns the asset type handled by this handler. | CategoryHandler | ||
This method is invoked by the asset manager framework whenever user requests an action
on an object of type category. | CategoryHandler | ||
![]() |
EventDispatcher nesnesinin belirli bir olay türü için kayıtlı dinleyicisi olup olmadığını kontrol eder. | EventDispatcher | |
![]() |
Bir nesnenin belirli bir özelliğinin tanımlı olup olmadığını gösterir. | Object | |
Called by the asset manager framework giving the handlers a chance to initialize themselves. | CategoryHandler | ||
![]() |
Object sınıfının bir örneğinin parametre olarak belirtilen nesnenin prototip zincirinde olup olmadığını gösterir. | Object | |
![]() |
Belirtilen özelliğin bulunup bulunmadığını ve numaralandırılabilir olup olmadığını gösterir. | Object | |
![]() |
EventDispatcher nesnesinden bir dinleyiciyi kaldırır. | EventDispatcher | |
![]() |
Dinamik bir özelliğin döngü işlemlerinde kullanılabilirliğini ayarlar. | Object | |
![]() |
Bu nesnenin, yerel ayara özel kurallara göre biçimlendirilmiş dize temsilini döndürür. | Object | |
![]() |
Belirtilen nesnenin dize olarak temsil edilen halini döndürür. | Object | |
![]() |
Belirtilen nesnenin temel değerini döndürür. | Object | |
![]() |
Bir olay dinleyicisinin bu EventDispatcher nesnesiyle mi, yoksa onun belirtilen olay türüne yönelik üst öğelerinden biriyle mi kayıtlı olduğunu kontrol eder. | EventDispatcher |
Yöntem | Tanımlayan: | ||
---|---|---|---|
Called internally when this handler is handling an action of type Create. | CategoryHandler | ||
Called internally when this handler is handling an action of type Delete. | CategoryHandler | ||
Called internally when this handler is handling an action of type Edit. | CategoryHandler | ||
handles the default Action(AssetActionEvent.ACTIN_DEFAULT) such as Item double click on search results grid. | CategoryHandler | ||
Called internally when this handler is handling an action of type View. | CategoryHandler |
Olay | Özet | Tanımlayan: | ||
---|---|---|---|---|
![]() | [broadcast olayı] Flash Player veya AIR uygulaması işletim sistemi odağına gelip etkin olduğunda gönderilir. | EventDispatcher | ||
Dispatched when an handling of an action is complete. | CategoryHandler | |||
assetActionsChanged event is thrown by the Handler when the selected item in results viewer change and it updates the correct handler selected assets. | CategoryHandler | |||
![]() | [broadcast olayı] Çalışan Flash Player veya AIR uygulaması sistem odağını kaybettiğinde ve etkin olmayan duruma geldiğinde gönderilir. | EventDispatcher | ||
Dispatched when an action handled by this handler requires an editor window to be launched. | CategoryHandler |
Sabit | Tanımlayan: | ||
---|---|---|---|
ACTION_CREATE : String = "Create" [statik]
Constant for the name of the action related to creation of an asset. | CategoryHandler | ||
ACTION_DELETE : String = "Delete" [statik]
Constant for the name of the action related to deletion of an asset. | CategoryHandler | ||
ACTION_EDIT : String = "Edit" [statik]
Constant for the name of the action related to editing of an asset. | CategoryHandler | ||
ACTION_VIEW : String = "View" [statik]
Constant for the name of the action related to viewing of an asset. | CategoryHandler | ||
ACTION_VIEW_DEPENDENCY : String = "ViewDependency" [statik]
Constant for the name of the action related to view dependencies of an asset. | CategoryHandler | ||
ASSET_TYPE : String = "Category" [statik]
Constant for the Asset Type handled by this handler. | CategoryHandler |
assetActions | özellik |
assetActions:IList
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | 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.
Bu özellik veri ciltleme kaynağı olarak kullanılabilir. Bu özellik değiştirildiğinde, propertyChange
olayını gönderir.
Uygulama
public function get assetActions():IList
public function set assetActions(value:IList):void
currentAction | özellik |
currentAction:AssetAction
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | 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.
Bu özellik veri ciltleme kaynağı olarak kullanılabilir. Bu özellik değiştirildiğinde, propertyChange
olayını gönderir.
Uygulama
public function get currentAction():AssetAction
public function set currentAction(value:AssetAction):void
selectedAssets | özellik |
selectedAssets:Array
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
The array of category 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 category.
Bu özellik veri ciltleme kaynağı olarak kullanılabilir. Bu özellik değiştirildiğinde, propertyChange
olayını gönderir.
Uygulama
public function get selectedAssets():Array
public function set selectedAssets(value:Array):void
workingAsset | özellik |
workingAsset:CategoryModel
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
The Category Domain Object that the handler is currently working with. The handler creates this domain object from the shallow value object that it receives from the asset manager framework. The working asset is used by the asset editor to display the asset to the user in a desired presentation format.
Bu özellik veri ciltleme kaynağı olarak kullanılabilir. Bu özellik değiştirildiğinde, propertyChange
olayını gönderir.
Uygulama
public function get workingAsset():CategoryModel
public function set workingAsset(value:CategoryModel):void
CategoryHandler | () | Yapıcı |
public function CategoryHandler()
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Constructor.
createCategory | () | yöntem |
protected function createCategory():void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Called internally when this handler is handling an action of type Create. The default implementation creates a new category 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.
deleteCategories | () | yöntem |
protected function deleteCategories(showWaring:Boolean = true):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Called internally when this handler is handling an action of type Delete. The default implementation iteratively deletes all the selected category value objects. A confirmation Alert dialog is shown to the user but can be curbed by setting the showWarning flag value to false. Deletion does not require creation of a domain object. Hence, the delete action has no impact on the value of working asset. Moreover, the launchEditor event is never dispatched while handling the delete action.
Parametreler
showWaring:Boolean (default = true ) — Should the warning dialog be shown before deleting the Category.
|
editCategory | () | yöntem |
protected function editCategory():void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Called internally when this handler is handling an action of type Edit. The default implementation creates a new category domain object from the selected category value object.
getAssetType | () | yöntem |
public function getAssetType():String
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | 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.
DöndürürString — the asset type handled by this handler
|
handleAction | () | yöntem |
public function handleAction(event:AssetActionEvent):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | 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 category. This method is called for all the actions requested by the user. The action handling is internally routed to the correcting templatized methods like createLayout(), editLayout() etc.
Parametreler
event:AssetActionEvent — The event object of type AssetActionEvent that is raised by the asset manager framework
|
handleDefaultAction | () | yöntem |
protected function handleDefaultAction(event:AssetActionEvent):void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | 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.
Parametreler
event:AssetActionEvent — AssetActionEvent containing the action information.
|
initialize | () | yöntem |
public function initialize():void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Called by the asset manager framework giving the handlers a chance to initialize themselves.
viewCategory | () | yöntem |
protected function viewCategory():void
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Called internally when this handler is handling an action of type View. The default implementation creates a new category domain object from the selected category 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.
assetActionComplete | Olay |
com.adobe.livecycle.assetmanager.client.event.AssetActionCompleteEvent
özellik AssetActionCompleteEvent.type =
com.adobe.livecycle.assetmanager.client.event.AssetActionCompleteEvent
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Dispatched when an 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 | Olay |
com.adobe.livecycle.assetmanager.client.event.AssetActionsChangeEvent
özellik AssetActionsChangeEvent.type =
com.adobe.livecycle.assetmanager.client.event.AssetActionsChangeEvent
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 10 |
Çalışma Zamanı Sürümleri: | 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 | Olay |
com.adobe.livecycle.assetmanager.client.event.AssetActionEvent
özellik AssetActionEvent.type =
com.adobe.livecycle.assetmanager.client.event.AssetActionEvent
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | 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.
ACTION_CREATE | Sabit |
public static const ACTION_CREATE:String = "Create"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to creation of an asset.
ACTION_DELETE | Sabit |
public static const ACTION_DELETE:String = "Delete"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to deletion of an asset.
ACTION_EDIT | Sabit |
public static const ACTION_EDIT:String = "Edit"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to editing of an asset.
ACTION_VIEW | Sabit |
public static const ACTION_VIEW:String = "View"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to viewing of an asset.
ACTION_VIEW_DEPENDENCY | Sabit |
public static const ACTION_VIEW_DEPENDENCY:String = "ViewDependency"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 10.0 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to view dependencies of an asset.
ASSET_TYPE | Sabit |
public static const ASSET_TYPE:String = "Category"
Dil Sürümü: | ActionScript 3.0 |
Ürün Sürümü: | Asset Composer Building Block 9.5 |
Çalışma Zamanı Sürümleri: | AIR (unsupported), Flash Player 10.2 |
Constant for the Asset Type handled by this handler.
Tue Jun 12 2018, 01:09 PM Z