Packagekm.components
Classpublic final class ToolTip
InheritanceToolTip Inheritance UIComponent Inheritance flash.display.Sprite

The ToolTip component class.
The toolTip is automatically enabled when it is added to the stage and disabled when it is removed from the stage.


Example
import km.components.*;
import km.skins.*;

var b:LabelButton = new LabelButton();

ScriptedSkin.applyTo(b);

b.setSize(60,20);
b.move(20,20);
b.toolTip = 'This ia a button';
addChild(b);

addChild(new ToolTip());



Public Properties
 PropertyDefined by
  defaultTextFormat : TextFormat
ToolTip
  delay : Number = 500
ToolTip
  textMarginH : int
Horizontal text margin.
ToolTip
  textMarginV : int
Vertical text margin.
ToolTip
  tip : Image
[read-only] >> Reference to the actual tip.
ToolTip
Public Methods
 MethodDefined by
  
ToolTip
 Inherited
setProperties(o:Object):void
Sets a number of properties at once.
UIComponent
Events
 EventSummaryDefined by
 Inherited The animationComplete event is broadcasted when an animated move is completed.UIComponent
Property detail
defaultTextFormatproperty
defaultTextFormat:TextFormat  [read-write]

Implementation
    public function get defaultTextFormat():TextFormat
    public function set defaultTextFormat(value:TextFormat):void
delayproperty 
public var delay:Number = 500
textMarginHproperty 
textMarginH:int  [read-write]

Horizontal text margin.

Implementation
    public function get textMarginH():int
    public function set textMarginH(value:int):void
textMarginVproperty 
textMarginV:int  [read-write]

Vertical text margin.

Implementation
    public function get textMarginV():int
    public function set textMarginV(value:int):void
tipproperty 
tip:Image  [read-only]

>> Reference to the actual tip.

Implementation
    public function get tip():Image
Constructor detail
ToolTip()constructor
public function ToolTip()