|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject net.dpml.component.ModelEvent
Event triggered as a result of a model change.
Field Summary |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
ModelEvent(Model source,
String feature,
Object from,
Object to)
Construct a new ModelEvent . |
Method Summary | |
String |
getFeature()
Return the feature name. |
Object |
getNewValue()
Return the new value. |
Object |
getOldValue()
Return the old value. |
Model |
getSourceModel()
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 ModelEvent(Model source, String feature, Object from, Object to)
ModelEvent
.
source
- the source component modelfeature
- the name of the model featurefrom
- the original valueto
- the new valueMethod Detail |
public String getFeature()
public Object getOldValue()
public Object getNewValue()
public Model getSourceModel()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |