適用於 Adobe® Flash® Platform 的 ActionScript® 3.0 參考
首頁  |  隱藏套件和類別清單 |  套件  |  類別  |  新增內容  |  索引  |  附錄  |  為什麼顯示英文?
篩選: 從伺服器擷取資料...
從伺服器擷取資料...
com.adobe.mosaic.om.interfaces 

ITile  - AS3 ADEP Composite Application

套件com.adobe.mosaic.om.interfaces
介面public interface ITile extends IMosaicNode , IDisplayable , IMetadataAvailable , IUIAttributes , IContextProvider

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5
執行階段版本: AIR 2.6, Flash Player 10.2

The ITile interface provides methods for retrieving information about composite application tile's details.



公用屬性
 屬性定義自
  allowDelete : Boolean
The tile's allowDelete setting.
ITile
 Inheritedbottom : Number
Returns the node's bottom value which is the vertical distance, in pixels, from the lower edge of the component to the lower edge of the content region.
IUIAttributes
 InheritedchildrenNodes : Array
[唯讀] Returns an array of child nodes (IMosaicNode objects) of the node.
IMosaicNode
  chrome : String
The tile's chrome setting.
ITile
  columnIndex : Number
The tile's column index.
ITile
  confirmDelete : Boolean
The tile's confirmDelete setting.
ITile
 Inheritedcontext : IContext
[唯讀] Returns the context interface for the application.
IContextProvider
 Inheriteddisplayed : Boolean
[唯讀] Determines if the selected node is currently displayed.
IDisplayable
  fitContent : Boolean
The tile's fitContent.
ITile
  hasPlugin : String
The tile's hasPlugin setting.
ITile
 Inheritedheight : String
The maximum height for the nodes.
IUIAttributes
 Inheritedleft : Number
Returns the node's left value which is horizontal distance, in pixels, from the left edge of the component to the left edge of the content region.
IUIAttributes
 InheritedmaxHeight : Number
The node's maximum width.
IUIAttributes
 InheritedmaxWidth : Number
The node's maximum width.
IUIAttributes
 Inheritedmetadata : IMetadata
[唯讀] Returns the metadata if any of the node.
IMetadataAvailable
 InheritedminHeight : Number
The node's minimum height.
IUIAttributes
 InheritedminWidth : Number
The the node's minimum width.
IUIAttributes
 InheritednodeID : String
[唯讀] Returns the ID of the node.
IMosaicNode
 InheritednodeLabel : String
Returns the label of the tile.
IMosaicNode
 InheritednodeName : String
[唯讀] Returns the name of the node.
IMosaicNode
 InheritednodeType : String
[唯讀] Returns the type value of the node.
IMosaicNode
 InheritedparentNode : IMosaicNode
[唯讀] Returns the direct parent node of the current node within the application.
IMosaicNode
  parentPanel : IPanel
[唯讀] The parent panel, within the application, in which the tile is resident.
ITile
  parentView : IView
[唯讀] The parent view, within the application, in which the tile is resident.
ITile
 Inheritedright : Number
Returns the node's right value which is the horizontal distance, in pixels, from the right edge of the component to the right edge of the content region.
IUIAttributes
  rowIndex : Number
The tile's row index.
ITile
 InheritedstyleName : String
The style name for the node.
IUIAttributes
 Inheritedtop : Number
Returns the node's top value which is the vertical distance, in pixels, from the upper edge of the component to the upper edge of the content region.
IUIAttributes
 InheriteduniqueID : String
[唯讀] Returns the generated unique ID of the node.
IMosaicNode
  url : String
[唯讀] The fully resolved URI for this tile.
ITile
 Inheritedvisible : Boolean
Returns the node's visible setting.
IUIAttributes
 Inheritedwidth : String
Returns the node's width.
IUIAttributes
 Inheritedx : Number
Returns the node's x coordinate, relative to its container.
IUIAttributes
 Inheritedy : Number
Returns the node's y coordinate, relative to its container.
IUIAttributes
公用方法
 方法定義自
 Inherited
Clones an IMosaicNode.
IMosaicNode
 Inherited
Navigates the application until the selected node is displayed.
IDisplayable
  
getCatalog(onSuccess:Function = null, onFailure:Function = null):void
Returns the catalog that contains this tile.
ITile
 Inherited
resolveReferences(onSuccess:Function = null, onFailure:Function = null):void
Resolves any reference elements that may be in the View, Panel, or Tile.
IMosaicNode
  
Sets an property of a tile for injection, this is analgous to using the Property tag on the Experience Server.
ITile
屬性詳細資訊

allowDelete

屬性
allowDelete:Boolean

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

The tile's allowDelete setting.



實作
    public function get allowDelete():Boolean
    public function set allowDelete(value:Boolean):void

chrome

屬性 
chrome:String

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5
執行階段版本: AIR 2.6, Flash Player 10.2

The tile's chrome setting.



實作
    public function get chrome():String
    public function set chrome(value:String):void

columnIndex

屬性 
columnIndex:Number

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5
執行階段版本: AIR 2.6, Flash Player 10.2

The tile's column index.



實作
    public function get columnIndex():Number
    public function set columnIndex(value:Number):void

confirmDelete

屬性 
confirmDelete:Boolean

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

The tile's confirmDelete setting.



實作
    public function get confirmDelete():Boolean
    public function set confirmDelete(value:Boolean):void

fitContent

屬性 
fitContent:Boolean

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

The tile's fitContent.



實作
    public function get fitContent():Boolean
    public function set fitContent(value:Boolean):void

hasPlugin

屬性 
hasPlugin:String

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

The tile's hasPlugin setting.



實作
    public function get hasPlugin():String
    public function set hasPlugin(value:String):void

parentPanel

屬性 
parentPanel:IPanel  [唯讀]

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5
執行階段版本: AIR 2.6, Flash Player 10.2

The parent panel, within the application, in which the tile is resident.



實作
    public function get parentPanel():IPanel

相關 API 元素

parentView

屬性 
parentView:IView  [唯讀]

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5
執行階段版本: AIR 2.6, Flash Player 10.2

The parent view, within the application, in which the tile is resident.



實作
    public function get parentView():IView

相關 API 元素

rowIndex

屬性 
rowIndex:Number

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5
執行階段版本: AIR 2.6, Flash Player 10.2

The tile's row index.



實作
    public function get rowIndex():Number
    public function set rowIndex(value:Number):void

url

屬性 
url:String  [唯讀]

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

The fully resolved URI for this tile.



實作
    public function get url():String
方法詳細資訊

getCatalog

()方法
public function getCatalog(onSuccess:Function = null, onFailure:Function = null):void

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

Returns the catalog that contains this tile.

This allows you to access tiles, views, etc. from the catalog to add to the application.

參數

onSuccess:Function (default = null) — Specifies a function callback that takes in one parameter of type CatalogLoadEvent when the operation succeeded.
 
onFailure:Function (default = null) — Specifies a function callback that takes in one parameter of type CatalogLoadEvent when the operation failed. The onSuccess callback will be called if the loadCatalog call is successful. If the catalog was not already loaded, the catalog will be loaded into the client cache. The cached copy is returned in the CatalogLoadEvent. The onFailure callback with occur if the catalog was not available.

相關 API 元素


範例
如何使用本範例
This example retrieves a catalog named "sample_catalog":
         mosaicApp.addMessageListener(CatalogLoadEvent.NAMESPACE, CatalogLoadEvent.SUCCESS, onCatLoadEvent);
         mosaicApp.addMessageListener(CatalogLoadEvent.NAMESPACE, CatalogLoadEvent.FAILURE, onCatLoadEvent);
         
         thisTile.getCatalog(onLoadSuccess, onLoadFailure);                
         
         
         //functions to manage success or failure callbacks
         private function onLoadSuccess(evt:CatalogLoadEvent):void {} 
         private function onLoadFailure(evt:CatalogLoadEvent):void {}
         
         //functions to manage success or failure events
         private function onCatLoadEvent(message:Message):void {
             var  catalogLoadEvent:CatalogLoadEvent = message.payload as CatalogLoadEvent;
             var catalog:ICatalog = catalogLoadEvent.catalog;
             //custom processing
         }
         

setInjectionProperty

()方法 
public function setInjectionProperty(name:String, value:IInjectableValue):void

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5
執行階段版本: AIR 2.6, Flash Player 10.2

Sets an property of a tile for injection, this is analgous to using the Property tag on the Experience Server. This will inject the value into the tile at name when the tile is started up.

參數

name:String — Specifies the public attribute or public setter where you want to inject the value.
 
value:IInjectableValue — Specifies the value to be injected.





[ X ]為什麼顯示英文?
「ActionScript 3.0 參考」的內容是以英文顯示

並非所有「ActionScript 3.0 參考」的內容都翻譯為所有語言。當語言元素未翻譯時,就會以英文顯示。例如,ga.controls.HelpBox 類別並沒有翻譯為任何語言。因此在參考的繁體中文版本中,ga.controls.HelpBox 類別就會以英文顯示。