(Beta)
Package | com.adobe.mosaic.om.interfaces |
Interface | public interface ICatalog |
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
ICatalog
interface represents a particular catalog, and provides methods for retrieving
tiles from a catalog deployed to the server.
Public Properties
Property | Defined By | ||
---|---|---|---|
uri : String [read-only]
Returns the URI of this catalog, which is defined in the application(s) that reference this catalog. | ICatalog |
Public Methods
Method | Defined By | ||
---|---|---|---|
Returns the panel with the given name from this Catalog. | ICatalog | ||
Retrieves a tile from a Service Library in the catalog. | ICatalog | ||
Retrieves a tile from the catalog to add to an application. | ICatalog | ||
Returns the view with the given name from this Catalog. | ICatalog |
Property Detail
uri | property |
uri:String
[read-only] Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
Returns the URI of this catalog, which is defined in the application(s) that reference this catalog.
Implementation
public function get uri():String
Method Detail
getPanel | () | method |
public function getPanel(n:String):IPanel
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
Returns the panel with the given name from this Catalog.
Parameters
n:String — The name of the panel in the catalog. This corresponds to the name attribute in the deployed catalog.
|
IPanel — The named panel from the catalog.
|
getService | () | method |
public function getService(name:String, library:String):IService
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
Retrieves a tile from a Service Library in the catalog.
Parameters
name:String — The name of the service class
| |
library:String — The service library name that holds the service class
|
IService — The Service stored in the catalog
|
Related API Elements
getTile | () | method |
public function getTile(n:String):com.adobe.mosaic.om.interfaces:ITile
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
Retrieves a tile from the catalog to add to an application. This method sets all the default parameters required for the tile to function.
Parameters
n:String — The name of the tile in the catalog. This corresponds to the name attribute in the deployed catalog.
|
com.adobe.mosaic.om.interfaces:ITile — The tile that implements ITile .
|
Related API Elements
Example
How to use this example
This example retrieves a tile named "sampleTile" from the catalog "sample_catalog", and adds the tile to the current panel:
var c:ICatalog = mosaicApp.getCatalog("sample_catalog"); var t:ITile = c.getTile("sampleTile"); this.parentPanel.addTile(t);
getView | () | method |
public function getView(n:String):IView
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5 |
Runtime Versions: | AIR 2.0.2, Flash Player 10.1 |
Returns the view with the given name from this Catalog.
Parameters
n:String — The name of the view in the catalog. This corresponds to the name attribute in the deployed catalog.
|
IView — The named view from the catalog.
|
Examples How to use this example
ICatalog_example.mxml
var catalog:ICatalog = mosaicApp.getCatalog("MyCatalog"); var tile:ITile = catalog.getTile(“MyTile�);
Wed Nov 21 2018, 06:34 AM -08:00