public class ObservableHelper extends Object
Constructor and Description |
---|
ObservableHelper() |
Modifier and Type | Method and Description |
---|---|
void |
addObserver(Observer o) |
void |
deleteObserver(Observer o) |
void |
deleteObservers() |
void |
notifyObservers(Observable observable,
Object data) |
Notification |
notifyObservers(Observable observable,
String type,
Object value) |
Notification |
notifyObservers(Observable observable,
String type,
Object value1,
Object value2) |
Notification |
notifyObservers(Observable observable,
String type,
Object value1,
Object value2,
Object value3) |
public void addObserver(Observer o)
public void deleteObserver(Observer o)
public void deleteObservers()
public void notifyObservers(Observable observable, Object data)
public Notification notifyObservers(Observable observable, String type, Object value)
public Notification notifyObservers(Observable observable, String type, Object value1, Object value2)
public Notification notifyObservers(Observable observable, String type, Object value1, Object value2, Object value3)