| Paket | com.adobe.icc.editors.managers |
| Sınıf | public class CategoryManager |
| Miras Alma | CategoryManager EventDispatcher Object |
| 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 |
CategoryManager class helps retrieve and maintain
the list of categories and sub-categories existing in the system.
CategoryManager is a singleton class that acts as
the source of truth for listing the categories in the system. For
performance reasons, all application components should query the
CategoryManager instead of querying the server directly for
categories.
The CategoryManager caches the category and
sub-category and saves redundant server calls. The maintained lists
are auto-updated via LCDS server-push whenever a new category is
added or an existing category is updated locally or on remote clients.
| Özellik | Tanımlayan: | ||
|---|---|---|---|
| allCategories : IList
The aggregated list of all the categories present in the system. | CategoryManager | ||
![]() | constructor : Object
Belirli bir nesne örneği için sınıf nesnesine veya yapıcı işlevine bir başvuru. | Object | |
| mainCategories : ListCollectionView
The list of categories existing in the system
| CategoryManager | ||
| subCategories : ListCollectionView
The list of sub-categories existing in the system
| CategoryManager | ||
| Yöntem | Tanımlayan: | ||
|---|---|---|---|
![]() | 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 | |
Fetches the categories from the backend server. | CategoryManager | ||
[statik]
Gets the single instance of the CategoryManager class. | CategoryManager | ||
![]() |
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 | |
![]() |
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 | |
| Olay | Özet | Tanımlayan: | ||
|---|---|---|---|---|
![]() | [broadcast olayı] Flash Player veya AIR uygulaması işletim sistemi odağına gelip etkin olduğunda gönderilir. | EventDispatcher | ||
![]() | [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 the list of categories and subcategories have been successfully fetched from the server. | CategoryManager | |||
allCategories | özellik |
allCategories:IList| 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 |
The aggregated list of all the categories present in the system. This list includes both categories and sub-categories.
Uygulama
public function get allCategories():IList public function set allCategories(value:IList):voidmainCategories | özellik |
mainCategories:ListCollectionView| 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 |
The list of categories existing in the system
Bu özellik veri ciltleme kaynağı olarak kullanılabilir. Bu özellik değiştirildiğinde, propertyChange olayını gönderir.
Uygulama
public function get mainCategories():ListCollectionView public function set mainCategories(value:ListCollectionView):voidsubCategories | özellik |
subCategories:ListCollectionView| 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 |
The list of sub-categories existing in the system
Bu özellik veri ciltleme kaynağı olarak kullanılabilir. Bu özellik değiştirildiğinde, propertyChange olayını gönderir.
Uygulama
public function get subCategories():ListCollectionView public function set subCategories(value:ListCollectionView):voidfetchCategories | () | yöntem |
public function fetchCategories():void| 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 |
Fetches the categories from the backend server.
This method must be explicitly called at least once,
by the user application so as to let the CategoryManager
obtain the list of categories and sub-categories from the server.
Subsequent category updates or creations, either locally or remotely, are automatically pushed to the list properties.
getInstance | () | yöntem |
public static function getInstance():CategoryManager| 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 |
Gets the single instance of the CategoryManager class. This object manages the category and sub-category lists.
DöndürürCategoryManager — An object of type CategoryManager.
|
fetchComplete | Olay |
flash.events.Eventözellik Event.type =
flash.events.Event| 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 |
Dispatched when the list of categories and subcategories
have been successfully fetched from the server. The fetch request
can be made by invoking the fetchCategories() method
of this class. This event is dispatched when the asynchronous server
call completes.
Tue Jun 12 2018, 01:09 PM Z
Miras Alınan Genel Özellikleri Gizle
Miras Alınan Genel Özellikleri Göster