javax.swing.event
public class AncestorEvent extends AWTEvent
Field Summary | |
---|---|
static int | ANCESTOR_ADDED |
static int | ANCESTOR_MOVED |
static int | ANCESTOR_REMOVED |
Constructor Summary | |
---|---|
AncestorEvent(JComponent source, int id, Container ancestor, Container ancestorParent) |
Method Summary | |
---|---|
Container | getAncestor()
Returns the ancestor of this event. |
Container | getAncestorParent()
Returns the ancester parent of this event. |
JComponent | getComponent()
Returns the source of this event. |
Parameters: source Source component id ID ancestor ancestor ancestorParent parent ancestor