|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.model.IdeSubject
public class IdeSubject
The IdeSubject class defines the API to register
Observers that are interested in receiving notifications
of Subject changes.
Classes that can have multiple views in particular must implement
the Subject interface so that all observing views can be
notified when changes have occurred.
Observer,
UpdateMessage| Constructor Summary | |
|---|---|
IdeSubject()
|
|
| Method Summary | |
|---|---|
void |
attach(Observer observer)
Registers an Observer interested in being notified when the
internal state of the class implementing the Subject
interface changes. |
void |
detach(Observer observer)
Unregisters an observer that is not interested anymore in being notified when the internal state of the class implementing the Subject
interface changes. |
void |
notifyObservers(java.lang.Object observed,
UpdateMessage 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 |
| Constructor Detail |
|---|
public IdeSubject()
| Method Detail |
|---|
public final void attach(Observer observer)
Observer interested in being notified when the
internal state of the class implementing the Subject
interface changes. If the observer is already attached, this method
does nothing.
attach in interface Subjectobserver - the Observer that should receive
notification messages from this Subject.public final void detach(Observer observer)
Subject
interface changes.
detach in interface Subjectobserver - the Observer that should no longer
receive notification messages from this Subject.
public final void notifyObservers(java.lang.Object observed,
UpdateMessage change)
notifyObservers in interface Subjectsubject - the subject whose state has changed.change - what changed.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||