< prev index next >

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

Print this page




 421      * return TRUE.  These are TextArea, Choice, FileDialog, and
 422      * List.  All other Components return FALSE.
 423      */
 424     virtual BOOL InheritsNativeMouseWheelBehavior();
 425 
 426     /* Determines whether the component is obscured by another window */
 427     // Called on Toolkit thread
 428     static jboolean _IsObscured(void *param);
 429 
 430     /* Invalidate the specified rectangle. */
 431     virtual void Invalidate(RECT* r);
 432 
 433     /* Begin and end deferred window positioning. */
 434     virtual void BeginValidate();
 435     virtual void EndValidate();
 436 
 437     /* Keyboard conversion routines. */
 438     static void InitDynamicKeyMapTable();
 439     static void BuildDynamicKeyMapTable();
 440     static jint GetJavaModifiers();

 441     static jint GetButton(int mouseButton);
 442     static UINT GetButtonMK(int mouseButton);
 443     static UINT WindowsKeyToJavaKey(UINT windowsKey, UINT modifiers, UINT character, BOOL isDeadKey);
 444     static void JavaKeyToWindowsKey(UINT javaKey, UINT *windowsKey, UINT *modifiers, UINT originalWindowsKey);
 445     static void UpdateDynPrimaryKeymap(UINT wkey, UINT jkeyLegacy, jint keyLocation, UINT modifiers);
 446 
 447     INLINE static void AwtComponent::JavaKeyToWindowsKey(UINT javaKey,
 448                                        UINT *windowsKey, UINT *modifiers)
 449     {
 450         JavaKeyToWindowsKey(javaKey, windowsKey, modifiers, IGNORE_KEY);
 451     }
 452 
 453     enum TransOps {NONE, LOAD, SAVE};
 454 
 455     UINT WindowsKeyToJavaChar(UINT wkey, UINT modifiers, TransOps ops, BOOL &isDeadKey);
 456 
 457     /* routines used for input method support */
 458     void SetInputMethod(jobject im, BOOL useNativeCompWindow);
 459     void SendInputMethodEvent(jint id, jstring text, int cClause,
 460                               int *rgClauseBoundary, jstring *rgClauseReading,




 421      * return TRUE.  These are TextArea, Choice, FileDialog, and
 422      * List.  All other Components return FALSE.
 423      */
 424     virtual BOOL InheritsNativeMouseWheelBehavior();
 425 
 426     /* Determines whether the component is obscured by another window */
 427     // Called on Toolkit thread
 428     static jboolean _IsObscured(void *param);
 429 
 430     /* Invalidate the specified rectangle. */
 431     virtual void Invalidate(RECT* r);
 432 
 433     /* Begin and end deferred window positioning. */
 434     virtual void BeginValidate();
 435     virtual void EndValidate();
 436 
 437     /* Keyboard conversion routines. */
 438     static void InitDynamicKeyMapTable();
 439     static void BuildDynamicKeyMapTable();
 440     static jint GetJavaModifiers();
 441     static jint GetActionModifiers();
 442     static jint GetButton(int mouseButton);
 443     static UINT GetButtonMK(int mouseButton);
 444     static UINT WindowsKeyToJavaKey(UINT windowsKey, UINT modifiers, UINT character, BOOL isDeadKey);
 445     static void JavaKeyToWindowsKey(UINT javaKey, UINT *windowsKey, UINT *modifiers, UINT originalWindowsKey);
 446     static void UpdateDynPrimaryKeymap(UINT wkey, UINT jkeyLegacy, jint keyLocation, UINT modifiers);
 447 
 448     INLINE static void AwtComponent::JavaKeyToWindowsKey(UINT javaKey,
 449                                        UINT *windowsKey, UINT *modifiers)
 450     {
 451         JavaKeyToWindowsKey(javaKey, windowsKey, modifiers, IGNORE_KEY);
 452     }
 453 
 454     enum TransOps {NONE, LOAD, SAVE};
 455 
 456     UINT WindowsKeyToJavaChar(UINT wkey, UINT modifiers, TransOps ops, BOOL &isDeadKey);
 457 
 458     /* routines used for input method support */
 459     void SetInputMethod(jobject im, BOOL useNativeCompWindow);
 460     void SendInputMethodEvent(jint id, jstring text, int cClause,
 461                               int *rgClauseBoundary, jstring *rgClauseReading,


< prev index next >