com.rolemodelsoft.drawlet.util
Interface Observer
- All Known Implementing Classes:
- ValueAdapter
- public interface Observer
This interface defines a generic Observer interface
This is desirable as the java.util.Observable is a class which
could force unnatural hierarchies. This looks for the Observable
interface instead of the class to allow more flexibility in implementing
concrete classes.
|
Method Summary |
void |
update(Observable subject,
java.lang.Object arg)
The subject has notified the receiver of a change. |
update
public void update(Observable subject,
java.lang.Object arg)
- The subject has notified the receiver of a change.
- Parameters:
subject - the observed subject.arg - the argument being notified.