Package | com.adobe.mosaic.om.interfaces |
Interface | public interface ITile extends IMosaicNode , IDisplayable |
Implementors | ModuleTile, Tile |
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 |
ITile
interface provides methods for retrieving information about a LiveCycle Mosaic
tile's details.
Property | Defined By | ||
---|---|---|---|
catalog : ICatalog [read-only]
Returns the catalog that contains this tile. | ITile | ||
childrenNodes : Array [read-only]
Returns an array of child nodes (IMosaicNode objects) of the node. | IMosaicNode | ||
displayed : Boolean [read-only]
Determines if the selected node is currently displayed. | IDisplayable | ||
nodeId : String [read-only]
Returns the ID of the node. | IMosaicNode | ||
nodeLabel : String
Returns the label of the tile. | IMosaicNode | ||
nodeName : String [read-only]
Returns the name of the node. | IMosaicNode | ||
nodeType : String [read-only]
Returns the type value of the node. | IMosaicNode | ||
parentNode : IMosaicNode [read-only]
Returns the direct parent node of the current node within the application. | IMosaicNode | ||
parentPanel : IPanel [read-only]
Returns the parent panel, within the application, in which the tile is resident. | ITile | ||
parentView : IView [read-only]
Returns the parent view, within the application, in which the tile is resident. | ITile | ||
tileHeight : String
Returns the tile's width. | ITile | ||
tileWidth : String
Returns the tile's width. | ITile | ||
tileX : Number
Returns the tile's x coordinate, relative to its container. | ITile | ||
tileY : Number
Returns the tile's y coordinate, relative to its container. | ITile |
Method | Defined By | ||
---|---|---|---|
Navigates the application until the selected node is displayed. | IDisplayable | ||
Allows a developer to set a requested property of a Tile to some service definition. | ITile |
catalog | property |
catalog:ICatalog
[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 catalog that contains this tile.
Implementation
public function get catalog():ICatalog
parentPanel | property |
parentPanel:IPanel
[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 parent panel, within the application, in which the tile is resident.
Implementation
public function get parentPanel():IPanel
Related API Elements
parentView | property |
parentView:IView
[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 parent view, within the application, in which the tile is resident.
Implementation
public function get parentView():IView
Related API Elements
tileHeight | property |
tileHeight:String
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 tile's width. If it was previously set as a percentage, the return value includes the "%" character. In either case, the return value is a String.
Implementation
public function get tileHeight():String
public function set tileHeight(value:String):void
tileWidth | property |
tileWidth:String
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 tile's width. If it was previously set as a percentage, the return value includes the "%" character. In either case, the return value is a String.
Implementation
public function get tileWidth():String
public function set tileWidth(value:String):void
tileX | property |
tileX:Number
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 tile's x coordinate, relative to its container.
Implementation
public function get tileX():Number
public function set tileX(value:Number):void
tileY | property |
tileY:Number
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 tile's y coordinate, relative to its container.
Implementation
public function get tileY():Number
public function set tileY(value:Number):void
setProperty | () | method |
public function setProperty(name:String, value:Object):void
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 |
Allows a developer to set a requested property of a Tile to some service definition. The developer can fetch a service from the catalog then assign it to a named property of the tile and then when that tile is loaded the service will be started and injected.
Parameters
name:String — A string representing the name of the property you want to set. This property must be named in the catalog in the tile:Properties node
| |
value:Object — An object representing what you want to set that property to. Currently, only Services retrieved from a catalog are supported as inputs.
|
<?xml version="1.0" encoding="utf-8"?> <mc:Tile xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mc="com.adobe.mosaic.core.*" applicationComplete="initTile()"> <fx:Script> <![CDATA[ // Display some of this tile's properties private function initTile():void { labelCat.text += this.catalog.uri; labelX.text += this.tileX; labelY.text += this.tileY; labelW.text += this.tileWidth; labelH.text += this.tileHeight; } ]]> </fx:Script> <s:Label id="labelCat" text="Catalog: "/> <s:Label id="labelX" text="X: "/> <s:Label id="labelY" text="Y: "/> <s:Label id="labelW" text="Width: "/> <s:Label id="labelH" text="Height: "/> </mc:Tile>
Wed Nov 21 2018, 06:34 AM -08:00