oracle.ide
Class IdeVetoableSubject
java.lang.Object
oracle.ide.IdeSubject
oracle.ide.IdeVetoableSubject
- All Implemented Interfaces:
- Subject
- public class IdeVetoableSubject
- extends IdeSubject
The IdeVetoableSubject class is a default implementation of the
VetoableSubject
interface. VetoableSubject implementations should
use this class for managing the observers list.
- See Also:
VetoableObserver
,
VetoableMessage
Method Summary |
void |
notifyObservers(java.lang.Object observed,
VetoableMessage change)
Notifies all observers that the state of the subject has changed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdeVetoableSubject
public IdeVetoableSubject()
- Contructor
IdeVetoableSubject
public IdeVetoableSubject(IdeVetoableSubject ideSubject)
- Copy constructor
notifyObservers
public void notifyObservers(java.lang.Object observed,
VetoableMessage change)
throws ChangeVetoException
- Notifies all observers that the state of the subject has changed.
- Parameters:
observed
- the subject whose state has changed.change
- what changed.
- Throws:
ChangeVetoException
Copyright © 1997, 2004, Oracle. All rights reserved.