|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.puremvc.java.patterns.observer.Observers
public class Observers
Helper class that contains all observers for a notification
IObservers
,
INotification
Constructor Summary | |
---|---|
Observers(java.lang.String note,
IObserver observer)
Constructor |
Method Summary | |
---|---|
void |
addObserver(IObserver observer)
Add new observer |
void |
deleteObserver(IObserver observer)
Delete an observer |
java.lang.String |
getNotification()
Return the notification |
java.util.Vector |
getObservers()
Returns all observers |
void |
notifyObservers(INotification note)
Notify all observers of the notification |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Observers(java.lang.String note, IObserver observer)
note
- observer
- Method Detail |
---|
public java.util.Vector getObservers()
Hashtable
public void addObserver(IObserver observer)
observer
- public void deleteObserver(IObserver observer)
observer
- public void notifyObservers(INotification note)
note
- public java.lang.String getNotification()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |