All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SVEventType.java
Go to the documentation of this file.
1 // Copyright 2007 Google Inc. All Rights Reserved.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); You may not
4 // use this file except in compliance with the License. You may obtain a copy of
5 // the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by
6 // applicable law or agreed to in writing, software distributed under the
7 // License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
8 // OF ANY KIND, either express or implied. See the License for the specific
9 // language governing permissions and limitations under the License.
10 
11 package com.google.scrollview.events;
12 
20 public enum SVEventType {
21  SVET_DESTROY, // Window has been destroyed by user.
22  SVET_EXIT, // User has destroyed the last window by clicking on the 'X'
23  SVET_CLICK, // Any button pressed thats not a popup trigger.
24  SVET_SELECTION, // Left button selection.
25  SVET_INPUT, // Any kind of input
26  SVET_MOUSE, // The mouse has moved with a button pressed.
27  SVET_MOTION, // The mouse has moved with no button pressed.
28  SVET_HOVER, // The mouse has stayed still for a second.
29  SVET_POPUP, // A command selected through a popup menu
30  SVET_MENU; // A command selected through the menubar
31 }