All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.mb.RepositorySelectionChangeEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----com.ibm.beans.mb.RepositorySelectionChangeEvent

public class RepositorySelectionChangeEvent
extends EventObject
implements Serializable
This class defines the event that describes changes to the current selection of ManagedBeans in a RepositoryModel. An ADD event indicates that a new selection has taken place.

See Also:
RepositoryModel, RepositorySelectionChangeListener, ManagedBean

Variable Index

 o ADD
Indicates that a new selection has occurred.

Constructor Index

 o RepositorySelectionChangeEvent(RepositoryModel, int, ManagedBean)
Constructs an event around the specified parameters.
 o RepositorySelectionChangeEvent(RepositoryModel, int, Vector)
Constructs an event around the specified parameters.

Method Index

 o getID()
Returns the ID of this event (ADD).
 o getManagedBeans()
Returns the Vector of ManagedBeans wrapped by this event.
 o getRepositoryModel()
Returns a reference to the RepositoryModel that generated this event.

Variables

 o ADD
 public static final int ADD
Indicates that a new selection has occurred.

Constructors

 o RepositorySelectionChangeEvent
 public RepositorySelectionChangeEvent(RepositoryModel source,
                                       int id,
                                       Vector managedBeans)
Constructs an event around the specified parameters. This constructor takes a Vector of ManagedBeans.

Parameters:
source - The RepositoryModel that is distributing this event.
id - ADD.
managedBeans - Vector of ManagedBeans that are the subject of this event.
See Also:
RepositoryModel, RepositorySelectionChangeListener, ManagedBean
 o RepositorySelectionChangeEvent
 public RepositorySelectionChangeEvent(RepositoryModel source,
                                       int id,
                                       ManagedBean managedBean)
Constructs an event around the specified parameters. This constructor takes a single ManagedBean.

Parameters:
source - The RepositoryModel that is distributing this event.
id - ADD.
managedBean - ManagedBean that is the subject of this event.
See Also:
RepositoryModel, RepositorySelectionChangeListener, ManagedBean

Methods

 o getID
 public int getID()
Returns the ID of this event (ADD).

Returns:
ADD.
 o getManagedBeans
 public Vector getManagedBeans()
Returns the Vector of ManagedBeans wrapped by this event.

Returns:
The Vector of ManagedBeans.
See Also:
ManagedBean
 o getRepositoryModel
 public RepositoryModel getRepositoryModel()
Returns a reference to the RepositoryModel that generated this event.

Returns:
The RepositoryModel reference.
See Also:
RepositoryModel

All Packages  Class Hierarchy  This Package  Previous  Next  Index