< prev index next >

modules/graphics/src/main/native-glass/gtk/glass_general.cpp

Print this page




 201     if (env->ExceptionCheck()) return JNI_ERR;
 202     jViewNotifyDragEnter = env->GetMethodID(clazz, "notifyDragEnter", "(IIIII)I");
 203     if (env->ExceptionCheck()) return JNI_ERR;
 204     jViewNotifyDragOver = env->GetMethodID(clazz, "notifyDragOver", "(IIIII)I");
 205     if (env->ExceptionCheck()) return JNI_ERR;
 206     jViewNotifyDragDrop = env->GetMethodID(clazz, "notifyDragDrop", "(IIIII)I");
 207     if (env->ExceptionCheck()) return JNI_ERR;
 208     jViewNotifyDragLeave = env->GetMethodID(clazz, "notifyDragLeave", "()V");
 209     if (env->ExceptionCheck()) return JNI_ERR;
 210     jViewNotifyScroll = env->GetMethodID(clazz, "notifyScroll", "(IIIIDDIIIIIDD)V");
 211     if (env->ExceptionCheck()) return JNI_ERR;
 212     jViewNotifyInputMethod = env->GetMethodID(clazz, "notifyInputMethod", "(Ljava/lang/String;[I[I[BIII)V");
 213     if (env->ExceptionCheck()) return JNI_ERR;
 214     jViewNotifyMenu = env->GetMethodID(clazz, "notifyMenu", "(IIIIZ)V");
 215     if (env->ExceptionCheck()) return JNI_ERR;
 216     jViewPtr = env->GetFieldID(clazz, "ptr", "J");
 217     if (env->ExceptionCheck()) return JNI_ERR;
 218 
 219     clazz = env->FindClass("com/sun/glass/ui/gtk/GtkView");
 220     if (env->ExceptionCheck()) return JNI_ERR;
 221     jViewNotifyInputMethodDraw = env->GetMethodID(clazz, "notifyInputMethodDraw", "(Ljava/lang/String;III)V");
 222     if (env->ExceptionCheck()) return JNI_ERR;
 223     jViewNotifyInputMethodCaret = env->GetMethodID(clazz, "notifyInputMethodCaret", "(III)V");
 224     if (env->ExceptionCheck()) return JNI_ERR;
 225     jViewNotifyPreeditMode = env->GetMethodID(clazz, "notifyPreeditMode", "(Z)V");
 226     if (env->ExceptionCheck()) return JNI_ERR;
 227 
 228     clazz = env->FindClass("com/sun/glass/ui/Window");
 229     if (env->ExceptionCheck()) return JNI_ERR;
 230     jWindowNotifyResize = env->GetMethodID(clazz, "notifyResize", "(III)V");
 231     if (env->ExceptionCheck()) return JNI_ERR;
 232     jWindowNotifyMove = env->GetMethodID(clazz, "notifyMove", "(II)V");
 233     if (env->ExceptionCheck()) return JNI_ERR;
 234     jWindowNotifyDestroy = env->GetMethodID(clazz, "notifyDestroy", "()V");
 235     if (env->ExceptionCheck()) return JNI_ERR;
 236     jWindowNotifyClose = env->GetMethodID(clazz, "notifyClose", "()V");
 237     if (env->ExceptionCheck()) return JNI_ERR;
 238     jWindowNotifyFocus = env->GetMethodID(clazz, "notifyFocus", "(I)V");
 239     if (env->ExceptionCheck()) return JNI_ERR;
 240     jWindowNotifyFocusDisabled = env->GetMethodID(clazz, "notifyFocusDisabled", "()V");
 241     if (env->ExceptionCheck()) return JNI_ERR;




 201     if (env->ExceptionCheck()) return JNI_ERR;
 202     jViewNotifyDragEnter = env->GetMethodID(clazz, "notifyDragEnter", "(IIIII)I");
 203     if (env->ExceptionCheck()) return JNI_ERR;
 204     jViewNotifyDragOver = env->GetMethodID(clazz, "notifyDragOver", "(IIIII)I");
 205     if (env->ExceptionCheck()) return JNI_ERR;
 206     jViewNotifyDragDrop = env->GetMethodID(clazz, "notifyDragDrop", "(IIIII)I");
 207     if (env->ExceptionCheck()) return JNI_ERR;
 208     jViewNotifyDragLeave = env->GetMethodID(clazz, "notifyDragLeave", "()V");
 209     if (env->ExceptionCheck()) return JNI_ERR;
 210     jViewNotifyScroll = env->GetMethodID(clazz, "notifyScroll", "(IIIIDDIIIIIDD)V");
 211     if (env->ExceptionCheck()) return JNI_ERR;
 212     jViewNotifyInputMethod = env->GetMethodID(clazz, "notifyInputMethod", "(Ljava/lang/String;[I[I[BIII)V");
 213     if (env->ExceptionCheck()) return JNI_ERR;
 214     jViewNotifyMenu = env->GetMethodID(clazz, "notifyMenu", "(IIIIZ)V");
 215     if (env->ExceptionCheck()) return JNI_ERR;
 216     jViewPtr = env->GetFieldID(clazz, "ptr", "J");
 217     if (env->ExceptionCheck()) return JNI_ERR;
 218 
 219     clazz = env->FindClass("com/sun/glass/ui/gtk/GtkView");
 220     if (env->ExceptionCheck()) return JNI_ERR;
 221     jViewNotifyInputMethodDraw = env->GetMethodID(clazz, "notifyInputMethodDraw", "(Ljava/lang/String;III[B)V");
 222     if (env->ExceptionCheck()) return JNI_ERR;
 223     jViewNotifyInputMethodCaret = env->GetMethodID(clazz, "notifyInputMethodCaret", "(III)V");
 224     if (env->ExceptionCheck()) return JNI_ERR;
 225     jViewNotifyPreeditMode = env->GetMethodID(clazz, "notifyPreeditMode", "(Z)V");
 226     if (env->ExceptionCheck()) return JNI_ERR;
 227 
 228     clazz = env->FindClass("com/sun/glass/ui/Window");
 229     if (env->ExceptionCheck()) return JNI_ERR;
 230     jWindowNotifyResize = env->GetMethodID(clazz, "notifyResize", "(III)V");
 231     if (env->ExceptionCheck()) return JNI_ERR;
 232     jWindowNotifyMove = env->GetMethodID(clazz, "notifyMove", "(II)V");
 233     if (env->ExceptionCheck()) return JNI_ERR;
 234     jWindowNotifyDestroy = env->GetMethodID(clazz, "notifyDestroy", "()V");
 235     if (env->ExceptionCheck()) return JNI_ERR;
 236     jWindowNotifyClose = env->GetMethodID(clazz, "notifyClose", "()V");
 237     if (env->ExceptionCheck()) return JNI_ERR;
 238     jWindowNotifyFocus = env->GetMethodID(clazz, "notifyFocus", "(I)V");
 239     if (env->ExceptionCheck()) return JNI_ERR;
 240     jWindowNotifyFocusDisabled = env->GetMethodID(clazz, "notifyFocusDisabled", "()V");
 241     if (env->ExceptionCheck()) return JNI_ERR;


< prev index next >