< prev index next >

src/java.desktop/windows/native/libawt/windows/awt_Component.h

Print this page




 432     static jboolean _IsObscured(void *param);
 433 
 434     /* Invalidate the specified rectangle. */
 435     virtual void Invalidate(RECT* r);
 436 
 437     /* Begin and end deferred window positioning. */
 438     virtual void BeginValidate();
 439     virtual void EndValidate();
 440 
 441     /* Keyboard conversion routines. */
 442     static void InitDynamicKeyMapTable();
 443     static void BuildDynamicKeyMapTable();
 444     static jint GetJavaModifiers();
 445     static jint GetActionModifiers();
 446     static jint GetButton(int mouseButton);
 447     static UINT GetButtonMK(int mouseButton);
 448     static UINT WindowsKeyToJavaKey(UINT windowsKey, UINT modifiers, UINT character, BOOL isDeadKey);
 449     static void JavaKeyToWindowsKey(UINT javaKey, UINT *windowsKey, UINT *modifiers, UINT originalWindowsKey);
 450     static void UpdateDynPrimaryKeymap(UINT wkey, UINT jkeyLegacy, jint keyLocation, UINT modifiers);
 451 
 452     INLINE static void JavaKeyToWindowsKey(UINT javaKey,
 453                                        UINT *windowsKey, UINT *modifiers)
 454     {
 455         JavaKeyToWindowsKey(javaKey, windowsKey, modifiers, IGNORE_KEY);
 456     }
 457 
 458     enum TransOps {NONE, LOAD, SAVE};
 459 
 460     UINT WindowsKeyToJavaChar(UINT wkey, UINT modifiers, TransOps ops, BOOL &isDeadKey);
 461 
 462     /* routines used for input method support */
 463     void SetInputMethod(jobject im, BOOL useNativeCompWindow);
 464     void SendInputMethodEvent(jint id, jstring text, int cClause,
 465                               int *rgClauseBoundary, jstring *rgClauseReading,
 466                               int cAttrBlock, int *rgAttrBoundary,
 467                               BYTE *rgAttrValue, int commitedTextLength,
 468                               int caretPos, int visiblePos);
 469     void InquireCandidatePosition();
 470     INLINE LPARAM GetCandidateType() { return m_bitsCandType; }
 471     HWND ImmGetHWnd();
 472     HIMC ImmAssociateContext(HIMC himc);




 432     static jboolean _IsObscured(void *param);
 433 
 434     /* Invalidate the specified rectangle. */
 435     virtual void Invalidate(RECT* r);
 436 
 437     /* Begin and end deferred window positioning. */
 438     virtual void BeginValidate();
 439     virtual void EndValidate();
 440 
 441     /* Keyboard conversion routines. */
 442     static void InitDynamicKeyMapTable();
 443     static void BuildDynamicKeyMapTable();
 444     static jint GetJavaModifiers();
 445     static jint GetActionModifiers();
 446     static jint GetButton(int mouseButton);
 447     static UINT GetButtonMK(int mouseButton);
 448     static UINT WindowsKeyToJavaKey(UINT windowsKey, UINT modifiers, UINT character, BOOL isDeadKey);
 449     static void JavaKeyToWindowsKey(UINT javaKey, UINT *windowsKey, UINT *modifiers, UINT originalWindowsKey);
 450     static void UpdateDynPrimaryKeymap(UINT wkey, UINT jkeyLegacy, jint keyLocation, UINT modifiers);
 451 
 452     INLINE static void AwtComponent::JavaKeyToWindowsKey(UINT javaKey,
 453                                        UINT *windowsKey, UINT *modifiers)
 454     {
 455         JavaKeyToWindowsKey(javaKey, windowsKey, modifiers, IGNORE_KEY);
 456     }
 457 
 458     enum TransOps {NONE, LOAD, SAVE};
 459 
 460     UINT WindowsKeyToJavaChar(UINT wkey, UINT modifiers, TransOps ops, BOOL &isDeadKey);
 461 
 462     /* routines used for input method support */
 463     void SetInputMethod(jobject im, BOOL useNativeCompWindow);
 464     void SendInputMethodEvent(jint id, jstring text, int cClause,
 465                               int *rgClauseBoundary, jstring *rgClauseReading,
 466                               int cAttrBlock, int *rgAttrBoundary,
 467                               BYTE *rgAttrValue, int commitedTextLength,
 468                               int caretPos, int visiblePos);
 469     void InquireCandidatePosition();
 470     INLINE LPARAM GetCandidateType() { return m_bitsCandType; }
 471     HWND ImmGetHWnd();
 472     HIMC ImmAssociateContext(HIMC himc);


< prev index next >