패키지 | com.adobe.icc.editors.handlers |
클래스 | public class CategoryHandler |
상속 | CategoryHandler EventDispatcher Object |
구현 | IAssetHandler |
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | AIR (unsupported), Flash Player 10.2 |
속성 | 정의 주체 | ||
---|---|---|---|
assetActions : IList
The list of AssetAction objects maintained by this handler. | CategoryHandler | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | 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 |
메서드 | 정의 주체 | ||
---|---|---|---|
Constructor. | CategoryHandler | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
리스너에서 이벤트 알림을 받을 수 있도록 EventDispatcher 객체에 이벤트 리스너 객체를 등록합니다. | EventDispatcher | ||
이벤트를 이벤트 흐름으로 전달합니다. | 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 객체에 특정 유형의 이벤트에 대한 리스너가 등록되어 있는지 여부를 확인합니다. | EventDispatcher | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
Called by the asset manager framework giving the handlers a chance to initialize themselves. | CategoryHandler | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
EventDispatcher 객체에서 리스너를 제거합니다. | EventDispatcher | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object | ||
이 EventDispatcher 객체 또는 조상 객체에 지정한 이벤트 유형에 대한 이벤트 리스너가 등록되어 있는지 여부를 확인합니다. | EventDispatcher |
메서드 | 정의 주체 | ||
---|---|---|---|
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 |
이벤트 | 요약 | 정의 주체 | ||
---|---|---|---|---|
[브로드캐스트 이벤트] Flash Player 또는 AIR 응용 프로그램이 운영 체제 포커스를 얻어 활성화될 때 전달됩니다. | 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 | |||
[브로드캐스트 이벤트] Flash Player 또는 AIR 응용 프로그램이 운영 체제 포커스를 잃고 비활성화될 때 전달됩니다. | EventDispatcher | |||
Dispatched when an action handled by this handler requires an editor window to be launched. | CategoryHandler |
상수 | 정의 주체 | ||
---|---|---|---|
ACTION_CREATE : String = "Create" [정적]
Constant for the name of the action related to creation of an asset. | CategoryHandler | ||
ACTION_DELETE : String = "Delete" [정적]
Constant for the name of the action related to deletion of an asset. | CategoryHandler | ||
ACTION_EDIT : String = "Edit" [정적]
Constant for the name of the action related to editing of an asset. | CategoryHandler | ||
ACTION_VIEW : String = "View" [정적]
Constant for the name of the action related to viewing of an asset. | CategoryHandler | ||
ACTION_VIEW_DEPENDENCY : String = "ViewDependency" [정적]
Constant for the name of the action related to view dependencies of an asset. | CategoryHandler | ||
ASSET_TYPE : String = "Category" [정적]
Constant for the Asset Type handled by this handler. | CategoryHandler |
assetActions | 속성 |
assetActions:IList
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | 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.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get assetActions():IList
public function set assetActions(value:IList):void
currentAction | 속성 |
currentAction:AssetAction
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | 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.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get currentAction():AssetAction
public function set currentAction(value:AssetAction):void
selectedAssets | 속성 |
selectedAssets:Array
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | 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.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get selectedAssets():Array
public function set selectedAssets(value:Array):void
workingAsset | 속성 |
workingAsset:CategoryModel
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | 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.
이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange
이벤트를 전달합니다.
구현
public function get workingAsset():CategoryModel
public function set workingAsset(value:CategoryModel):void
CategoryHandler | () | 생성자 |
public function CategoryHandler()
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | AIR (unsupported), Flash Player 10.2 |
Constructor.
createCategory | () | 메서드 |
protected function createCategory():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | 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 | () | 메서드 |
protected function deleteCategories(showWaring:Boolean = true):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | 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.
매개 변수
showWaring:Boolean (default = true ) — Should the warning dialog be shown before deleting the Category.
|
editCategory | () | 메서드 |
protected function editCategory():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | 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 | () | 메서드 |
public function getAssetType():String
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | 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.
반환값String — the asset type handled by this handler
|
handleAction | () | 메서드 |
public function handleAction(event:AssetActionEvent):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | 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.
매개 변수
event:AssetActionEvent — The event object of type AssetActionEvent that is raised by the asset manager framework
|
handleDefaultAction | () | 메서드 |
protected function handleDefaultAction(event:AssetActionEvent):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | 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.
매개 변수
event:AssetActionEvent — AssetActionEvent containing the action information.
|
initialize | () | 메서드 |
public function initialize():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | AIR (unsupported), Flash Player 10.2 |
Called by the asset manager framework giving the handlers a chance to initialize themselves.
viewCategory | () | 메서드 |
protected function viewCategory():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | 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 | 이벤트 |
com.adobe.livecycle.assetmanager.client.event.AssetActionCompleteEvent
속성 AssetActionCompleteEvent.type =
com.adobe.livecycle.assetmanager.client.event.AssetActionCompleteEvent
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | 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 | 이벤트 |
com.adobe.livecycle.assetmanager.client.event.AssetActionsChangeEvent
속성 AssetActionsChangeEvent.type =
com.adobe.livecycle.assetmanager.client.event.AssetActionsChangeEvent
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 10 |
런타임 버전: | 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 | 이벤트 |
com.adobe.livecycle.assetmanager.client.event.AssetActionEvent
속성 AssetActionEvent.type =
com.adobe.livecycle.assetmanager.client.event.AssetActionEvent
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | 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 | 상수 |
public static const ACTION_CREATE:String = "Create"
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to creation of an asset.
ACTION_DELETE | 상수 |
public static const ACTION_DELETE:String = "Delete"
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to deletion of an asset.
ACTION_EDIT | 상수 |
public static const ACTION_EDIT:String = "Edit"
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to editing of an asset.
ACTION_VIEW | 상수 |
public static const ACTION_VIEW:String = "View"
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to viewing of an asset.
ACTION_VIEW_DEPENDENCY | 상수 |
public static const ACTION_VIEW_DEPENDENCY:String = "ViewDependency"
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 10.0 |
런타임 버전: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to view dependencies of an asset.
ASSET_TYPE | 상수 |
public static const ASSET_TYPE:String = "Category"
언어 버전: | ActionScript 3.0 |
제품 버전: | Asset Composer Building Block 9.5 |
런타임 버전: | AIR (unsupported), Flash Player 10.2 |
Constant for the Asset Type handled by this handler.
Tue Jun 12 2018, 03:17 PM Z