Showing posts with label ContainerEvent class. Show all posts
Showing posts with label ContainerEvent class. Show all posts

Wednesday, 5 February 2014

Event classes:The ContainerEvent Class

 ContainerEvent:added to or removed from a container.

The ContainerEvent Class


A ContainerEvent is generated when a component is added to or removed from a container.


 container events:


  •  COMPONENT_ADDED 
  •  COMPONENT_REMOVED

They indicate that a component has been added to or removed from the container.
ContainerEvent is a subclass of ComponentEvent and has this constructor: