Packagefeathers.core
Classpublic class DefaultToolTipManager
InheritanceDefaultToolTipManager Inheritance Object
Implements IToolTipManager

Product Version : Feathers 3.0.0

The default IToolTipManager implementation.

See also

Tool tips in Feathers
feathers.core.ToolTipManager


Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined 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
Property Detail
offsetXproperty
offsetX:Number

The offset, in pixels, of the tool tip position on the x axis.

The default value is 0.


Implementation
    public function get offsetX():Number
    public function set offsetX(value:Number):void
offsetYproperty 
offsetY:Number

The offset, in pixels, of the tool tip position on the y axis.

The default value is 0.


Implementation
    public function get offsetY():Number
    public function set offsetY(value:Number):void
resetDelayproperty 
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.


Implementation
    public function get resetDelay():Number
    public function set resetDelay(value:Number):void
showDelayproperty 
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.


Implementation
    public function get showDelay():Number
    public function set showDelay(value:Number):void
toolTipFactoryproperty 
toolTipFactory:Function

A function that creates a tool tip.

This function is expected to have the following signature:

function():IToolTip


Implementation
    public function get toolTipFactory():Function
    public function set toolTipFactory(value:Function):void

See also

Constructor Detail
DefaultToolTipManager()Constructor
public function DefaultToolTipManager(root:DisplayObjectContainer)

Constructor.

Parameters
root:DisplayObjectContainer
Method Detail
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.

Returns
IToolTip

See also

dispose()method 
public function dispose():void

Cleans up event listeners and display objects used by the tool tip manager.