< prev index next >

src/jdk.accessibility/windows/native/libjavaaccessbridge/JavaAccessBridge.cpp

Print this page

        

*** 28,38 **** * between Java VMs purposes of Accessbility. */ #include "AccessBridgeDebug.h" #include "JavaAccessBridge.h" ! #include "com_sun_java_accessibility_AccessBridge.h" // programatically generated by JNI #include "accessBridgeResource.h" #include "accessBridgeCallbacks.h" #include "AccessBridgeMessages.h" --- 28,38 ---- * between Java VMs purposes of Accessbility. */ #include "AccessBridgeDebug.h" #include "JavaAccessBridge.h" ! #include "com_sun_java_accessibility_internal_AccessBridge.h" // programatically generated by JNI #include "accessBridgeResource.h" #include "accessBridgeCallbacks.h" #include "AccessBridgeMessages.h"
*** 82,92 **** /** * Open a native window (and init the wrappers we'll be using) * */ JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_AccessBridge_runDLL(JNIEnv *env, jobject obj) { PrintDebugString("\r\nJavaAccessBridge.DLL runDLL() called"); theJavaAccessBridge->javaRun(env, obj); } #if 0 // SetDlgItemText has caused problems with JAWS --- 82,92 ---- /** * Open a native window (and init the wrappers we'll be using) * */ JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_internal_AccessBridge_runDLL(JNIEnv *env, jobject obj) { PrintDebugString("\r\nJavaAccessBridge.DLL runDLL() called"); theJavaAccessBridge->javaRun(env, obj); } #if 0 // SetDlgItemText has caused problems with JAWS
*** 1732,1742 **** void JavaAccessBridge::firePropertyCaretChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jint oldValue, jint newValue) { ! PrintDebugString("\r\nJava_com_sun_java_accessibility_AccessBridge_propertyCaretChanged(%p, %p, %p, %p, %d, %d)", env, callingObj, event, source, oldValue, newValue); // sanity check if (ATs == (AccessBridgeATInstance *) 0) { --- 1732,1742 ---- void JavaAccessBridge::firePropertyCaretChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jint oldValue, jint newValue) { ! PrintDebugString("\r\nJava_com_sun_java_accessibility_internal_AccessBridge_propertyCaretChanged(%p, %p, %p, %p, %d, %d)", env, callingObj, event, source, oldValue, newValue); // sanity check if (ATs == (AccessBridgeATInstance *) 0) {
*** 1786,1796 **** void JavaAccessBridge::firePropertyDescriptionChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jstring oldValue, jstring newValue){ ! PrintDebugString("\r\nJava_com_sun_java_accessibility_AccessBridge_propertyDescriptionChanged(%p, %p, %p, %p, %p, %p)", env, callingObj, event, source, oldValue, newValue); // sanity check if (ATs == (AccessBridgeATInstance *) 0) { --- 1786,1796 ---- void JavaAccessBridge::firePropertyDescriptionChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jstring oldValue, jstring newValue){ ! PrintDebugString("\r\nJava_com_sun_java_accessibility_internal_AccessBridge_propertyDescriptionChanged(%p, %p, %p, %p, %p, %p)", env, callingObj, event, source, oldValue, newValue); // sanity check if (ATs == (AccessBridgeATInstance *) 0) {
*** 1872,1882 **** void JavaAccessBridge::firePropertyNameChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jstring oldValue, jstring newValue){ ! PrintDebugString("\r\nJava_com_sun_java_accessibility_AccessBridge_propertyNameChanged(%p, %p, %p, %p, %p, %p)", env, callingObj, event, source, oldValue, newValue); // sanity check if (ATs == (AccessBridgeATInstance *) 0) { --- 1872,1882 ---- void JavaAccessBridge::firePropertyNameChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jstring oldValue, jstring newValue){ ! PrintDebugString("\r\nJava_com_sun_java_accessibility_internal_AccessBridge_propertyNameChanged(%p, %p, %p, %p, %p, %p)", env, callingObj, event, source, oldValue, newValue); // sanity check if (ATs == (AccessBridgeATInstance *) 0) {
*** 1958,1968 **** */ void JavaAccessBridge::firePropertySelectionChange(JNIEnv *env, jobject callingObj, jobject event, jobject source) { ! PrintDebugString("\r\nJava_com_sun_java_accessibility_AccessBridge_propertySelectionChanged(%p, %p, %p, %p)", env, callingObj, event, source); // sanity check if (ATs == (AccessBridgeATInstance *) 0) { PrintDebugString(" ERROR!! ATs == 0! (shouldn't happen here!)"); --- 1958,1968 ---- */ void JavaAccessBridge::firePropertySelectionChange(JNIEnv *env, jobject callingObj, jobject event, jobject source) { ! PrintDebugString("\r\nJava_com_sun_java_accessibility_internal_AccessBridge_propertySelectionChanged(%p, %p, %p, %p)", env, callingObj, event, source); // sanity check if (ATs == (AccessBridgeATInstance *) 0) { PrintDebugString(" ERROR!! ATs == 0! (shouldn't happen here!)");
*** 2009,2019 **** void JavaAccessBridge::firePropertyStateChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jstring oldValue, jstring newValue){ ! PrintDebugString("\r\nJava_com_sun_java_accessibility_AccessBridge_propertyStateChanged(%p, %p, %p, %p, %p, %p)", env, callingObj, event, source, oldValue, newValue); // sanity check if (ATs == (AccessBridgeATInstance *) 0) { --- 2009,2019 ---- void JavaAccessBridge::firePropertyStateChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jstring oldValue, jstring newValue){ ! PrintDebugString("\r\nJava_com_sun_java_accessibility_internal_AccessBridge_propertyStateChanged(%p, %p, %p, %p, %p, %p)", env, callingObj, event, source, oldValue, newValue); // sanity check if (ATs == (AccessBridgeATInstance *) 0) {
*** 2095,2105 **** */ void JavaAccessBridge::firePropertyTextChange(JNIEnv *env, jobject callingObj, jobject event, jobject source) { ! PrintDebugString("\r\nJava_com_sun_java_accessibility_AccessBridge_propertyTextChanged(%p, %p, %p, %p)", env, callingObj, event, source); // sanity check if (ATs == (AccessBridgeATInstance *) 0) { PrintDebugString(" ERROR!! ATs == 0! (shouldn't happen here!)"); --- 2095,2105 ---- */ void JavaAccessBridge::firePropertyTextChange(JNIEnv *env, jobject callingObj, jobject event, jobject source) { ! PrintDebugString("\r\nJava_com_sun_java_accessibility_internal_AccessBridge_propertyTextChanged(%p, %p, %p, %p)", env, callingObj, event, source); // sanity check if (ATs == (AccessBridgeATInstance *) 0) { PrintDebugString(" ERROR!! ATs == 0! (shouldn't happen here!)");
*** 2146,2156 **** void JavaAccessBridge::firePropertyValueChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jstring oldValue, jstring newValue){ ! PrintDebugString("\r\nJava_com_sun_java_accessibility_AccessBridge_propertyValueChanged(%p, %p, %p, %p, %p, %p)", env, callingObj, event, source, oldValue, newValue); // sanity check if (ATs == (AccessBridgeATInstance *) 0) { --- 2146,2156 ---- void JavaAccessBridge::firePropertyValueChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jstring oldValue, jstring newValue){ ! PrintDebugString("\r\nJava_com_sun_java_accessibility_internal_AccessBridge_propertyValueChanged(%p, %p, %p, %p, %p, %p)", env, callingObj, event, source, oldValue, newValue); // sanity check if (ATs == (AccessBridgeATInstance *) 0) {
*** 2231,2241 **** */ void JavaAccessBridge::firePropertyVisibleDataChange(JNIEnv *env, jobject callingObj, jobject event, jobject source) { ! PrintDebugString("\r\nJava_com_sun_java_accessibility_AccessBridge_propertyVisibleDataChanged(%p, %p, %p, %p)", env, callingObj, event, source); // sanity check if (ATs == (AccessBridgeATInstance *) 0) { PrintDebugString(" ERROR!! ATs == 0! (shouldn't happen here!)"); --- 2231,2241 ---- */ void JavaAccessBridge::firePropertyVisibleDataChange(JNIEnv *env, jobject callingObj, jobject event, jobject source) { ! PrintDebugString("\r\nJava_com_sun_java_accessibility_internal_AccessBridge_propertyVisibleDataChanged(%p, %p, %p, %p)", env, callingObj, event, source); // sanity check if (ATs == (AccessBridgeATInstance *) 0) { PrintDebugString(" ERROR!! ATs == 0! (shouldn't happen here!)");
*** 2282,2292 **** void JavaAccessBridge::firePropertyChildChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jobject oldValue, jobject newValue){ ! PrintDebugString("\r\nJava_com_sun_java_accessibility_AccessBridge_propertyChildPropertyChanged(%p, %p, %p, %p, %p, %p)", env, callingObj, event, source, oldValue, newValue); // sanity check if (ATs == (AccessBridgeATInstance *) 0) { --- 2282,2292 ---- void JavaAccessBridge::firePropertyChildChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jobject oldValue, jobject newValue){ ! PrintDebugString("\r\nJava_com_sun_java_accessibility_internal_AccessBridge_propertyChildPropertyChanged(%p, %p, %p, %p, %p, %p)", env, callingObj, event, source, oldValue, newValue); // sanity check if (ATs == (AccessBridgeATInstance *) 0) {
*** 2340,2350 **** void JavaAccessBridge::firePropertyActiveDescendentChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jobject oldValue, jobject newValue){ ! PrintDebugString("\r\nJava_com_sun_java_accessibility_AccessBridge_propertyActiveDescendentPropertyChanged(%p, %p, %p, %p, %p, %p)", env, callingObj, event, source, oldValue, newValue); // sanity check if (ATs == (AccessBridgeATInstance *) 0) { --- 2340,2350 ---- void JavaAccessBridge::firePropertyActiveDescendentChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jobject oldValue, jobject newValue){ ! PrintDebugString("\r\nJava_com_sun_java_accessibility_internal_AccessBridge_propertyActiveDescendentPropertyChanged(%p, %p, %p, %p, %p, %p)", env, callingObj, event, source, oldValue, newValue); // sanity check if (ATs == (AccessBridgeATInstance *) 0) {
*** 2397,2407 **** void JavaAccessBridge::firePropertyTableModelChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jstring oldValue, jstring newValue){ ! PrintDebugString("\r\nJava_com_sun_java_accessibility_AccessBridge_propertyTableModelChange(%p, %p, %p, %p, %p, %p)", env, callingObj, event, source, oldValue, newValue); // sanity check if (ATs == (AccessBridgeATInstance *) 0) { --- 2397,2407 ---- void JavaAccessBridge::firePropertyTableModelChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jstring oldValue, jstring newValue){ ! PrintDebugString("\r\nJava_com_sun_java_accessibility_internal_AccessBridge_propertyTableModelChange(%p, %p, %p, %p, %p, %p)", env, callingObj, event, source, oldValue, newValue); // sanity check if (ATs == (AccessBridgeATInstance *) 0) {
*** 2578,2588 **** extern "C" { // event stuff from AccessBridge.h, generated by JNI JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_AccessBridge_sendDebugString(JNIEnv *env, jobject callingObj, jstring debugStr) { const wchar_t *stringBytes; stringBytes = (const wchar_t *) env->GetStringChars(debugStr, 0); if (stringBytes == NULL) { if (!env->ExceptionCheck()) { --- 2578,2588 ---- extern "C" { // event stuff from AccessBridge.h, generated by JNI JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_internal_AccessBridge_sendDebugString(JNIEnv *env, jobject callingObj, jstring debugStr) { const wchar_t *stringBytes; stringBytes = (const wchar_t *) env->GetStringChars(debugStr, 0); if (stringBytes == NULL) { if (!env->ExceptionCheck()) {
*** 2596,2691 **** wPrintJavaDebugString(L"AccessBridge.java: %ls", stringBytes); env->ReleaseStringChars(debugStr, stringBytes); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_AccessBridge_propertyCaretChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jint oldValue, jint newValue) { theJavaAccessBridge->firePropertyCaretChange(env, callingObj, event, source, oldValue, newValue); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_AccessBridge_propertyDescriptionChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jstring oldValue, jstring newValue) { theJavaAccessBridge->firePropertyDescriptionChange(env, callingObj, event, source, oldValue, newValue); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_AccessBridge_propertyNameChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jstring oldValue, jstring newValue) { theJavaAccessBridge->firePropertyNameChange(env, callingObj, event, source, oldValue, newValue); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_AccessBridge_propertySelectionChange(JNIEnv *env, jobject callingObj, jobject event, jobject source) { theJavaAccessBridge->firePropertySelectionChange(env, callingObj, event, source); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_AccessBridge_propertyStateChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jstring oldValue, jstring newValue) { theJavaAccessBridge->firePropertyStateChange(env, callingObj, event, source, oldValue, newValue); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_AccessBridge_propertyTextChange(JNIEnv *env, jobject callingObj, jobject event, jobject source) { theJavaAccessBridge->firePropertyTextChange(env, callingObj, event, source); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_AccessBridge_propertyValueChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jstring oldValue, jstring newValue) { theJavaAccessBridge->firePropertyValueChange(env, callingObj, event, source, oldValue, newValue); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_AccessBridge_propertyVisibleDataChange(JNIEnv *env, jobject callingObj, jobject event, jobject source) { theJavaAccessBridge->firePropertyVisibleDataChange(env, callingObj, event, source); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_AccessBridge_propertyChildChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jobject oldValue, jobject newValue) { theJavaAccessBridge->firePropertyChildChange(env, callingObj, event, source, oldValue, newValue); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_AccessBridge_propertyActiveDescendentChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jobject oldValue, jobject newValue) { theJavaAccessBridge->firePropertyActiveDescendentChange(env, callingObj, event, source, oldValue, newValue); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_AccessBridge_propertyTableModelChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jstring oldValue, jstring newValue) { theJavaAccessBridge->firePropertyTableModelChange(env, callingObj, event, source, --- 2596,2691 ---- wPrintJavaDebugString(L"AccessBridge.java: %ls", stringBytes); env->ReleaseStringChars(debugStr, stringBytes); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_internal_AccessBridge_propertyCaretChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jint oldValue, jint newValue) { theJavaAccessBridge->firePropertyCaretChange(env, callingObj, event, source, oldValue, newValue); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_internal_AccessBridge_propertyDescriptionChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jstring oldValue, jstring newValue) { theJavaAccessBridge->firePropertyDescriptionChange(env, callingObj, event, source, oldValue, newValue); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_internal_AccessBridge_propertyNameChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jstring oldValue, jstring newValue) { theJavaAccessBridge->firePropertyNameChange(env, callingObj, event, source, oldValue, newValue); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_internal_AccessBridge_propertySelectionChange(JNIEnv *env, jobject callingObj, jobject event, jobject source) { theJavaAccessBridge->firePropertySelectionChange(env, callingObj, event, source); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_internal_AccessBridge_propertyStateChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jstring oldValue, jstring newValue) { theJavaAccessBridge->firePropertyStateChange(env, callingObj, event, source, oldValue, newValue); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_internal_AccessBridge_propertyTextChange(JNIEnv *env, jobject callingObj, jobject event, jobject source) { theJavaAccessBridge->firePropertyTextChange(env, callingObj, event, source); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_internal_AccessBridge_propertyValueChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jstring oldValue, jstring newValue) { theJavaAccessBridge->firePropertyValueChange(env, callingObj, event, source, oldValue, newValue); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_internal_AccessBridge_propertyVisibleDataChange(JNIEnv *env, jobject callingObj, jobject event, jobject source) { theJavaAccessBridge->firePropertyVisibleDataChange(env, callingObj, event, source); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_internal_AccessBridge_propertyChildChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jobject oldValue, jobject newValue) { theJavaAccessBridge->firePropertyChildChange(env, callingObj, event, source, oldValue, newValue); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_internal_AccessBridge_propertyActiveDescendentChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jobject oldValue, jobject newValue) { theJavaAccessBridge->firePropertyActiveDescendentChange(env, callingObj, event, source, oldValue, newValue); } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_internal_AccessBridge_propertyTableModelChange(JNIEnv *env, jobject callingObj, jobject event, jobject source, jstring oldValue, jstring newValue) { theJavaAccessBridge->firePropertyTableModelChange(env, callingObj, event, source,
*** 2698,2735 **** theJavaAccessBridge->method(env, callingObj, event, source); \ } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_AccessBridge_javaShutdown(JNIEnv *env, jobject callingObj) { theJavaAccessBridge->javaShutdown(env, callingObj); } ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_AccessBridge_focusGained, fireFocusGained) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_AccessBridge_focusLost, fireFocusLost) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_AccessBridge_caretUpdate, fireCaretUpdate) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_AccessBridge_mouseClicked, fireMouseClicked) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_AccessBridge_mouseEntered, fireMouseEntered) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_AccessBridge_mouseExited, fireMouseExited) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_AccessBridge_mousePressed, fireMousePressed) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_AccessBridge_mouseReleased, fireMouseReleased) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_AccessBridge_menuCanceled, fireMenuCanceled) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_AccessBridge_menuDeselected, fireMenuDeselected) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_AccessBridge_menuSelected, fireMenuSelected) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_AccessBridge_popupMenuCanceled, firePopupMenuCanceled) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_AccessBridge_popupMenuWillBecomeInvisible, firePopupMenuWillBecomeInvisible) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_AccessBridge_popupMenuWillBecomeVisible, firePopupMenuWillBecomeVisible) /* * Map a HWND to a Java component * ! * Class: com_sun_java_accessibility_AccessBridge * Method: jawtGetComponentFromNativeWindowHandle * Signature: (I)Ljava/awt/Component; */ JNIEXPORT jobject JNICALL ! Java_com_sun_java_accessibility_AccessBridge_jawtGetComponentFromNativeWindowHandle (JNIEnv *env, jobject callingObj, jint windowHandle) { JAWT awt; jboolean result; jobject component = (jobject)0; --- 2698,2735 ---- theJavaAccessBridge->method(env, callingObj, event, source); \ } JNIEXPORT void JNICALL ! Java_com_sun_java_accessibility_internal_AccessBridge_javaShutdown(JNIEnv *env, jobject callingObj) { theJavaAccessBridge->javaShutdown(env, callingObj); } ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_internal_AccessBridge_focusGained, fireFocusGained) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_internal_AccessBridge_focusLost, fireFocusLost) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_internal_AccessBridge_caretUpdate, fireCaretUpdate) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_internal_AccessBridge_mouseClicked, fireMouseClicked) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_internal_AccessBridge_mouseEntered, fireMouseEntered) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_internal_AccessBridge_mouseExited, fireMouseExited) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_internal_AccessBridge_mousePressed, fireMousePressed) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_internal_AccessBridge_mouseReleased, fireMouseReleased) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_internal_AccessBridge_menuCanceled, fireMenuCanceled) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_internal_AccessBridge_menuDeselected, fireMenuDeselected) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_internal_AccessBridge_menuSelected, fireMenuSelected) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_internal_AccessBridge_popupMenuCanceled, firePopupMenuCanceled) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_internal_AccessBridge_popupMenuWillBecomeInvisible, firePopupMenuWillBecomeInvisible) ! HANDLE_STANDARD_EVENT_FROM_JAVA(Java_com_sun_java_accessibility_internal_AccessBridge_popupMenuWillBecomeVisible, firePopupMenuWillBecomeVisible) /* * Map a HWND to a Java component * ! * Class: com_sun_java_accessibility_internal_AccessBridge * Method: jawtGetComponentFromNativeWindowHandle * Signature: (I)Ljava/awt/Component; */ JNIEXPORT jobject JNICALL ! Java_com_sun_java_accessibility_internal_AccessBridge_jawtGetComponentFromNativeWindowHandle (JNIEnv *env, jobject callingObj, jint windowHandle) { JAWT awt; jboolean result; jobject component = (jobject)0;
*** 2747,2762 **** /* * Map a Java component to a HWND * ! * Class: com_sun_java_accessibility_AccessBridge * Method: jawtGetNativeWindowHandleFromComponent * Signature: (Ljava/awt/Component;)I */ JNIEXPORT jint JNICALL ! Java_com_sun_java_accessibility_AccessBridge_jawtGetNativeWindowHandleFromComponent (JNIEnv *env, jobject callingObj, jobject component) { JAWT awt; JAWT_DrawingSurface* ds; JAWT_DrawingSurfaceInfo* dsi; --- 2747,2762 ---- /* * Map a Java component to a HWND * ! * Class: com_sun_java_accessibility_internal_AccessBridge * Method: jawtGetNativeWindowHandleFromComponent * Signature: (Ljava/awt/Component;)I */ JNIEXPORT jint JNICALL ! Java_com_sun_java_accessibility_internal_AccessBridge_jawtGetNativeWindowHandleFromComponent (JNIEnv *env, jobject callingObj, jobject component) { JAWT awt; JAWT_DrawingSurface* ds; JAWT_DrawingSurfaceInfo* dsi;
< prev index next >