| Package | km.components |
| Class | public final class ToolTip |
| Inheritance | ToolTip UIComponent flash.display.Sprite |
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());
| Property | Defined 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 | ||
| Method | Defined by | ||
|---|---|---|---|
|
ToolTip()
| ToolTip | ||
![]() |
setProperties(o:Object):void
Sets a number of properties at once.
| UIComponent | |
| defaultTextFormat | property |
defaultTextFormat:TextFormat [read-write]Implementation
public function get defaultTextFormat():TextFormat
public function set defaultTextFormat(value:TextFormat):void
| delay | property |
public var delay:Number = 500
| textMarginH | property |
textMarginH:int [read-write]Horizontal text margin.
Implementation public function get textMarginH():int
public function set textMarginH(value:int):void
| textMarginV | property |
textMarginV:int [read-write]Vertical text margin.
Implementation public function get textMarginV():int
public function set textMarginV(value:int):void
| tip | property |
tip:Image [read-only]>> Reference to the actual tip.
Implementation public function get tip():Image
| ToolTip | () | constructor |
public function ToolTip()