<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Interface java.util.Observer
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.util.html">This Package</a>  <a href="java.util.EventListener.html#_top_">Previous</a>  <a href="Package-java.util.html">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Interface java.util.Observer
</h1>
<dl>
  <dt> public interface <b>Observer</b>
</dl>
A class can implement the <code>Observer</code> interface when it 
 wants to be informed of changes in observable objects.
<p>
<dl>
    <dt> <b>See Also:</b>
    <dd> <a href="java.util.Observable.html#_top_">Observable</a>
</dl>
<hr>
<a name="index"></a>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#update(java.util.Observable, java.lang.Object)"><b>update</b></a>(Observable, Object)
  <dd>  This method is called whenever the observed object is changed.
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="update(java.util.Observable, java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="update"><b>update</b></a>
<pre>
 public abstract void update(<a href="java.util.Observable.html#_top_">Observable</a> o,
                             <a href="java.lang.Object.html#_top_">Object</a> arg)
</pre>
<dl>
  <dd> This method is called whenever the observed object is changed. An 
 application calls an observable object's 
 <code>notifyObservers</code> method  to have all the object's 
 observers notified of the change.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> o - the observable object.
    <dd> arg - an argument passed to the <code>notifyObservers</code>
                 method.
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.util.html">This Package</a>  <a href="java.util.EventListener.html#_top_">Previous</a>  <a href="Package-java.util.html">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
