OLD | NEW |
| (Empty) |
1 // Copyright 2011 (c) The Native Client Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 /** | |
6 * @fileoverview Definitions of common modeler events triggered by various | |
7 * toolbars, keyboard shortcuts, and other interface elements. | |
8 */ | |
9 | |
10 goog.provide('uikit.events.EventType'); | |
11 | |
12 /** | |
13 * Event types triggered by the various user interface elements. | |
14 * @enum {string} | |
15 */ | |
16 uikit.events.EventType = { | |
17 ACTION: 'uikit_action', // General UI action event. | |
18 DRAG_START: 'drag_start', // Start of a mouse-drag event sequence. | |
19 DRAG: 'drag', // Sent while the mouse is dragging. | |
20 DRAG_END: 'drag_end', // End of a mouse-drag sequence. | |
21 ORBIT: 'orbit', // Orbit tool events. | |
22 LINE: 'line', // Line tool events | |
23 PUSH_PULL: 'pushpull' // Push-pull tool events. | |
24 } | |
OLD | NEW |