< prev index next >
modules/javafx.graphics/src/main/java/com/sun/glass/events/ViewEvent.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,20 +22,22 @@
* 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 ViewEvent {
- final static public int ADD = 411;
- final static public int REMOVE = 412;
+ @Native final static public int ADD = 411;
+ @Native final static public int REMOVE = 412;
- final static public int REPAINT = 421;
- final static public int RESIZE = 422;
- final static public int MOVE = 423; // a-la "insets changed"
+ @Native final static public int REPAINT = 421;
+ @Native final static public int RESIZE = 422;
+ @Native final static public int MOVE = 423; // a-la "insets changed"
- final static public int FULLSCREEN_ENTER = 431;
- final static public int FULLSCREEN_EXIT = 432;
+ @Native final static public int FULLSCREEN_ENTER = 431;
+ @Native final static public int FULLSCREEN_EXIT = 432;
static public String getTypeString(int type) {
String string = "UNKNOWN";
switch (type) {
case ADD: string = "ADD"; break;
< prev index next >