java.beans.beancontext
Class BeanContextMembershipEvent
java.lang.Object
|
+--java.util.EventObject
|
+--java.beans.beancontext.BeanContextEvent
|
+--java.beans.beancontext.BeanContextMembershipEvent
- public class BeanContextMembershipEvent
- extends BeanContextEvent
Compliant BeanContexts fire events on this interface when state maintained
by the BeanContext, for some or all of its "children", changes, to all
BeanContextListeners that register themselves with a particular BeanContext.
- Since:
- 1.2
- See Also:
BeanContext
,
BeanContextEvent
,
java.beans.beancontext.BeanContextListener
, Serialized Form
children
protected Collection children
BeanContextMembershipEvent
public BeanContextMembershipEvent(BeanContext bc,
Collection changes)
- Contruct a BeanContextMembershipEvent
- Parameters:
bc
- The BeanContext sourcechanges
- The Children effected
BeanContextMembershipEvent
public BeanContextMembershipEvent(BeanContext bc,
Object[] changes)
- Contruct a BeanContextMembershipEvent
- Parameters:
bc
- The BeanContext sourcechanges
- The Children effected
size
public int size()
- how many children are effected by the notification
contains
public boolean contains(Object child)
- Returns:
- is the child specified effected by the event?
toArray
public Object[] toArray()
- Returns:
- the array of children effected
iterator
public Iterator iterator()
- Returns:
- the array of children effected
Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.