Lines Matching refs:env

61 NSSize getAxComponentSize(JNIEnv *env, jobject axComponent, jobject component)
68 jobject dimension = JNFCallStaticObjectMethod(env, jm_getSize, axComponent, component); // AWT_THREADING Safe (AWTRunLoopMode)
71 return NSMakeSize(JNFGetIntField(env, dimension, jf_width), JNFGetIntField(env, dimension, jf_height));
74 NSString *getJavaRole(JNIEnv *env, jobject axComponent, jobject component)
77 jobject axRole = JNFCallStaticObjectMethod(env, sjm_getAccessibleRole, axComponent, component); // AWT_THREADING Safe (AWTRunLoopMode)
80 return JNFJavaToNSString(env, axRole);
83 jobject getAxSelection(JNIEnv *env, jobject axContext, jobject component)
86 return JNFCallStaticObjectMethod(env, jm_getAccessibleSelection, axContext, component); // AWT_THREADING Safe (AWTRunLoopMode)
89 jobject getAxContextSelection(JNIEnv *env, jobject axContext, jint index, jobject component)
92 return JNFCallStaticObjectMethod(env, jm_ax_getAccessibleSelection, axContext, index, component); // AWT_THREADING Safe (AWTRunLoopMode)
95 void setAxContextSelection(JNIEnv *env, jobject axContext, jint index, jobject component)
98 JNFCallStaticVoidMethod(env, jm_addAccessibleSelection, axContext, index, component); // AWT_THREADING Safe (AWTRunLoopMode)
101 jobject getAxContext(JNIEnv *env, jobject accessible, jobject component)
104 return JNFCallStaticObjectMethod(env, jm_getAccessibleContext, accessible, component); // AWT_THREADING Safe (AWTRunLoopMode)
107 BOOL isChildSelected(JNIEnv *env, jobject accessible, jint index, jobject component)
110 return JNFCallStaticBooleanMethod(env, jm_isAccessibleChildSelected, accessible, index, component); // AWT_THREADING Safe (AWTRunLoopMode)
113 jobject getAxStateSet(JNIEnv *env, jobject axContext, jobject component)
116 return JNFCallStaticObjectMethod(env, jm_getAccessibleStateSet, axContext, component); // AWT_THREADING Safe (AWTRunLoopMode)
119 BOOL containsAxState(JNIEnv *env, jobject axContext, jobject axState, jobject component)
122 return JNFCallStaticBooleanMethod(env, jm_contains, axContext, axState, component); // AWT_THREADING Safe (AWTRunLoopMode)
125 BOOL isVertical(JNIEnv *env, jobject axContext, jobject component)
128 jobject axVertState = JNFGetStaticObjectField(env, jm_VERTICAL);
129 return containsAxState(env, axContext, axVertState, component);
132 BOOL isHorizontal(JNIEnv *env, jobject axContext, jobject component)
135 jobject axHorizState = JNFGetStaticObjectField(env, jm_HORIZONTAL);
136 return containsAxState(env, axContext, axHorizState, component);
139 BOOL isShowing(JNIEnv *env, jobject axContext, jobject component)
142 jobject axVisibleState = JNFGetStaticObjectField(env, jm_SHOWING);
143 return containsAxState(env, axContext, axVisibleState, component);
146 NSPoint getAxComponentLocationOnScreen(JNIEnv *env, jobject axComponent, jobject component)
149 jobject jpoint = JNFCallStaticObjectMethod(env, jm_getLocationOnScreen, axComponent, component); // AWT_THREADING Safe (AWTRunLoopMode)
151 return NSMakePoint(JNFGetIntField(env, jpoint, sjf_X), JNFGetIntField(env, jpoint, sjf_Y));
154 jint getAxTextCharCount(JNIEnv *env, jobject axText, jobject component)
157 return JNFCallStaticIntMethod(env, jm_getCharCount, axText, component); // AWT_THREADING Safe (AWTRunLoopMode)
246 (JNIEnv *env, jclass clz, jobject axRole)
248 return JNFGetObjectField(env, axRole, sjf_key);