equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1996, 2006, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
52 |
52 |
53 /** |
53 /** |
54 * Invoked when a key has been typed. |
54 * Invoked when a key has been typed. |
55 * See the class description for {@link KeyEvent} for a definition of |
55 * See the class description for {@link KeyEvent} for a definition of |
56 * a key typed event. |
56 * a key typed event. |
|
57 * @param e the event to be processed |
57 */ |
58 */ |
58 public void keyTyped(KeyEvent e); |
59 public void keyTyped(KeyEvent e); |
59 |
60 |
60 /** |
61 /** |
61 * Invoked when a key has been pressed. |
62 * Invoked when a key has been pressed. |
62 * See the class description for {@link KeyEvent} for a definition of |
63 * See the class description for {@link KeyEvent} for a definition of |
63 * a key pressed event. |
64 * a key pressed event. |
|
65 * @param e the event to be processed |
64 */ |
66 */ |
65 public void keyPressed(KeyEvent e); |
67 public void keyPressed(KeyEvent e); |
66 |
68 |
67 /** |
69 /** |
68 * Invoked when a key has been released. |
70 * Invoked when a key has been released. |
69 * See the class description for {@link KeyEvent} for a definition of |
71 * See the class description for {@link KeyEvent} for a definition of |
70 * a key released event. |
72 * a key released event. |
|
73 * @param e the event to be processed |
71 */ |
74 */ |
72 public void keyReleased(KeyEvent e); |
75 public void keyReleased(KeyEvent e); |
73 } |
76 } |