(private) new xrx.event.HandlerTarget()
A class implementing the event target behavior of a drawing canvas.
It receives events and invokes handler functions.
Members
-
xrx.event.HandlerTarget#cursor_ :xrx.drawing.Cursor
-
The drawing cursor.
Type:
-
xrx.event.HandlerTarget#handler_ :goog.events.EventHandler
-
The event handler of this drawing canvas.
Type:
- goog.events.EventHandler
Methods
-
xrx.event.HandlerTarget#disposeInternal()
-
xrx.event.HandlerTarget#getHandler() → {goog.events.EventHandler}
-
Returns the event handler of this drawing canvas.
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. -
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. -
(private) xrx.event.HandlerTarget#registerDown()
-
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. -
(private) xrx.event.HandlerTarget#registerEvent_()
-
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. -
(private) xrx.event.HandlerTarget#registerHover()
-
(private) xrx.event.HandlerTarget#registerMove()
-
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. -
(private) xrx.event.HandlerTarget#registerUp()
-
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.