javax.swing.event
Class AncestorEvent
java.lang.Object
|
+--java.util.EventObject
|
+--java.awt.AWTEvent
|
+--javax.swing.event.AncestorEvent
public class
AncestorEventextends
AWTEvent Ancestor Event
Authors:- Andrew Selkirk
- Ronald Veldema
ANCESTOR_ADDED
public static int ANCESTOR_ADDED
ANCESTOR_ADDED constant
ANCESTOR_MOVED
public static int ANCESTOR_MOVED
ANCESTOR_MOVED constant
ANCESTOR_REMOVED
public static int ANCESTOR_REMOVED
ANCESTOR_REMOVED constant
AncestorEvent
public AncestorEvent(javax.swing.JComponent source, int id, java.awt.Container ancestor, java.awt.Container ancestorParent)
Constructor AncestorEvent
Parameters:
getAncestor
public Container getAncestor()
Get ancestor
Returns:
getAncestorParent
public Container getAncestorParent()
Get ancestor parent
Returns:
getComponent
public JComponent getComponent()
Get component
Returns: