< prev index next >

modules/javafx.graphics/src/main/java/com/sun/glass/events/DndEvent.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 DndEvent {
-    final static public int ENTER   = 611;
-    final static public int UPDATE  = 612;
-    final static public int PERFORM = 613;
-    final static public int EXIT    = 614;
-    final static public int END     = 615;
+    @Native final static public int ENTER   = 611;
+    @Native final static public int UPDATE  = 612;
+    @Native final static public int PERFORM = 613;
+    @Native final static public int EXIT    = 614;
+    @Native final static public int END     = 615;
 }
< prev index next >