|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
java.beans.beancontext.BeanContextEvent
public abstract class BeanContextEvent
Generic superclass for events fired by BeanContext
s.
Field Summary | |
---|---|
protected BeanContext |
propagatedFrom
The BeanContext that most recently passed this
event on. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
protected |
BeanContextEvent(BeanContext source)
Create a new event, from the specified BeanContext . |
Method Summary | |
---|---|
BeanContext |
getBeanContext()
Get the BeanContext that originated this event. |
BeanContext |
getPropagatedFrom()
Get the most recent propagator of this event. |
boolean |
isPropagated()
Tell whether this event has been propagated. |
void |
setPropagatedFrom(BeanContext propagator)
Set the most recent propagator of this event. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected BeanContext propagatedFrom
BeanContext
that most recently passed this
event on.
Constructor Detail |
---|
protected BeanContextEvent(BeanContext source)
BeanContext
.
propagatedFrom
will be initialized to
null
.
source
- the source of the event.Method Detail |
---|
public BeanContext getBeanContext()
BeanContext
that originated this event.
public BeanContext getPropagatedFrom()
null
, you have received the event
straight from the source.
public boolean isPropagated()
true
iff getPropagatedFrom() != null
.public void setPropagatedFrom(BeanContext propagator)
propagator
- the most recent propagator of this event.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |