d0b8b6fbf6
2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Add keyLocation parameter. * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-" string. (paramString): Generate keyChar string according to keyChar, not keyCode. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (state_to_awt_mods): Handle ALT key. (keyevent_state_to_awt_mods): New function. (get_first_keyval_from_keymap): New function. (keysym_to_awt_keycode): Get virtual key code from keymap. Handle missing VK_ values. (keysym_to_awt_keylocation): New function. (keyevent_to_awt_keychar): New function. (generates_key_typed_event): Handle non-text-component case. Handle GDK_KP_Delete and GDK_KP_Enter. (awt_event_handler): Call new functions to get postKeyEvent parameters. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit): Update postKeyEvent method signature. * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing VK_ defines. From-SVN: r70178 |
||
---|---|---|
.. | ||
ActionEvent.java | ||
ActionListener.java | ||
AdjustmentEvent.java | ||
AdjustmentListener.java | ||
AWTEventListener.java | ||
AWTEventListenerProxy.java | ||
ComponentAdapter.java | ||
ComponentEvent.java | ||
ComponentListener.java | ||
ContainerAdapter.java | ||
ContainerEvent.java | ||
ContainerListener.java | ||
FocusAdapter.java | ||
FocusEvent.java | ||
FocusListener.java | ||
HierarchyBoundsAdapter.java | ||
HierarchyBoundsListener.java | ||
HierarchyEvent.java | ||
HierarchyListener.java | ||
InputEvent.java | ||
InputMethodEvent.java | ||
InputMethodListener.java | ||
InvocationEvent.java | ||
ItemEvent.java | ||
ItemListener.java | ||
KeyAdapter.java | ||
KeyEvent.java | ||
KeyListener.java | ||
MouseAdapter.java | ||
MouseEvent.java | ||
MouseListener.java | ||
MouseMotionAdapter.java | ||
MouseMotionListener.java | ||
MouseWheelEvent.java | ||
MouseWheelListener.java | ||
PaintEvent.java | ||
TextEvent.java | ||
TextListener.java | ||
WindowAdapter.java | ||
WindowEvent.java | ||
WindowFocusListener.java | ||
WindowListener.java | ||
WindowStateListener.java |