infosapient.system
Interface Observable
- All Known Implementing Classes:
- ObservableImpl
- public interface Observable
- extends java.io.Serializable
Creation date: (04/06/01 11:20:55 AM)
Observable was directly adapted from java.util.Observable because the original did not implement
java.io.Serializable.
- Version:
- $Revision: 1.1.1.1 $
addObserver
public void addObserver(Observer o)
- Adds an observer to the set of observers for this object.
- Parameters:
o
- an observer to be added.- Since:
- JDK1.0
clearChanged
public void clearChanged()
containsObserver
public boolean containsObserver(Observer o)
- Test if the Observer exists within the list of observers of this object.
- Parameters:
the
- object to be tested.- Returns:
true
if the object exists within the list of observers;
else false
- Since:
- JDK1.0
countObservers
public int countObservers()
- Returns the number of observers of this object.
- Returns:
- the number of observers of this object.
- Since:
- JDK1.0
deleteObserver
public void deleteObserver(Observer o)
deleteObservers
public void deleteObservers()
hasChanged
public boolean hasChanged()
notifyObservers
public void notifyObservers(java.lang.Object o)
setChanged
public void setChanged()
|
License to use this program is provided under the TERMS OF THE COMMON PUBLIC LICENSE 0.5.
("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES
RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
|
PREV CLASS
NEXT CLASS |
FRAMES
NO FRAMES |
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2001, Workplace Performance Tools, All Rights Reserved