javax.swing.event
Class AncestorEventjava.lang.Object | +--java.util.EventObject | +--java.awt.AWTEvent | +--javax.swing.event.AncestorEvent
- All Implemented Interfaces:
- Serializable
- public class AncestorEvent
- extends AWTEvent
An event reported to a child component that originated from an ancestor in the component hierarchy.
Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see XMLEncoder.
Field Summary
static int ANCESTOR_ADDED
An ancestor-component was added to the hierarchy of visible objects (made visible), and is currently being displayed.static int ANCESTOR_MOVED
An ancestor-component changed its position on the screen.static int ANCESTOR_REMOVED
An ancestor-component was removed from the hierarchy of visible objects (hidden) and is no longer being displayed.
Fields inherited from class java.awt.AWTEvent ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK