Packagecom.esri.aws.awx.widget
Classpublic class ToolTipContainer
InheritanceToolTipContainer Inheritance mx.core.UIComponent

A "tool tip" container that can popup to to the side with additional content. Clicking anywhere outside the ToolTip container will close it.



Protected Properties
 PropertyDefined by
  backgroundColor : Number
ToolTipContainer
  borderSkin : IFlexDisplayObject
ToolTipContainer
  borderSkinClass : Class
ToolTipContainer
  borderStyle : String
ToolTipContainer
  borderThickness : Number
ToolTipContainer
  boundary : Rectangle
ToolTipContainer
  boxHalfHeight : Number
ToolTipContainer
  boxHalfWidth : Number
ToolTipContainer
  boxHeight : Number
ToolTipContainer
  boxPosition : int
ToolTipContainer
  boxWidth : Number
ToolTipContainer
  contentHeight : Number
ToolTipContainer
  contentWidth : Number
ToolTipContainer
  graphicTipOffset : Number
ToolTipContainer
  itemCreationComplete : Boolean
ToolTipContainer
  limits : Array
ToolTipContainer
  metrics : EdgeMetrics
ToolTipContainer
  myContent : UIComponent
ToolTipContainer
  myEffectOut : Fade
ToolTipContainer
  myOwner : UIComponent
ToolTipContainer
  myParent : UIComponent
ToolTipContainer
  myRect : Rectangle
ToolTipContainer
  myStyleChanged : Boolean
ToolTipContainer
  opened : Boolean
ToolTipContainer
  ownerCenter : Point
ToolTipContainer
  ownerRect : Rectangle
ToolTipContainer
  paddingBottom : Number
ToolTipContainer
  paddingLeft : Number
ToolTipContainer
  paddingRight : Number
ToolTipContainer
  paddingTop : Number
ToolTipContainer
  preferredPosition : int
ToolTipContainer
  progTipHeight : Number
ToolTipContainer
  progTipWidth : Number
ToolTipContainer
  shadowAlpha : Number
ToolTipContainer
  shadowBlur : Number
ToolTipContainer
  shadowDistance : Number
ToolTipContainer
  shadowQuality : Number
ToolTipContainer
  tipBgImageClass : Class
ToolTipContainer
  tipBgImageClasses : Array
ToolTipContainer
  tipConstraints : Array
ToolTipContainer
  tipHeightOffset : Number
ToolTipContainer
  tipHeights : Array
ToolTipContainer
  tipHorizontalAlign : String
ToolTipContainer
  tipOffset : Number
ToolTipContainer
  tipSize : Array
ToolTipContainer
  tipSkin : UIComponent
ToolTipContainer
  tipSkins : Array
ToolTipContainer
  tipVerticalAlign : String
ToolTipContainer
  tipWidths : Array
ToolTipContainer
  totalHeight : Number
ToolTipContainer
  totalWidth : Number
ToolTipContainer
Public Methods
 MethodDefined by
  
ToolTipContainer(owner:UIComponent, content:UIComponent, position:int)
Creates a new ToolTipContainer.
ToolTipContainer
  
close():void
Closes the ToolTipContainer.
ToolTipContainer
  
init(systemManager:ISystemManager):void
[static]
ToolTipContainer
  
isOpen():Boolean
Tests to see if the ToolTipContainer is open or not.
ToolTipContainer
  
open():void
Opens the ToolTipContainer.
ToolTipContainer
Styles
 StyleDescriptionDefined by
  
paddingBottom
Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the container's bottom border and the bottom of its content area.
ToolTipContainer
  
paddingLeft
Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the container's left border and the left of its content area.
ToolTipContainer
  
paddingRight
Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the container's right border and the right of its content area.
ToolTipContainer
  
paddingTop
Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the container's top border and the top of its content area.
ToolTipContainer
  
tipHorizontalAlign
Type: String   CSS Inheritance: no
Horizontal alignment of the ToolTip. Valid values are "left","center","right".
ToolTipContainer
  
tipVerticalAlign
Type: String   CSS Inheritance: no
Vertical alignment of the ToolTip. Valid values are "top","middle","bottom".
ToolTipContainer
Public Constants
 ConstantDefined by
  BOTTOM : int = 2
[static] Sets the toolTip position to the bottom of the trigger item.
ToolTipContainer
  LEFT : int = 3
[static] Sets the toolTip position to the left of the trigger item.
ToolTipContainer
  RIGHT : int = 1
[static] Sets the toolTip position to the right of the trigger item.
ToolTipContainer
  TOP : int = 0
[static] Sets the toolTip position to the top of the trigger item.
ToolTipContainer
Property detail
backgroundColorproperty
protected var backgroundColor:Number

borderSkinproperty 
protected var borderSkin:IFlexDisplayObject

borderSkinClassproperty 
protected var borderSkinClass:Class

borderStyleproperty 
protected var borderStyle:String

borderThicknessproperty 
protected var borderThickness:Number

boundaryproperty 
protected var boundary:Rectangle

boxHalfHeightproperty 
protected var boxHalfHeight:Number

boxHalfWidthproperty 
protected var boxHalfWidth:Number

boxHeightproperty 
protected var boxHeight:Number

boxPositionproperty 
protected var boxPosition:int

boxWidthproperty 
protected var boxWidth:Number

contentHeightproperty 
protected var contentHeight:Number

contentWidthproperty 
protected var contentWidth:Number

graphicTipOffsetproperty 
protected var graphicTipOffset:Number

itemCreationCompleteproperty 
protected var itemCreationComplete:Boolean

limitsproperty 
protected var limits:Array

metricsproperty 
protected var metrics:EdgeMetrics

myContentproperty 
protected var myContent:UIComponent

myEffectOutproperty 
protected var myEffectOut:Fade

myOwnerproperty 
protected var myOwner:UIComponent

myParentproperty 
protected var myParent:UIComponent

myRectproperty 
protected var myRect:Rectangle

myStyleChangedproperty 
protected var myStyleChanged:Boolean

openedproperty 
protected var opened:Boolean

ownerCenterproperty 
protected var ownerCenter:Point

ownerRectproperty 
protected var ownerRect:Rectangle

paddingBottomproperty 
protected var paddingBottom:Number

paddingLeftproperty 
protected var paddingLeft:Number

paddingRightproperty 
protected var paddingRight:Number

paddingTopproperty 
protected var paddingTop:Number

preferredPositionproperty 
protected var preferredPosition:int

progTipHeightproperty 
protected var progTipHeight:Number

progTipWidthproperty 
protected var progTipWidth:Number

shadowAlphaproperty 
protected var shadowAlpha:Number

shadowBlurproperty 
protected var shadowBlur:Number

shadowDistanceproperty 
protected var shadowDistance:Number

shadowQualityproperty 
protected var shadowQuality:Number

tipBgImageClassproperty 
protected var tipBgImageClass:Class

tipBgImageClassesproperty 
protected var tipBgImageClasses:Array

tipConstraintsproperty 
protected var tipConstraints:Array

tipHeightOffsetproperty 
protected var tipHeightOffset:Number

tipHeightsproperty 
protected var tipHeights:Array

tipHorizontalAlignproperty 
protected var tipHorizontalAlign:String

tipOffsetproperty 
protected var tipOffset:Number

tipSizeproperty 
protected var tipSize:Array

tipSkinproperty 
protected var tipSkin:UIComponent

tipSkinsproperty 
protected var tipSkins:Array

tipVerticalAlignproperty 
protected var tipVerticalAlign:String

tipWidthsproperty 
protected var tipWidths:Array

totalHeightproperty 
protected var totalHeight:Number

totalWidthproperty 
protected var totalWidth:Number

Constructor detail
ToolTipContainer()constructor
public function ToolTipContainer(owner:UIComponent, content:UIComponent, position:int)

Creates a new ToolTipContainer.

Parameters
owner:UIComponent — the UIComponent that "owns" the ToolTipContiner.
 
content:UIComponent — the UIComponent content of the container.
 
position:int — the position of the ToolTipContainer relative to the owner. Use the static contstants TOP, BOTTOM, LEFT, RIGHT to set this value.
Method detail
close()method
public function close():void

Closes the ToolTipContainer.

init()method 
public static function init(systemManager:ISystemManager):void

Parameters
systemManager:ISystemManager
isOpen()method 
public function isOpen():Boolean

Tests to see if the ToolTipContainer is open or not.

Returns
Boolean — true if container is open, false if it is not.
open()method 
public function open():void

Opens the ToolTipContainer.

Constant detail
BOTTOMconstant
public static const BOTTOM:int = 2

Sets the toolTip position to the bottom of the trigger item.

LEFTconstant 
public static const LEFT:int = 3

Sets the toolTip position to the left of the trigger item.

RIGHTconstant 
public static const RIGHT:int = 1

Sets the toolTip position to the right of the trigger item.

TOPconstant 
public static const TOP:int = 0

Sets the toolTip position to the top of the trigger item.