java.lang.Object | +--java.util.EventObject | +--java.awt.AWTEvent | +--java.awt.event.ComponentEvent | +--java.awt.event.ContainerEvent
Safe:
(package private) Component
child
static int
COMPONENT_ADDED
static int
COMPONENT_REMOVED
COMPONENT_FIRST, COMPONENT_HIDDEN, COMPONENT_LAST, COMPONENT_MOVED, COMPONENT_RESIZED, COMPONENT_SHOWN
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASK
ContainerEvent(Component source,
int id,
Component child)
ContainerEvent object.
public static final int CONTAINER_FIRST
public static final int CONTAINER_LAST
public static final int COMPONENT_ADDED
public static final int COMPONENT_REMOVED
Component child
getChildprivate static final long serialVersionUID
public ContainerEvent(Component source, int id, Component child)
ContainerEvent object.
Note that passing in an invalid id results in
unspecified behavior.
source - the Component object (container)
that originated the eventid - an integer indicating the type of eventchild - the component that was added or removedpublic Container getContainer()
public Component getChild()
public String paramString()
paramString in class ComponentEvent