ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.mosaic.om.interfaces 

IMosaicNode  - AS3 ADEP Composite Application

Packagecom.adobe.mosaic.om.interfaces
Interfacepublic interface IMosaicNode

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5
Runtime Versions: AIR 2.6, Flash Player 10.2

The IMosaicNode interface provides methods for retrieving information about nodes in the DOM.



Public Properties
 PropertyDefined 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
  uniqueID : String
[read-only] Returns the generated unique ID of the node.
IMosaicNode
Public Methods
 MethodDefined By
  
Clones an IMosaicNode.
IMosaicNode
  
resolveReferences(onSuccess:Function = null, onFailure:Function = null):void
Resolves any reference elements that may be in the View, Panel, or Tile.
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.6, Flash Player 10.2

Returns an array of child nodes (IMosaicNode objects) of the node.



Implementation
    public function get childrenNodes():Array

nodeID

property 
nodeID: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.6, Flash Player 10.2

Returns the ID of the node.



Implementation
    public function get nodeID():String

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.6, Flash Player 10.2

Returns the label of the tile.



Implementation
    public function get nodeLabel():String
    public function set nodeLabel(value:String):void

nodeName

property 
nodeName: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.6, Flash Player 10.2

Returns the name of the node.



Implementation
    public function get nodeName():String

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.6, Flash Player 10.2

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.6, Flash Player 10.2

Returns the direct parent node of the current node within the application.



Implementation
    public function get parentNode():IMosaicNode

uniqueID

property 
uniqueID: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.6, Flash Player 10.2

Returns the generated unique ID of the node. Unique ID is only constant during a single run of the applicaiton.



Implementation
    public function get uniqueID():String
Method Detail

clone

()method
public function clone():IMosaicNode

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5
Runtime Versions: AIR 2.6, Flash Player 10.2

Clones an IMosaicNode.

Returns
IMosaicNode — clone The cloned IMosaicNode

resolveReferences

()method 
public function resolveReferences(onSuccess:Function = null, onFailure:Function = null):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 9.5
Runtime Versions: AIR 2.6, Flash Player 10.2

Resolves any reference elements that may be in the View, Panel, or Tile. The resulting ResolveReferencesEvent indicating success or failure is returned in the callback function and also dispatched to the MessageListeners.

Parameters

onSuccess:Function (default = null) — A function that takes in one parameter of type ResolveReferencesEvent that is called when the view is saved successfully.
 
onFailure:Function (default = null) — A function that takes in one parameter of type ResolveReferencesEvent that is called when the view save fails.