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
-
ADD
- Indicates that a new selection has occurred.
-
RepositorySelectionChangeEvent(RepositoryModel, int, ManagedBean)
-
Constructs an event around the specified
parameters.
-
RepositorySelectionChangeEvent(RepositoryModel, int, Vector)
-
Constructs an event around the specified
parameters.
-
getID()
- Returns the ID of this event (ADD).
-
getManagedBeans()
- Returns the Vector of ManagedBeans wrapped by this event.
-
getRepositoryModel()
- Returns a reference to the RepositoryModel that generated this event.
ADD
public static final int ADD
- Indicates that a new selection has occurred.
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
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
getID
public int getID()
- Returns the ID of this event (ADD).
- Returns:
- ADD.
getManagedBeans
public Vector getManagedBeans()
- Returns the Vector of ManagedBeans wrapped by this event.
- Returns:
- The Vector of ManagedBeans.
- See Also:
- ManagedBean
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