Пакет | 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 |
ITile
interface provides methods for retrieving information about composite application
tile's details.
Свойство | Определено | ||
---|---|---|---|
allowDelete : Boolean
The tile's allowDelete setting. | ITile | ||
bottom : 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 | ||
childrenNodes : 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 | ||
context : IContext [только для чтения]
Returns the context interface for the application. | IContextProvider | ||
displayed : 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 | ||
height : String
The maximum height for the nodes. | IUIAttributes | ||
left : 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 | ||
maxHeight : Number
The node's maximum width. | IUIAttributes | ||
maxWidth : Number
The node's maximum width. | IUIAttributes | ||
metadata : IMetadata [только для чтения]
Returns the metadata if any of the node. | IMetadataAvailable | ||
minHeight : Number
The node's minimum height. | IUIAttributes | ||
minWidth : Number
The the node's minimum width. | IUIAttributes | ||
nodeID : String [только для чтения]
Returns the ID of the node. | IMosaicNode | ||
nodeLabel : String
Returns the label of the tile. | IMosaicNode | ||
nodeName : String [только для чтения]
Returns the name of the node. | IMosaicNode | ||
nodeType : String [только для чтения]
Returns the type value of the node. | IMosaicNode | ||
parentNode : 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 | ||
right : 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 | ||
styleName : String
The style name for the node. | IUIAttributes | ||
top : 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 | ||
uniqueID : String [только для чтения]
Returns the generated unique ID of the node. | IMosaicNode | ||
url : String [только для чтения]
The fully resolved URI for this tile. | ITile | ||
visible : Boolean
Returns the node's visible setting. | IUIAttributes | ||
width : String
Returns the node's width. | IUIAttributes | ||
x : Number
Returns the node's x coordinate, relative to its container. | IUIAttributes | ||
y : Number
Returns the node's y coordinate, relative to its container. | IUIAttributes |
Метод | Определено | ||
---|---|---|---|
Clones an IMosaicNode. | IMosaicNode | ||
Navigates the application until the selected node is displayed. | IDisplayable | ||
Returns the catalog that contains this tile. | ITile | ||
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.
|
Tue Jun 12 2018, 11:34 AM Z