This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
java.beans.beancontext
class BeanContextMembershipEvent
- All Implemented Interfaces:
- Serializable
public class BeanContextMembershipEvent
extends BeanContextEvent
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.
Field Summary |
protected Collection |
children
The list of children affected by this
event notification. |
Constructor Summary |
Contruct a BeanContextMembershipEvent
|
Contruct a BeanContextMembershipEvent
|
Method Summary |
boolean |
Is the child specified affected by the event?
|
Iterator |
Gets the array of children affected by this event.
|
int |
Gets the number of children affected by the notification.
|
Object[] |
Gets the array of children affected by this event.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
children
protected Collection children
-
The list of children affected by this
event notification.
BeanContextMembershipEvent
public BeanContextMembershipEvent(BeanContext bc,
Collection changes)
-
Contruct a BeanContextMembershipEvent
- Parameters:
bc
- The BeanContext source
changes
- The Children affected
BeanContextMembershipEvent
public BeanContextMembershipEvent(BeanContext bc,
Object[] changes)
-
Contruct a BeanContextMembershipEvent
- Parameters:
bc
- The BeanContext source
changes
- The Children effected
contains
public boolean contains(Object child)
-
Is the child specified affected by the event?
- Parameters:
child
- Returns:
true
if affected, false
if not
iterator
public Iterator iterator()
-
Gets the array of children affected by this event.
- Returns:
- the array of children effected
size
public int size()
-
Gets the number of children affected by the notification.
- Returns:
- the number of children affected by the notification
toArray
public Object[] toArray()
-
Gets the array of children affected by this event.
- Returns:
- the array of children affected
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.