Adobe® Flash® Platform için ActionScript® 3.0 Başvurusu
Ana Sayfa  |  Paket ve Sınıf Listesini Gizle |  Paketler  |  Sınıflar  |  Yenilikler  |  Dizin  |  Ekler  |  Niçin İngilizce?
Filtreler: Sunucudan Veri Alınıyor...
Sunucudan Veri Alınıyor...
com.adobe.mosaic.mxml 

Application  - AS3 ADEP Composite Application

Paketcom.adobe.mosaic.mxml
Sınıfpublic class Application
Miras AlmaApplication Inheritance FrameworkInitializer
Uygular IMXMLObject

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Çalışma Zamanı Sürümleri: AIR 2.6, Flash Player 10.2

The Application mxml component represents a composite application that can placed onto the Flex Display List using the composite application shell MXML component. An Application contains a reference to a composite application's IApplication using the applicationNode property. This underlying IApplication can be considered either:
  • A Transient Application: An Application that has an Ad-hoc nature and does not reside server side.
  • A CADL Application: An Application loaded by name and in the form of CADL markup (Composite Application Description Language) which is contained in a descriptor file that resides on the Experience Server.

The Application component is strictly for loading an IApplication and its "DOM", not for rendering. The Shell and Tile components are meant for rendering composite application display components on the Flex Display List.

When setting up an Application component: The serverSession property is not required, and should not be set when generating a "Transient" Application DOM. The name property is only required when the serverSession property has been set. The name property represents the CADL name of the Application in residence on the Experience Server. Use the composite application shell component for rendering the DOM of a CADL Application loaded by name. Use the composite application tile component for rendering individual Tiles for a Transient Application.

Örnekleri görüntüle

İlgili API Öğeleri



Genel Özellikler
 ÖzellikTanımlayan:
  applicationNode : IApplication
[salt okunur] Returns the underlying Composite Application Framework SDK IApplication.
Application
  catalogs : Vector.<ICatalogSpecifier>
Returns all of the catalogs that this Application has been given reference to.
Application
  context : IContext
[salt okunur] Returns the underlying IApplication's IContext.
Application
  loaded : Boolean
[salt okunur] Checks if the underlying IApplication is instantiated.
Application
  messageBus : IMessageBus
[salt okunur] Returns the IApplication as the IMessageBus.
Application
  name : String
Returns the set name of the Application (not required for "Transient" Applications)
Application
  serverSession : ServerSession
Returns the ServerSession instance associated to this Application.
Application
  shell : IShell
[salt okunur] Returns the IShell instance associated with the underlying IApplication.
Application
  state : String
[salt okunur] Returns the state of this Application mxml component only.
Application
Genel Yöntemler
 YöntemTanımlayan:
  
Constructor.
Application
  
Initializes either a "Transient" or "CADL" Application.
Application
  
Implementation of IMXMLObject initialized, makes a call to initializeApplication
Application
  
loadCatalog(specifier:ICatalogSpecifier, onSuccess:Function = null, onFailure:Function = null):void
Loads a Catalog specified in the passed in ICatalogSpecifier via the underlying IApplication.
Application
  
Makes a request to load all of the ICatalog's that this Application has in its catalogs collection (of ICatalogSpecifier).
Application
  
Makes a request to load an IApplication by the name passed in if the ServerSession is not null and it is in a ServerConstants.STATE_CONNECTED state.
Application
Olaylar
 Olay Özet Tanımlayan:
  The catalogLoadEventFailure defines a failure notification of an attempt to load a CatalogApplication
  The catalogLoadEventSuccess defines a successful notification of loading a CatalogApplication
  The loadApplicationEventFailure defines a failure notification of an attempt to load an ApplicationApplication
  The loadApplicationEventSuccess defines a successful notification of loading an ApplicationApplication
Özellik Ayrıntısı

applicationNode

özellik
applicationNode:IApplication  [salt okunur]

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Çalışma Zamanı Sürümleri: AIR 2.6, Flash Player 10.2

Returns the underlying Composite Application Framework SDK IApplication.



Uygulama
    public function get applicationNode():IApplication

İlgili API Öğeleri

com.adobe.mosaic.om.interfaces.IApplication.

catalogs

özellik 
catalogs:Vector.<ICatalogSpecifier>

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Çalışma Zamanı Sürümleri: AIR 2.6, Flash Player 10.2

Returns all of the catalogs that this Application has been given reference to.



Uygulama
    public function get catalogs():Vector.<ICatalogSpecifier>
    public function set catalogs(value:Vector.<ICatalogSpecifier>):void

İlgili API Öğeleri

context

özellik 
context:IContext  [salt okunur]

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Çalışma Zamanı Sürümleri: AIR 2.6, Flash Player 10.2

Returns the underlying IApplication's IContext.



Uygulama
    public function get context():IContext

İlgili API Öğeleri

loaded

özellik 
loaded:Boolean  [salt okunur]

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Çalışma Zamanı Sürümleri: AIR 2.6, Flash Player 10.2

Checks if the underlying IApplication is instantiated.



Uygulama
    public function get loaded():Boolean

messageBus

özellik 
messageBus:IMessageBus  [salt okunur]

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Çalışma Zamanı Sürümleri: AIR 2.6, Flash Player 10.2

Returns the IApplication as the IMessageBus.



Uygulama
    public function get messageBus():IMessageBus

İlgili API Öğeleri

name

özellik 
name:String

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Çalışma Zamanı Sürümleri: AIR 2.6, Flash Player 10.2

Returns the set name of the Application (not required for "Transient" Applications)



Uygulama
    public function get name():String
    public function set name(value:String):void

serverSession

özellik 
serverSession:ServerSession

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Çalışma Zamanı Sürümleri: AIR 2.6, Flash Player 10.2

Returns the ServerSession instance associated to this Application. Not a required field for "Transient" Applications



Uygulama
    public function get serverSession():ServerSession
    public function set serverSession(value:ServerSession):void

İlgili API Öğeleri

shell

özellik 
shell:IShell  [salt okunur]

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Çalışma Zamanı Sürümleri: AIR 2.6, Flash Player 10.2

Returns the IShell instance associated with the underlying IApplication.

Bu özellik veri ciltleme kaynağı olarak kullanılabilir. Bu özellik değiştirildiğinde, propertyChange olayını gönderir.



Uygulama
    public function get shell():IShell

İlgili API Öğeleri

state

özellik 
state:String  [salt okunur]

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Çalışma Zamanı Sürümleri: AIR 2.6, Flash Player 10.2

Returns the state of this Application mxml component only.



Uygulama
    public function get state():String

İlgili API Öğeleri

Yapıcı Ayrıntı

Application

()Yapıcı
public function Application()

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Çalışma Zamanı Sürümleri: AIR 2.6, Flash Player 10.2

Constructor.

Yöntem Ayrıntısı

initializeApplication

()yöntem
public function initializeApplication():void

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Çalışma Zamanı Sürümleri: AIR 2.6, Flash Player 10.2

Initializes either a "Transient" or "CADL" Application. If the serverSession property has been set and the Application name has been set, a call will be made to requestApplication by name.

İlgili API Öğeleri

requestApplication

initialized

()yöntem 
public function initialized(document:Object, id:String):void

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Çalışma Zamanı Sürümleri: AIR 2.6, Flash Player 10.2

Implementation of IMXMLObject initialized, makes a call to initializeApplication

Parametreler

document:Object — The document Object
 
id:String — The mxml id String

loadCatalog

()yöntem 
public function loadCatalog(specifier:ICatalogSpecifier, onSuccess:Function = null, onFailure:Function = null):void

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Çalışma Zamanı Sürümleri: AIR 2.6, Flash Player 10.2

Loads a Catalog specified in the passed in ICatalogSpecifier via the underlying IApplication.

Parametreler

specifier:ICatalogSpecifier — Specifies the CatalogSpecifier for loading.
 
onSuccess:Function (default = null) — (Optional) Specifies the function callback that takes in one parameter of type CatalogLoadEvent when the operation succeeded
 
onFailure:Function (default = null) — (Optional) Specifies the function callback that takes in one parameter of type CatalogLoadEvent when the operation failed

İlgili API Öğeleri

loadCatalogs

()yöntem 
public function loadCatalogs():void

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Çalışma Zamanı Sürümleri: AIR 2.6, Flash Player 10.2

Makes a request to load all of the ICatalog's that this Application has in its catalogs collection (of ICatalogSpecifier). Only performs if the SDK's IApplication has been initialized and the collection of catalogs is not empty.

requestApplication

()yöntem 
public function requestApplication(name:String):void

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Çalışma Zamanı Sürümleri: AIR 2.6, Flash Player 10.2

Makes a request to load an IApplication by the name passed in if the ServerSession is not null and it is in a ServerConstants.STATE_CONNECTED state. If the ServerSession is not null and is in the state of ServerConstants.STATE_DISCONNECTED, then an attempt will be made to connect. If connection succeeds, the Application will attempt to load.

Parametreler

name:String — Specifies the Application name to load.

İlgili API Öğeleri

Olay Ayrıntısı

catalogLoadEventFailure

Olay
Olay Nesne Türü: com.adobe.mosaic.om.events.CatalogLoadEvent
özellik CatalogLoadEvent.type = com.adobe.mosaic.om.events.CatalogLoadEvent.FAILURE

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Çalışma Zamanı Sürümleri: AIR 2.6, Flash Player 10.2

The catalogLoadEventFailure defines a failure notification of an attempt to load a Catalog

The message type sent when a catalog fails to load.

catalogLoadEventSuccess

Olay  
Olay Nesne Türü: com.adobe.mosaic.om.events.CatalogLoadEvent
özellik CatalogLoadEvent.type = com.adobe.mosaic.om.events.CatalogLoadEvent.SUCCESS

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Çalışma Zamanı Sürümleri: AIR 2.6, Flash Player 10.2

The catalogLoadEventSuccess defines a successful notification of loading a Catalog

The message type sent when a catalog is loaded successfully.

loadApplicationEventFailure

Olay  
Olay Nesne Türü: com.adobe.mosaic.om.events.LoadApplicationEvent
özellik LoadApplicationEvent.type = com.adobe.mosaic.om.events.LoadApplicationEvent.FAILURE

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Çalışma Zamanı Sürümleri: AIR 2.6, Flash Player 10.2

The loadApplicationEventFailure defines a failure notification of an attempt to load an Application

This type is sent when handling failed in loading the requested IApplication

loadApplicationEventSuccess

Olay  
Olay Nesne Türü: com.adobe.mosaic.om.events.LoadApplicationEvent
özellik LoadApplicationEvent.type = com.adobe.mosaic.om.events.LoadApplicationEvent.SUCCESS

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Çalışma Zamanı Sürümleri: AIR 2.6, Flash Player 10.2

The loadApplicationEventSuccess defines a successful notification of loading an Application

This type is sent when handling succeeded in loading the requested IApplication
This example demonstrates the component declaration for a Transient Application.
     
     <fx:Declarations>
         <mosaic:ServerSession id="myServer"
                               openSessionEventSuccess="myServer_connectedHandler(event)" 
                               openSessionEventFailure="myServer_faultHandler(event)"                              
                               url="{_serverUrl}" />
         <mosaic:Application  id="myApp"
                                 loadApplicationEventSuccess="myApp_loadApplicationEventSuccessHandler(event)"
                                 loadApplicationEventFailure="myApp_loadApplicationEventFailureHandler(event)">
             <mosaic:catalogs>
                 <mosaic:Catalog id="sampleCatalog" 
                                 name="sample_catalog"
                                 catalogLoadEventSuccess="myCatalogSuccess(event)"
                                 catalogLoadEventFailure="myCatalogFail(event)"
                                 serverSession="{myServer}"/>
             </mosaic:catalogs>
         </mosaic:Application>
     </fx:Declarations> 
     
     




[ X ]Niçin İngilizce?
ActionScript 3.0 Başvurusu'ndaki içerik İngilizce görünür

ActionScript 3.0 Başvurusu'nun tüm bölümleri tüm dillere çevrilmemiştir. Bir dil öğesi çevrilmediğinde İngilizce görünür. Örneğin, ga.controls.HelpBox sınıfı hiçbir dile çevrilmez. Bu nedenle, başvurunun Türkçe versiyonunda ga.controls.HelpBox sınıfı İngilizce görünür.