< prev index next >

modules/javafx.graphics/src/main/native-glass/mac/GlassView.m

Print this page




 133     {
 134         jViewNotifyMenu = (*env)->GetMethodID(env, jViewClass, "notifyMenu", "(IIIIZ)V");
 135         if ((*env)->ExceptionCheck(env)) return;
 136     }
 137 
 138     if (jViewNotifyMouse == NULL)
 139     {
 140         jViewNotifyMouse = (*env)->GetMethodID(env, jViewClass, "notifyMouse", "(IIIIIIIZZ)V");
 141         if ((*env)->ExceptionCheck(env)) return;
 142     }
 143 
 144     if (jViewNotifyInputMethod == NULL)
 145     {
 146         jViewNotifyInputMethod = (*env)->GetMethodID(env, jViewClass, "notifyInputMethod", "(Ljava/lang/String;[I[I[BIII)V");
 147         if ((*env)->ExceptionCheck(env)) return;
 148     }
 149 
 150     if (jViewNotifyInputMethodMac == NULL)
 151     {
 152         jclass jMacViewClass = [GlassHelper ClassForName:"com.sun.glass.ui.mac.MacView" withEnv:env];

 153         jViewNotifyInputMethodMac = (*env)->GetMethodID(env, jMacViewClass, "notifyInputMethodMac", "(Ljava/lang/String;IIIII)V");
 154         if ((*env)->ExceptionCheck(env)) return;
 155     }
 156 
 157     if(jViewNotifyInputMethodCandidatePosRequest == NULL)
 158     {
 159         jViewNotifyInputMethodCandidatePosRequest = (*env)->GetMethodID(env, jViewClass, "notifyInputMethodCandidatePosRequest", "(I)[D");
 160         if ((*env)->ExceptionCheck(env)) return;
 161     }
 162 
 163     if (jViewNotifyDragEnter == NULL)
 164     {
 165         jViewNotifyDragEnter = (*env)->GetMethodID(env, jViewClass, "notifyDragEnter", "(IIIII)I");
 166         if ((*env)->ExceptionCheck(env)) return;
 167     }
 168 
 169     if (jViewNotifyDragOver == NULL)
 170     {
 171         jViewNotifyDragOver = (*env)->GetMethodID(env, jViewClass, "notifyDragOver", "(IIIII)I");
 172         if ((*env)->ExceptionCheck(env)) return;




 133     {
 134         jViewNotifyMenu = (*env)->GetMethodID(env, jViewClass, "notifyMenu", "(IIIIZ)V");
 135         if ((*env)->ExceptionCheck(env)) return;
 136     }
 137 
 138     if (jViewNotifyMouse == NULL)
 139     {
 140         jViewNotifyMouse = (*env)->GetMethodID(env, jViewClass, "notifyMouse", "(IIIIIIIZZ)V");
 141         if ((*env)->ExceptionCheck(env)) return;
 142     }
 143 
 144     if (jViewNotifyInputMethod == NULL)
 145     {
 146         jViewNotifyInputMethod = (*env)->GetMethodID(env, jViewClass, "notifyInputMethod", "(Ljava/lang/String;[I[I[BIII)V");
 147         if ((*env)->ExceptionCheck(env)) return;
 148     }
 149 
 150     if (jViewNotifyInputMethodMac == NULL)
 151     {
 152         jclass jMacViewClass = [GlassHelper ClassForName:"com.sun.glass.ui.mac.MacView" withEnv:env];
 153         if (!jMacViewClass) return;
 154         jViewNotifyInputMethodMac = (*env)->GetMethodID(env, jMacViewClass, "notifyInputMethodMac", "(Ljava/lang/String;IIIII)V");
 155         if ((*env)->ExceptionCheck(env)) return;
 156     }
 157 
 158     if(jViewNotifyInputMethodCandidatePosRequest == NULL)
 159     {
 160         jViewNotifyInputMethodCandidatePosRequest = (*env)->GetMethodID(env, jViewClass, "notifyInputMethodCandidatePosRequest", "(I)[D");
 161         if ((*env)->ExceptionCheck(env)) return;
 162     }
 163 
 164     if (jViewNotifyDragEnter == NULL)
 165     {
 166         jViewNotifyDragEnter = (*env)->GetMethodID(env, jViewClass, "notifyDragEnter", "(IIIII)I");
 167         if ((*env)->ExceptionCheck(env)) return;
 168     }
 169 
 170     if (jViewNotifyDragOver == NULL)
 171     {
 172         jViewNotifyDragOver = (*env)->GetMethodID(env, jViewClass, "notifyDragOver", "(IIIII)I");
 173         if ((*env)->ExceptionCheck(env)) return;


< prev index next >