Packagecom.flextoolbox.events
Classpublic class TreeMapEvent
InheritanceTreeMapEvent Inheritance flash.events.Event

The TreeMapEvent class represents events associated with items of the TreeMap control.

See also

com.flextoolbox.controls.TreeMap


Public Properties
 PropertyDefined by
  itemRenderer : ITreeMapItemRenderer
The item renderer to which the event is associated.
TreeMapEvent
Public Methods
 MethodDefined by
  
TreeMapEvent(type:String, itemRenderer:ITreeMapItemRenderer = null, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor.
TreeMapEvent
Public Constants
 ConstantDefined by
  BRANCH_ZOOM : String = "branchZoom"
[static] Dispatched when the user zooms a branch item in the TreeMap component.
TreeMapEvent
  LEAF_CLICK : String = "leafClick"
[static] Dispatched when the user clicks on a leaf item in the TreeMap component.
TreeMapEvent
  LEAF_DOUBLE_CLICK : String = "leafDoubleClick"
[static] Dispatched when the user double clicks on a leaf item in the TreeMap component.
TreeMapEvent
  LEAF_ROLL_OUT : String = "leafRollOut"
[static] Dispatched when the user rolls out of a leaf item in the TreeMap component.
TreeMapEvent
  LEAF_ROLL_OVER : String = "leafRollOver"
[static] Dispatched when the user rolls over a leaf item in the TreeMap component.
TreeMapEvent
Property detail
itemRendererproperty
public var itemRenderer:ITreeMapItemRenderer

The item renderer to which the event is associated. This value may be null if the event wasn't dispatched as a result of user interaction.

Constructor detail
TreeMapEvent()constructor
public function TreeMapEvent(type:String, itemRenderer:ITreeMapItemRenderer = null, bubbles:Boolean = false, cancelable:Boolean = false)

Constructor.

Parameters
type:String
 
itemRenderer:ITreeMapItemRenderer (default = null)
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Constant detail
BRANCH_ZOOMconstant
public static const BRANCH_ZOOM:String = "branchZoom"

Dispatched when the user zooms a branch item in the TreeMap component.

LEAF_CLICKconstant 
public static const LEAF_CLICK:String = "leafClick"

Dispatched when the user clicks on a leaf item in the TreeMap component.

LEAF_DOUBLE_CLICKconstant 
public static const LEAF_DOUBLE_CLICK:String = "leafDoubleClick"

Dispatched when the user double clicks on a leaf item in the TreeMap component.

LEAF_ROLL_OUTconstant 
public static const LEAF_ROLL_OUT:String = "leafRollOut"

Dispatched when the user rolls out of a leaf item in the TreeMap component.

LEAF_ROLL_OVERconstant 
public static const LEAF_ROLL_OVER:String = "leafRollOver"

Dispatched when the user rolls over a leaf item in the TreeMap component.