Pacchetto | com.adobe.icc.editors.managers |
Classe | public class CategoryManager |
Ereditarietà | CategoryManager EventDispatcher Object |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10 |
Versioni runtime: | 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.
Proprietà | Definito da | ||
---|---|---|---|
allCategories : IList
The aggregated list of all the categories present in the system. | CategoryManager | ||
constructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object | ||
mainCategories : ListCollectionView
The list of categories existing in the system
| CategoryManager | ||
subCategories : ListCollectionView
The list of sub-categories existing in the system
| CategoryManager |
Metodo | Definito da | ||
---|---|---|---|
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 | ||
Invia un evento nel flusso di eventi. | EventDispatcher | ||
Fetches the categories from the backend server. | CategoryManager | ||
[statico]
Gets the single instance of the CategoryManager class. | CategoryManager | ||
Verifica se per l'oggetto EventDispatcher sono presenti listener registrati per un tipo specifico di evento. | EventDispatcher | ||
Indica se per un oggetto è definita una proprietà specifica. | Object | ||
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | ||
Indica se la proprietà specificata esiste ed è enumerabile. | Object | ||
Rimuove un listener dall'oggetto EventDispatcher. | EventDispatcher | ||
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | ||
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | ||
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | ||
Restituisce il valore di base dell'oggetto specificato. | Object | ||
Verifica se un listener di eventi è registrato con questo oggetto EventDispatcher o qualsiasi suo antenato per il tipo di evento specificato. | EventDispatcher |
Evento | Riepilogo | Definito da | ||
---|---|---|---|---|
[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 | |||
[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 the list of categories and subcategories have been successfully fetched from the server. | CategoryManager |
allCategories | proprietà |
allCategories:IList
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10 |
Versioni runtime: | 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.
Implementazione
public function get allCategories():IList
public function set allCategories(value:IList):void
mainCategories | proprietà |
mainCategories:ListCollectionView
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
The list of categories existing in the system
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 mainCategories():ListCollectionView
public function set mainCategories(value:ListCollectionView):void
subCategories | proprietà |
subCategories:ListCollectionView
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
The list of sub-categories existing in the system
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 subCategories():ListCollectionView
public function set subCategories(value:ListCollectionView):void
fetchCategories | () | metodo |
public function fetchCategories():void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10 |
Versioni runtime: | 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 | () | metodo |
public static function getInstance():CategoryManager
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Gets the single instance of the CategoryManager class. This object manages the category and sub-category lists.
RestituisceCategoryManager — An object of type CategoryManager.
|
fetchComplete | Evento |
flash.events.Event
proprietà Event.type =
flash.events.Event
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10 |
Versioni runtime: | 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, 02:44 PM Z