eDriven Framework API
MouseEventDispatcher Class
NamespaceseDriven.Gui.ManagersMouseEventDispatcher
eDriven Framework API
The manager responsible for handling mouse events on components
Declaration Syntax
C#Visual BasicVisual C++
public class MouseEventDispatcher : EventDispatcher
Public Class MouseEventDispatcher _
	Inherits EventDispatcher
public ref class MouseEventDispatcher : public EventDispatcher
Members
All MembersMethodsPropertiesFields



IconMemberDescription
AddEventListener(String, EventHandler, EventPhase, Int32)
Adds the event listener
(Inherited from EventDispatcher.)
AddEventListener(String, EventHandler, EventPhase)
Adds the event listener
(Inherited from EventDispatcher.)
AddEventListener(String, EventHandler)
AddEventListener Overload Assumes that useCapturePhase is false
(Inherited from EventDispatcher.)
AddEventListener(String, EventHandler, Int32)
Adds the event listener
(Inherited from EventDispatcher.)
ClearHoverCursor()()()()
Clears the hover cursor

DebugMode
Debug mode

DispatchEvent(Event, Boolean)
Dispatches an event with the option of late processing (immediate = TRUE/FALSE)
(Inherited from EventDispatcher.)
DispatchEvent(Event)
Dispatches an event immediatelly
(Inherited from EventDispatcher.)
Dispose()()()()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Overrides EventDispatcher.Dispose()()()().)
DoubleClickDelay
Time in seconds that has to pass between two clicks not to be recognized as a double-click gesture

EnqueueEvent(Event)
Adds an event to the queue The queue will be processed when ProcessQueue() manually executed
(Inherited from EventDispatcher.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExecuteListeners(Event)
Executes event handlers listening for a particular event type
(Inherited from EventDispatcher.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
HasBubblingEventListener(String)
Returns true if there are any subscribers in bubbling hierarchy
Override in superclass
(Inherited from EventDispatcher.)
HasEventListener(String)
Returns true if EventDispatcher has any registered listeners for a specific type and phase
(Inherited from EventDispatcher.)
InspectMode
Optimization
Some calculations, like for the MouseWheelTarget for example, doesn't need to be updated
on each mouse move. However, when using the GuiInspector, we'd like to update its label for MWT
each time the user mouse-overs the new MWT

InspectorMouseLeaveSignal
Fires when mouse leave occurs

InspectorMouseOutSignal
Fires when mouse out occurs (even with disabled components)

InspectorMouseOverSignal
Fires when mouse over occurs (even with disabled components)

InspectorTarget
The reference to a component that is under the mouse This component is looked upon after each mouse move on all stages

Instance
Singleton instance

IsDefaultPrevented(String, Boolean)
Exposes the cancelable event to the outside if there are listeners for that event type If default prevented, returns false If not, returns true
(Inherited from EventDispatcher.)
IsDefaultPrevented(String)
No-bubbling version
(Inherited from EventDispatcher.)
MappedToAnyPhase(String, EventHandler, EventPhase)
Returns true if handler is mapped to any of the specified phases
(Inherited from EventDispatcher.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MiddleDoubleClickDelay
Time in seconds that has to pass between two clicks not to be recognized as a double-click gesture

MouseDownComponent
The reference to a component that is mouse-downed

MouseTarget
The reference to a component that is under the mouse This component is looked upon after each mouse move on all stages

MouseWheelTargets
The reference to a component that will receive mouse wheel events This component is looked upon after each mouse move on all stages

PlayModeInspect
Optimization
Some calculations, like for the MouseWheelTarget for example, doesn't need to be updated
on each mouse move. However, when using the GuiInspector, we'd like to update its label for MWT
each time the user mouse-overs the new MWT

ProcessEvent(Event)
Could be overriden in a subclass (for instance to implement event bubbling)
(Inherited from EventDispatcher.)
ProcessQueue()()()()
If events are added to queue, they are waiting to be fired
in the same order they are added
(Inherited from EventDispatcher.)
RecalculateMouseTarget()()()()
Finds the component under the mouse poiner

RecalculateMouseWheelTargets()()()()
Finds the Component stack under the mouse poiner

RegisterRollOverComponent(Component, Boolean)
Registers rollover component

RegisterRollOverComponent(Component)
Registers rollover component

RemoveAllListeners(String)
Removes all listeners for the spacified event type (both capture and bubbling phase)
(Inherited from EventDispatcher.)
RemoveAllListeners(String, EventPhase)
Removes all listeners for the spacified event type and phases
(Inherited from EventDispatcher.)
RemoveEventListener(String, EventHandler, EventPhase)
Removes the event listener
(Inherited from EventDispatcher.)
RemoveEventListener(String, EventHandler)
Removes the event listener
(Inherited from EventDispatcher.)
RightDoubleClickDelay
Time in seconds that has to pass between two clicks not to be recognized as a double-click gesture

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
UnregisterRollOverComponent(Component)
Unregisters rollover component

Inheritance Hierarchy
Object
EventDispatcher
 MouseEventDispatcher

Assembly: eDriven.Gui (Module: eDriven.Gui) Version: 2.0.1.0 (2.0.1.0)