java.lang.Object | |||
↳ | java.util.EventObject | ||
↳ | java.beans.beancontext.BeanContextEvent | ||
↳ | java.beans.beancontext.BeanContextMembershipEvent |
A BeanContextMembershipEvent
encapsulates
the list of children added to, or removed from,
the membership of a particular BeanContext
.
An instance of this event is fired whenever a successful
add(), remove(), retainAll(), removeAll(), or clear() is
invoked on a given BeanContext
instance.
Objects interested in receiving events of this type must
implement the BeanContextMembershipListener
interface, and must register their intent via the
BeanContext
's
addBeanContextMembershipListener(BeanContextMembershipListener bcml)
method.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
children | The list of children affected by this event notification. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.beans.beancontext.BeanContextEvent
| |||||||||||
From class
java.util.EventObject
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Contruct a BeanContextMembershipEvent
| |||||||||||
Contruct a BeanContextMembershipEvent
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Is the child specified affected by the event?
| |||||||||||
Gets the array of children affected by this event.
| |||||||||||
Gets the number of children affected by the notification.
| |||||||||||
Gets the array of children affected by this event.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.beans.beancontext.BeanContextEvent
| |||||||||||
From class
java.util.EventObject
| |||||||||||
From class
java.lang.Object
|
Contruct a BeanContextMembershipEvent
bc | The BeanContext source |
---|---|
changes | The Children affected |
NullPointerException | if changes is null
|
---|
Contruct a BeanContextMembershipEvent
bc | The BeanContext source |
---|---|
changes | The Children effected |
NullPointerException | if changes associated with this event are null. |
---|
Is the child specified affected by the event?
true
if affected, false
if not
Gets the array of children affected by this event.
Gets the number of children affected by the notification.
Gets the array of children affected by this event.