1 |
/* Copyright (C) 2000, 2002 Free Software Foundation |
/* HierarchyBoundsListener.java -- listens to bounds changes of parents |
2 |
|
Copyright (C) 2000, 2002 Free Software Foundation |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
35 |
obligated to do so. If you do not wish to do so, delete this |
obligated to do so. If you do not wish to do so, delete this |
36 |
exception statement from your version. */ |
exception statement from your version. */ |
37 |
|
|
38 |
|
|
39 |
package java.awt.event; |
package java.awt.event; |
40 |
|
|
41 |
|
import java.util.EventListener; |
42 |
|
|
43 |
/** |
/** |
44 |
* @since 1.3 |
* This listens for changes in an ancestors size or location. Normally it is |
45 |
|
* not necessary to process these events since the AWT handles them |
46 |
|
* internally, taking all appropriate actions. To watch a subset of these |
47 |
|
* events, use a HierarchyBoundsAdapter. |
48 |
|
* |
49 |
* @author Bryce McKinlay |
* @author Bryce McKinlay |
50 |
|
* @see HierarchyBoundsAdapter |
51 |
|
* @see HierarchyEvent |
52 |
|
* @since 1.3 |
53 |
|
* @status updated to 1.4 |
54 |
*/ |
*/ |
55 |
|
public interface HierarchyBoundsListener extends EventListener |
|
/* Status: Believed complete and correct. */ |
|
|
|
|
|
public interface HierarchyBoundsListener extends java.util.EventListener |
|
56 |
{ |
{ |
57 |
public void ancestorMoved(HierarchyEvent e); |
/** |
58 |
public void ancestorResized(HierarchyEvent e); |
* Called when an ancestor component of the source is moved. |
59 |
} |
* |
60 |
|
* @param e the event describing the ancestor's motion |
61 |
|
*/ |
62 |
|
void ancestorMoved(HierarchyEvent e); |
63 |
|
|
64 |
|
/** |
65 |
|
* Called when an ancestor component is resized. |
66 |
|
* |
67 |
|
* @param e the event describing the ancestor's resizing |
68 |
|
*/ |
69 |
|
void ancestorResized(HierarchyEvent e); |
70 |
|
} // interface HierarchyBoundsListener |