< prev index next >

modules/javafx.graphics/src/main/java/com/sun/glass/events/SwipeGesture.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,13 +22,15 @@
  * 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 SwipeGesture {
 
     // directions
-    public final static int DIR_UP = 1;
-    public final static int DIR_DOWN = 2;
-    public final static int DIR_LEFT = 3;
-    public final static int DIR_RIGHT = 4;
+    @Native public final static int DIR_UP = 1;
+    @Native public final static int DIR_DOWN = 2;
+    @Native public final static int DIR_LEFT = 3;
+    @Native public final static int DIR_RIGHT = 4;
 }
< prev index next >