< prev index next >
modules/javafx.graphics/src/main/java/com/sun/glass/events/GestureEvent.java
Print this page
rev 10044 : 8166230: use @Native annotation in graphics, media classes
Reviewed-by: kcr
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -22,11 +22,13 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package com.sun.glass.events;
+import java.lang.annotation.Native;
+
public class GestureEvent {
- public final static int GESTURE_STARTED = 1;
- public final static int GESTURE_PERFORMED = 2;
- public final static int GESTURE_FINISHED = 3;
+ @Native public final static int GESTURE_STARTED = 1;
+ @Native public final static int GESTURE_PERFORMED = 2;
+ @Native public final static int GESTURE_FINISHED = 3;
}
< prev index next >