public class ObservableHelper extends java.lang.Object implements Cloneable
Constructor and Description |
---|
ObservableHelper() |
Modifier and Type | Method and Description |
---|---|
void |
addObserver(Observer o) |
ObservableHelper |
clone()
Creates a copy of the object.
|
void |
deleteObserver(Observer o) |
void |
deleteObservers() |
void |
notifyObservers(Observable observable,
java.lang.Object data) |
Notification |
notifyObservers(Observable observable,
java.lang.String type,
java.lang.Object value) |
Notification |
notifyObservers(Observable observable,
java.lang.String type,
java.lang.Object value1,
java.lang.Object value2) |
Notification |
notifyObservers(Observable observable,
java.lang.String type,
java.lang.Object value1,
java.lang.Object value2,
java.lang.Object value3) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cloneQuietly, cloneQuietly
public ObservableHelper clone() throws java.lang.CloneNotSupportedException
Cloneable
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if the instance of the object cannot
be cloned. As this is extending Cloneable
so its sure
it implements it, so this exception may be used for problems on specific
object instances.Object#clone()}.
public void addObserver(Observer o)
public void deleteObserver(Observer o)
public void deleteObservers()
public void notifyObservers(Observable observable, java.lang.Object data)
public Notification notifyObservers(Observable observable, java.lang.String type, java.lang.Object value)
public Notification notifyObservers(Observable observable, java.lang.String type, java.lang.Object value1, java.lang.Object value2)
public Notification notifyObservers(Observable observable, java.lang.String type, java.lang.Object value1, java.lang.Object value2, java.lang.Object value3)