|
|||||||||
| Home >> All >> java >> beans >> [ beancontext overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.beans.beancontext
Class BeanContextMembershipEvent

java.lang.Objectjava.util.EventObject
java.beans.beancontext.BeanContextEvent
java.beans.beancontext.BeanContextMembershipEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class BeanContextMembershipEvent
- extends BeanContextEvent
Event fired when children are added to or removed from a BeanContext.
Whether they were added or removed depends entirely on which method
of the listener interface was called.
- Since:
- 1.2
| Field Summary | |
protected java.util.Collection |
children
The children that were added or removed. |
private static long |
serialVersionUID
|
| Fields inherited from class java.beans.beancontext.BeanContextEvent |
propagatedFrom |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
BeanContextMembershipEvent(BeanContext context,
java.util.Collection children)
Create a new membership event. |
|
BeanContextMembershipEvent(BeanContext context,
java.lang.Object[] children)
Create a new membership event. |
|
| Method Summary | |
boolean |
contains(java.lang.Object child)
Tell whether the Object is one of the children added or removed. |
java.util.Iterator |
iterator()
An iterator that will step through all the children. |
int |
size()
The number of children removed or added. |
java.lang.Object[] |
toArray()
An array of the children. |
| Methods inherited from class java.beans.beancontext.BeanContextEvent |
getBeanContext, getPropagatedFrom, isPropagated, setPropagatedFrom |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
children
protected java.util.Collection children
- The children that were added or removed.
| Constructor Detail |
BeanContextMembershipEvent
public BeanContextMembershipEvent(BeanContext context, java.util.Collection children)
- Create a new membership event.
BeanContextMembershipEvent
public BeanContextMembershipEvent(BeanContext context, java.lang.Object[] children)
- Create a new membership event.
| Method Detail |
size
public int size()
- The number of children removed or added.
iterator
public java.util.Iterator iterator()
- An iterator that will step through all the children.
toArray
public java.lang.Object[] toArray()
- An array of the children.
contains
public boolean contains(java.lang.Object child)
- Tell whether the
Objectis one of the children added or removed.
|
|||||||||
| Home >> All >> java >> beans >> [ beancontext overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC