Packageorg.juicekit.events
Classpublic class DataMouseEvent
InheritanceDataMouseEvent Inheritance flash.events.MouseEvent

The DataMouseEvent class defines an event to signal a mouse event occurred on/over a visual representation of a data object.



Public Properties
 PropertyDefined by
  data : Object
Contains a reference to the event's data Object.
DataMouseEvent
  dataSprite : DataSprite
Contains a reference to the event's dataSprite.
DataMouseEvent
  sender : EventDispatcher
Contains a reference to this wrapped event's original EventDispatcher.
DataMouseEvent
Public Methods
 MethodDefined by
  
DataMouseEvent(event:MouseEvent, data:Object = null, dataSprite:DataSprite = null)
Constructor.
DataMouseEvent
Public Constants
 ConstantDefined by
  CLICK : String = "jkDataClick"
[static] The DataMouseEvent.CLICK constant defines the value of the type property of the event object for a DataMouseEvent event.
DataMouseEvent
  DOUBLE_CLICK : String = "jkDataDoubleClick"
[static] The DataMouseEvent.DOUBLE_CLICK constant defines the value of the type property of the event object for a DataMouseEvent event.
DataMouseEvent
  MOUSE_OUT : String = "jkDataMouseOut"
[static] The DataMouseEvent.MOUSE_OUT constant defines the value of the type property of the event object for a DataMouseEvent event.
DataMouseEvent
  MOUSE_OVER : String = "jkDataMouseOver"
[static] The DataMouseEvent.MOUSE_OVER constant defines the value of the type property of the event object for a DataMouseEvent event.
DataMouseEvent
Property detail
dataproperty
public var data:Object

Contains a reference to the event's data Object.

dataSpriteproperty 
public var dataSprite:DataSprite

Contains a reference to the event's dataSprite.

senderproperty 
public var sender:EventDispatcher

Contains a reference to this wrapped event's original EventDispatcher.

Constructor detail
DataMouseEvent()constructor
public function DataMouseEvent(event:MouseEvent, data:Object = null, dataSprite:DataSprite = null)

Constructor.

Parameters
event:MouseEvent — References the originating MouseEvent that this instance will wrap.
 
data:Object (default = null) — Contains a reference to the related data Object.
 
dataSprite:DataSprite (default = null)
Constant detail
CLICKconstant
public static const CLICK:String = "jkDataClick"

The DataMouseEvent.CLICK constant defines the value of the type property of the event object for a DataMouseEvent event.

DOUBLE_CLICKconstant 
public static const DOUBLE_CLICK:String = "jkDataDoubleClick"

The DataMouseEvent.DOUBLE_CLICK constant defines the value of the type property of the event object for a DataMouseEvent event.

MOUSE_OUTconstant 
public static const MOUSE_OUT:String = "jkDataMouseOut"

The DataMouseEvent.MOUSE_OUT constant defines the value of the type property of the event object for a DataMouseEvent event.

MOUSE_OVERconstant 
public static const MOUSE_OVER:String = "jkDataMouseOver"

The DataMouseEvent.MOUSE_OVER constant defines the value of the type property of the event object for a DataMouseEvent event.