(Beta)
Package | com.adobe.mosaic.om.interfaces |
Interface | public interface IMosaicNode |
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 |
IMosaicNode
interface provides methods for retrieving information about nodes in the DOM.
Public Properties
Property | Defined By | ||
---|---|---|---|
childrenNodes : Array [read-only]
Returns an array of child nodes (IMosaicNode objects) of the node. | IMosaicNode | ||
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 |
Property Detail
childrenNodes | property |
childrenNodes:Array
[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 an array of child nodes (IMosaicNode objects) of the node.
Implementation
public function get childrenNodes():Array
nodeId | property |
nodeLabel | property |
nodeLabel: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 label of the tile.
Implementation
public function get nodeLabel():String
public function set nodeLabel(value:String):void
nodeName | property |
nodeType | property |
nodeType: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 type value of the node. One of: "application", "view", "panel", or "tile".
Implementation
public function get nodeType():String
parentNode | property |
parentNode:IMosaicNode
[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 direct parent node of the current node within the application.
Implementation
public function get parentNode():IMosaicNode
Examples How to use this example
IMosaicNode_example.mxml
// Returns detailed information about a specific node private function getNodeInfo(nodeToInspect:IMosaicNode):String { var strNodeInfo:String = ""; if (nodeToInspect != null) { var strNodeDisplayStatus:String = ""; if (nodeToInspect is IDisplayable) { var nodeDisplayable:IDisplayable = nodeToInspect as IDisplayable; if (nodeDisplayable != null) { if (nodeDisplayable.displayed) { strNodeDisplayStatus = "displayed"; } else { strNodeDisplayStatus = "hidden"; } } } strNodeInfo = nodeToInspect.nodeType + " | " + nodeToInspect.nodeLabel + " | " + nodeToInspect.nodeId + " | " + strNodeDisplayStatus; } return strNodeInfo; } // getNodeInfo
Wed Nov 21 2018, 06:34 AM -08:00