Package | feathers.core |
Class | public class DefaultToolTipManager |
Inheritance | DefaultToolTipManager Object |
Implements | IToolTipManager |
Product Version : | Feathers 3.0.0 |
IToolTipManager
implementation.
See also
Property | Defined By | ||
---|---|---|---|
offsetX : Number
The offset, in pixels, of the tool tip position on the x axis. | DefaultToolTipManager | ||
offsetY : Number
The offset, in pixels, of the tool tip position on the y axis. | DefaultToolTipManager | ||
resetDelay : Number
The time, in seconds, after hiding a tool tip before the
showDelay is required to show a new tool tip for another
component. | DefaultToolTipManager | ||
showDelay : Number
The delay, in seconds, before a tool tip may be displayed when the
mouse is idle over a component with a tool tip. | DefaultToolTipManager | ||
toolTipFactory : Function
A function that creates a tool tip. | DefaultToolTipManager |
Method | Defined By | ||
---|---|---|---|
DefaultToolTipManager(root:DisplayObjectContainer)
Constructor. | DefaultToolTipManager | ||
[static]
The default factory that creates a tool tip. | DefaultToolTipManager | ||
dispose():void
Cleans up event listeners and display objects used by the tool tip
manager. | DefaultToolTipManager |
offsetX | property |
offsetX:Number
The offset, in pixels, of the tool tip position on the x axis.
The default value is 0
.
public function get offsetX():Number
public function set offsetX(value:Number):void
offsetY | property |
offsetY:Number
The offset, in pixels, of the tool tip position on the y axis.
The default value is 0
.
public function get offsetY():Number
public function set offsetY(value:Number):void
resetDelay | property |
resetDelay:Number
The time, in seconds, after hiding a tool tip before the
showDelay
is required to show a new tool tip for another
component. If the mouse moves over another component before this
threshold, the tool tip will be shown immediately. This allows
tooltips for adjacent components, such as those appearing in
toolbars, to be shown quickly.
To disable this behavior, set the resetDelay
to
0
.
The default value is 0.1
.
public function get resetDelay():Number
public function set resetDelay(value:Number):void
showDelay | property |
showDelay:Number
The delay, in seconds, before a tool tip may be displayed when the mouse is idle over a component with a tool tip.
The default value is 0.5
.
public function get showDelay():Number
public function set showDelay(value:Number):void
toolTipFactory | property |
toolTipFactory:Function
A function that creates a tool tip.
This function is expected to have the following signature:
function():IToolTip
public function get toolTipFactory():Function
public function set toolTipFactory(value:Function):void
See also
DefaultToolTipManager | () | Constructor |
public function DefaultToolTipManager(root:DisplayObjectContainer)
Constructor.
Parametersroot:DisplayObjectContainer |
defaultToolTipFactory | () | method |
public static function defaultToolTipFactory():IToolTip
The default factory that creates a tool tip. Creates a
Label
with the style name
Label.ALTERNATE_STYLE_NAME_TOOL_TIP
.
IToolTip |
See also
dispose | () | method |
public function dispose():void
Cleans up event listeners and display objects used by the tool tip manager.