|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractSet | +--java.util.HashSet | +--mascoptLib.util.ObservableSet
Observation mechanism (used internally).
Constructor Summary | |
ObservableSet()
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.util.HashSet |
add, clear, clone, contains, isEmpty, iterator, remove, size |
Methods inherited from class java.util.AbstractSet |
equals, hashCode, removeAll |
Methods inherited from class java.util.AbstractCollection |
addAll, containsAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray |
Constructor Detail |
public ObservableSet()
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 |