Packageflare.vis.events
Classpublic class TooltipEvent
InheritanceTooltipEvent Inheritance flash.events.Event

Event fired in response to tooltip show, hide, or update events.

See also

flare.vis.controls.TooltipControl


Public Properties
 PropertyDefined by
  edge : EdgeSprite
[read-only] The moused-over interface object, cast to an EdgeSprite.
TooltipEvent
  node : NodeSprite
[read-only] The moused-over interface object, cast to a NodeSprite.
TooltipEvent
  object : DisplayObject
[read-only] The moused-over interface object.
TooltipEvent
  tooltip : DisplayObject
[read-only] The displayed tooltip object.
TooltipEvent
Public Methods
 MethodDefined by
  
TooltipEvent(type:String, item:DisplayObject, tip:DisplayObject)
Creates a new TooltipEvent.
TooltipEvent
  
clone():Event
TooltipEvent
Public Constants
 ConstantDefined by
  HIDE : String = "hide"
[static] A tooltip hide event.
TooltipEvent
  SHOW : String = "show"
[static] A tooltip show event.
TooltipEvent
  UPDATE : String = "update"
[static] A tooltip update event.
TooltipEvent
Property detail
edgeproperty
edge:EdgeSprite  [read-only]

The moused-over interface object, cast to an EdgeSprite.

Implementation
    public function get edge():EdgeSprite
nodeproperty 
node:NodeSprite  [read-only]

The moused-over interface object, cast to a NodeSprite.

Implementation
    public function get node():NodeSprite
objectproperty 
object:DisplayObject  [read-only]

The moused-over interface object.

Implementation
    public function get object():DisplayObject
tooltipproperty 
tooltip:DisplayObject  [read-only]

The displayed tooltip object.

Implementation
    public function get tooltip():DisplayObject
Constructor detail
TooltipEvent()constructor
public function TooltipEvent(type:String, item:DisplayObject, tip:DisplayObject)

Creates a new TooltipEvent.

Parameters
type:String — the event type (SHOW,HIDE, or UPDATE)
 
item:DisplayObject — the DisplayObject that was moused over
 
tip:DisplayObject — the tooltip DisplayObject
Method detail
clone()method
public override function clone():Event

Returns
Event
Constant detail
HIDEconstant
public static const HIDE:String = "hide"

A tooltip hide event.

SHOWconstant 
public static const SHOW:String = "show"

A tooltip show event.

UPDATEconstant 
public static const UPDATE:String = "update"

A tooltip update event.