|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
net.dpml.component.ContextEvent
public class ContextEvent
Event triggered as a result of change to the value of a context entry.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ContextEvent(Provider source,
String key,
Object from,
Object to)
Construct a new ContextEvent . |
Method Summary | |
---|---|
String |
getKey()
Return the feature name. |
Object |
getNewValue()
Return the new value. |
Object |
getOldValue()
Return the old value. |
Provider |
getProvider()
Return the component model that initiating the 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 |
Constructor Detail |
---|
public ContextEvent(Provider source, String key, Object from, Object to)
ContextEvent
.
source
- the source providerkey
- the context entry keyfrom
- the original valueto
- the new valueMethod Detail |
---|
public String getKey()
public Object getOldValue()
public Object getNewValue()
public Provider getProvider()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |