Packageorg.axiis.managers
Classpublic class AnchoredDataTipManager
InheritanceAnchoredDataTipManager Inheritance Object
Implements IDataTipManager

AnchoredDataTipManager will lay out a single data tip at a fixed point. The data tip will be anchored at the dataTipAnchorPosition of the AxiisSprite the user is interacting with. AxiisSprites have their dataTipAnchorPosition set during their parentLayout's render cycle based on the parentLayout's dataTipAnchorPosition.



Public Properties
 PropertyDefined By
  dataTips : Array
[read-only] An array of data tips created by this manager.
AnchoredDataTipManager
Public Methods
 MethodDefined By
  
AnchoredDataTipManager
  
createDataTip(_dataTips:Array, context:UIComponent, axiisSprite:AxiisSprite):void
Adds data tips to the stage and sets their initial position.
AnchoredDataTipManager
  
Removes all data tips from the stage and performs and clean up.
AnchoredDataTipManager
Property Detail
dataTipsproperty
dataTips:Array  [read-only]

An array of data tips created by this manager.


Implementation
    public function get dataTips():Array
Constructor Detail
AnchoredDataTipManager()Constructor
public function AnchoredDataTipManager()



Method Detail
createDataTip()method
public function createDataTip(_dataTips:Array, context:UIComponent, axiisSprite:AxiisSprite):void

Adds data tips to the stage and sets their initial position. If you are creating your own implementation of this class, this is an ideal place to set up event listeners to support laying out the data tips as the user moves the mouse.

Parameters

_dataTips:Array — An arry of UIComponents to add to the stage and treat as data tips
 
context:UIComponent — The UIComponent that the data tips should be positioned relative to. This is often the DataCanvas the axiisSprite belongs to.
 
axiisSprite:AxiisSprite — The sprite that the user hit that triggered this data tip

destroyAllDataTips()method 
public function destroyAllDataTips():void

Removes all data tips from the stage and performs and clean up.