|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mascoptLib.util.ObservableObject
Observation mechanism (used internally).
Constructor Summary | |
ObservableObject()
Construct an Observable with zero Observers. |
Method Summary | |
void |
addAddObserver(Observer o)
Adds an observer for this object. |
void |
addRemoveObserver(Observer o)
Adds an observer for this object. |
void |
addValueObserver(Observer o)
Adds an observer for this object. |
int |
countAddObservers()
Returns the number of addObservers of this Observable object. |
int |
countRemoveObservers()
Returns the number of removeObservers of this Observable object. |
int |
countValueObservers()
Returns the number of valueObservers of this Observable object. |
void |
deleteAddObserver()
Clears the observer list so that this object no longer has any addObservers. |
void |
deleteAddObserver(Observer o)
Deletes an observer for this object. |
void |
deleteRemoveObserver()
Clears the observer list so that this object no longer has any removeObservers. |
void |
deleteRemoveObserver(Observer o)
Deletes an observer for this object. |
void |
deleteValueObserver()
Clears the observer list so that this object no longer has any valueObservers. |
void |
deleteValueObserver(Observer o)
Deletes an observer for this object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ObservableObject()
Method Detail |
public void addAddObserver(Observer o)
o
- an observer to be added.public void deleteAddObserver(Observer o)
o
- the observer to be deleted.public void deleteAddObserver()
public int countAddObservers()
Observable
object.
public void addRemoveObserver(Observer o)
o
- an observer to be added.public void deleteRemoveObserver(Observer o)
o
- the observer to be deleted.public void deleteRemoveObserver()
public int countRemoveObservers()
Observable
object.
public void addValueObserver(Observer o)
o
- an observer to be added.public void deleteValueObserver(Observer o)
o
- the observer to be deleted.public void deleteValueObserver()
public int countValueObservers()
Observable
object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |