|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuchicago.src.sim.util.ProbeEvent
public class ProbeEvent
A semantic event that indicates that an object has been
probed. ProbeEvents are passed to ProbeListeners'
objectProbed and objectUnprobed
methods. When used with ProbeListeners ProbeEvent's
getPropertyName will return an empty String, and
getNewValue will return
null. getProbedObject will return the object that has
been probed.
| Constructor Summary | |
|---|---|
ProbeEvent(java.lang.Object probedObject)
Constructs a ProbeEvent with the specified probed object. |
|
ProbeEvent(java.lang.Object probedObject,
java.lang.String propertyName)
Constructs a ProbeEvent with the specified probed object, and the specified propertyName. |
|
ProbeEvent(java.lang.Object probedObject,
java.lang.String propertyName,
java.lang.Object newVal)
Constructs a ProbeEvent with the specified probed object, the specified propertyName, and the specified new value of the property. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getNewValue()
Returns the new value of the property being written. |
java.lang.Object |
getProbedObject()
Returns the object being probed. |
java.lang.String |
getPropertyName()
Returns the property name being written or read. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProbeEvent(java.lang.Object probedObject)
probedObject - the object being probed
public ProbeEvent(java.lang.Object probedObject,
java.lang.String propertyName)
probedObject - the object being probedpropertyName - the name of the property being read
public ProbeEvent(java.lang.Object probedObject,
java.lang.String propertyName,
java.lang.Object newVal)
probedObject - the object being probedpropertyName - the name of the property being writtennewVal - the new value of the property being written| Method Detail |
|---|
public java.lang.Object getProbedObject()
public java.lang.String getPropertyName()
public java.lang.Object getNewValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||