All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.beans.mb.MBSelectionChangeEvent
java.lang.Object
|
+----java.util.EventObject
|
+----com.ibm.beans.mb.MBSelectionChangeEvent
- public class MBSelectionChangeEvent
- extends EventObject
- implements Serializable
This class defines an event that describes changes to the current
selection of MBElements in a ManagedBean.
An ADD event indicates
that a new selection has taken place.
- See Also:
- ManagedBean, MBSelectionChangeListener, MBElement
-
ADD
- Indicates that a new selection has occurred.
-
MBSelectionChangeEvent(ManagedBean, int, MBElement)
-
Constructs an event around the given
parameters.
-
MBSelectionChangeEvent(ManagedBean, int, Vector)
-
Constructs an event around the given
parameters.
-
getID()
- Returns the ID of this event (ADD).
-
getManagedBean()
- Returns a reference to the ManagedBean that generated this event.
-
getMBElements()
- Returns a Vector of the MBElements wrapped by this event.
ADD
public static final int ADD
- Indicates that a new selection has occurred.
MBSelectionChangeEvent
public MBSelectionChangeEvent(ManagedBean source,
int id,
Vector mbElements)
- Constructs an event around the given
parameters. This constructor accepts a Vector of MBElements.
- Parameters:
- source - The ManagedBean that is distributing this
event.
- id - ADD.
- mbElements - Vector of MBElements that are the subject
of this event.
- See Also:
- ManagedBean, MBSelectionChangeListener, MBElement
MBSelectionChangeEvent
public MBSelectionChangeEvent(ManagedBean source,
int id,
MBElement mbElement)
- Constructs an event around the given
parameters. This constructor accepts a single MBElement.
- Parameters:
- source - The ManagedBean that is distributing this
event.
- id - ADD.
- mbElement - MBElement that is the subject of this
event.
- See Also:
- ManagedBean, MBSelectionChangeListener, MBElement
getID
public int getID()
- Returns the ID of this event (ADD).
- Returns:
- ADD.
getMBElements
public Vector getMBElements()
- Returns a Vector of the MBElements wrapped by this event.
- Returns:
- The Vector of MBElements.
- See Also:
- MBElement
getManagedBean
public ManagedBean getManagedBean()
- Returns a reference to the ManagedBean that generated this event.
- Returns:
- The ManagedBean that generated this Event.
- See Also:
- ManagedBean
All Packages Class Hierarchy This Package Previous Next Index