Class: xrx.event.HandlerTarget

HandlerTarget

(private) new xrx.event.HandlerTarget()

A class implementing the event target behavior of a drawing canvas. It receives events and invokes handler functions.
Source:

Members

xrx.event.HandlerTarget#cursor_ :xrx.drawing.Cursor

The drawing cursor.
Type:
Source:

xrx.event.HandlerTarget#handler_ :goog.events.EventHandler

The event handler of this drawing canvas.
Type:
  • goog.events.EventHandler
Source:

Methods

xrx.event.HandlerTarget#disposeInternal()

Source:

xrx.event.HandlerTarget#getHandler() → {goog.events.EventHandler}

Returns the event handler of this drawing canvas.
Source:
Returns:
The event handler.
Type
goog.events.EventHandler

xrx.event.HandlerTarget#registerClick(The)

Function registers a click event which is propagated to a handler object.
Parameters:
Name Type Description
The Object handler object.
Source:

xrx.event.HandlerTarget#registerDblClick(The)

Function registers a double-click event which is propagated to a handler object.
Parameters:
Name Type Description
The Object handler object.
Source:

(private) xrx.event.HandlerTarget#registerDown()

Source:

xrx.event.HandlerTarget#registerDrag(The)

Function registers a drag event which is propagated to a handler object.
Parameters:
Name Type Description
The Object handler object.
Source:

(private) xrx.event.HandlerTarget#registerEvent_()

Source:

xrx.event.HandlerTarget#registerEvents(The)

Function registers all events necessary for a specific mode of this drawing canvas.
Parameters:
Name Type Description
The string mode.
Source:

(private) xrx.event.HandlerTarget#registerHover()

Source:

(private) xrx.event.HandlerTarget#registerMove()

Source:

xrx.event.HandlerTarget#registerOut(The)

Function registers a mouse out event which is propagated to a handler object.
Parameters:
Name Type Description
The Object handler object.
Source:

(private) xrx.event.HandlerTarget#registerUp()

Source:

xrx.event.HandlerTarget#registerWheel(The)

Function registers a wheel event which is propagated to a handler object.
Parameters:
Name Type Description
The Object handler object.
Source: