Class for one gesture.
The event that kicked off this gesture.
The workspace that created this gesture and has a reference to it.
Bind gesture events. Overriding the gesture definition of this function, binding the same functions for onMoveWrapper_ and onUpWrapper_ but passing opt_noCaptureIdentifier. In addition, binding a second mouse down event to detect multi-touch events.
A mouse down or touch start event.
Start a gesture: update the workspace to indicate that a gesture is in progress and bind mousemove and mouseup handlers.
A mouse down, touch start or pointer down event.
Gets the current dragger if an item is being dragged. Null if nothing is being dragged.
The dragger that is currently in use or null if no drag is in progress.
Helper function returning the current touch point coordinate.
A touch or pointer event.
The current touch point coordinate
Handle a mouse move, touch move, or pointer move event.
A mouse move, touch move, or pointer move event.
Handle a real or faked right-click event by showing a context menu.
A mouse move or touch move event.
Handle a mouse down, touch start, or pointer down event.
A mouse down, touch start, or pointer down event.
Handle a touch end or pointer end event and end the gesture.
A touch end, or pointer end event.
Handle a touch move or pointer move event and zoom in/out if two pointers are on the screen.
A touch move, or pointer move event.
Handle a touch start or pointer down event and keep track of current pointers.
A touch start, or pointer down event.
Handle a mouse up, touch end, or pointer up event.
A mouse up, touch end, or pointer up event.
Handle a mousedown/touchstart event on a workspace.
A mouse down or touch start event.
The workspace the event hit.
Record the bubble that a gesture started on
The bubble the gesture started on.
Fake class which should be extended to avoid inheriting static properties