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 * @since 1.1 |
52 * @since 1.1 |
53 */ |
53 */ |
54 public interface ComponentListener extends EventListener { |
54 public interface ComponentListener extends EventListener { |
55 /** |
55 /** |
56 * Invoked when the component's size changes. |
56 * Invoked when the component's size changes. |
|
57 * @param e the event to be processed |
57 */ |
58 */ |
58 public void componentResized(ComponentEvent e); |
59 public void componentResized(ComponentEvent e); |
59 |
60 |
60 /** |
61 /** |
61 * Invoked when the component's position changes. |
62 * Invoked when the component's position changes. |
|
63 * @param e the event to be processed |
62 */ |
64 */ |
63 public void componentMoved(ComponentEvent e); |
65 public void componentMoved(ComponentEvent e); |
64 |
66 |
65 /** |
67 /** |
66 * Invoked when the component has been made visible. |
68 * Invoked when the component has been made visible. |
|
69 * @param e the event to be processed |
67 */ |
70 */ |
68 public void componentShown(ComponentEvent e); |
71 public void componentShown(ComponentEvent e); |
69 |
72 |
70 /** |
73 /** |
71 * Invoked when the component has been made invisible. |
74 * Invoked when the component has been made invisible. |
|
75 * @param e the event to be processed |
72 */ |
76 */ |
73 public void componentHidden(ComponentEvent e); |
77 public void componentHidden(ComponentEvent e); |
74 } |
78 } |