|
Real-Time Java AOCS Framework v1.0 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface characterizes objects that monitors properties of other objects using the "property monitoring through change notification" design pattern. This interface defines a single method that is called by the monitored object when the monitored property has undergone a specified change.
Call-back actions in the framework should be performed using the event mechanism. Unfortunately, the "property monitoring through change notification" design pattern cannot be implemented using the standard event mechanism. This is the justification for the introduction of the PropertyMonitor interface which however should be used as little as possible. Whenever possible, alternative monitoring mechanisms should be used.
Copyright: see the Copyright Notice.
| Method Summary | |
void |
propertyChange(Monitorable monitoredObject,
int propertyIndex,
ChangeObject changeObject)
Call-back method that is called by the monitored object when its monitored property undergoes the change specified by changeObject. |
| Method Detail |
public void propertyChange(Monitorable monitoredObject,
int propertyIndex,
ChangeObject changeObject)
propertyIndex - the index of the property that has undergone the
changechangeObject - the change object that was used to filter the
property value and that triggered the change
|
Real-Time Java AOCS Framework v1.0 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||