< prev index next >

modules/javafx.graphics/src/main/java/com/sun/glass/events/TouchEvent.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,12 +22,14 @@
  * 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 TouchEvent
 {
-    public final static int TOUCH_PRESSED = 811;
-    public final static int TOUCH_MOVED = 812;
-    public final static int TOUCH_RELEASED = 813;
-    public final static int TOUCH_STILL = 814;
+    @Native public final static int TOUCH_PRESSED = 811;
+    @Native public final static int TOUCH_MOVED = 812;
+    @Native public final static int TOUCH_RELEASED = 813;
+    @Native public final static int TOUCH_STILL = 814;
 }
< prev index next >