< prev index next >

src/java.desktop/share/classes/javax/swing/text/JTextComponent.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 155,169 **** * by consuming it. * <p> * Keyboard event and input method events are handled in the following stages, * with each stage capable of consuming the event: * ! * <table border=1 summary="Stages of keyboard and input method event handling"> * <tr> ! * <th id="stage"><p style="text-align:left">Stage</p></th> ! * <th id="ke"><p style="text-align:left">KeyEvent</p></th> ! * <th id="ime"><p style="text-align:left">InputMethodEvent</p></th></tr> * <tr><td headers="stage">1. </td> * <td headers="ke">input methods </td> * <td headers="ime">(generated here)</td></tr> * <tr><td headers="stage">2. </td> * <td headers="ke">focus manager </td> --- 155,174 ---- * by consuming it. * <p> * Keyboard event and input method events are handled in the following stages, * with each stage capable of consuming the event: * ! * <table class="striped"> ! * <caption style="display:none">Stages of keyboard and input method event ! * handling</caption> ! * <thead> * <tr> ! * <th id="stage">Stage</th> ! * <th id="ke">KeyEvent</th> ! * <th id="ime">InputMethodEvent</th></tr> ! * </thead> ! * <tbody> * <tr><td headers="stage">1. </td> * <td headers="ke">input methods </td> * <td headers="ime">(generated here)</td></tr> * <tr><td headers="stage">2. </td> * <td headers="ke">focus manager </td>
*** 179,188 **** --- 184,194 ---- * <td headers="ime">input method handling in JTextComponent</tr> * <tr> * <td headers="stage">5. </td><td headers="ke ime" colspan=2>keymap handling using the current keymap</td></tr> * <tr><td headers="stage">6. </td><td headers="ke">keyboard handling in JComponent (e.g. accelerators, component navigation, etc.)</td> * <td headers="ime"></td></tr> + * </tbody> * </table> * * <p> * To maintain compatibility with applications that listen to key * events but are not aware of input method events, the input
< prev index next >