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 |
49 */ |
49 */ |
50 public interface FocusListener extends EventListener { |
50 public interface FocusListener extends EventListener { |
51 |
51 |
52 /** |
52 /** |
53 * Invoked when a component gains the keyboard focus. |
53 * Invoked when a component gains the keyboard focus. |
|
54 * @param e the event to be processed |
54 */ |
55 */ |
55 public void focusGained(FocusEvent e); |
56 public void focusGained(FocusEvent e); |
56 |
57 |
57 /** |
58 /** |
58 * Invoked when a component loses the keyboard focus. |
59 * Invoked when a component loses the keyboard focus. |
|
60 * @param e the event to be processed |
59 */ |
61 */ |
60 public void focusLost(FocusEvent e); |
62 public void focusLost(FocusEvent e); |
61 } |
63 } |