< prev index next >

src/java.desktop/share/classes/java/awt/KeyboardFocusManager.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2000, 2016, 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) 2000, 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
*** 1037,1052 **** * implementation-dependent. Sun recommends that all implementations for a * particular native platform use the same default values. The * recommendations for Windows and Unix are listed below. These * recommendations are used in the Sun AWT implementations. * ! * <table border=1 summary="Recommended default values for focus traversal keys"> * <tr> * <th>Identifier</th> * <th>Meaning</th> * <th>Default</th> * </tr> * <tr> * <td>{@code KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS}</td> * <td>Normal forward keyboard traversal</td> * <td>{@code TAB} on {@code KEY_PRESSED}, * {@code CTRL-TAB} on {@code KEY_PRESSED}</td> --- 1037,1057 ---- * implementation-dependent. Sun recommends that all implementations for a * particular native platform use the same default values. The * recommendations for Windows and Unix are listed below. These * recommendations are used in the Sun AWT implementations. * ! * <table class="striped"> ! * <caption style="display:none">Recommended default values for focus ! * traversal keys</caption> ! * <thead> * <tr> * <th>Identifier</th> * <th>Meaning</th> * <th>Default</th> * </tr> + * </thead> + * <tbody> * <tr> * <td>{@code KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS}</td> * <td>Normal forward keyboard traversal</td> * <td>{@code TAB} on {@code KEY_PRESSED}, * {@code CTRL-TAB} on {@code KEY_PRESSED}</td>
*** 1065,1074 **** --- 1070,1080 ---- * <tr> * <td>{@code KeyboardFocusManager.DOWN_CYCLE_TRAVERSAL_KEYS}</td> * <td>Go down one focus traversal cycle</td> * <td>none</td> * </tr> + * </tbody> * </table> * * To disable a traversal key, use an empty {@code Set}; * {@code Collections.EMPTY_SET} is recommended. * <p>
< prev index next >