public class IdeVetoableSubject extends IdeSubject implements VetoableSubject
VetoableSubject interface. VetoableSubject implementations should
use this class for managing the observers list.UpdateMessage,
VetoObserver| Constructor and Description |
|---|
IdeVetoableSubject() |
| Modifier and Type | Method and Description |
|---|---|
void |
notifyVetoObservers(java.lang.Object observed,
UpdateMessage change)
Notifies all observers that the state of the subject has changed.
|
attach, detach, notifyObserversclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitattach, detach, notifyObserverspublic final void notifyVetoObservers(java.lang.Object observed,
UpdateMessage change)
throws ChangeVetoException
notifyVetoObservers in interface VetoableSubjectobserved - the subject whose state has changed.change - what changed.ChangeVetoException - if any VetoObserver rejected the
pending change.