java util Observer








Interface java.util.Observer





All Packages Class Hierarchy This Package Previous Next Index


Interface java.util.Observer


public interface Observer

A class can implement the Observer interface when it
wants to be informed of changes in observable objects.


See Also:
Observable








update(Observable, Object)
This method is called whenever the observed object is changed.






update

public abstract void update(Observable o,
Object arg)


This method is called whenever the observed object is changed. An
application calls an observable object's
notifyObservers method to have all the object's
observers notified of the change.


Parameters:
o - the observable object.
arg - an argument passed to the notifyObservers
method.




All Packages Class Hierarchy This Package Previous Next Index

Submit a bug or feature - Version 1.1.7 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1995-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.




Wyszukiwarka

Podobne podstrony:
java util Observable
java util MissingResourceException
java util Properties
java util ListResourceBundle
Package java util zip
java util zip Adler32
java util zip ZipInputStream
java util zip DeflaterOutputStream
java util zip InflaterInputStream
java util zip GZIPOutputStream
java util Vector
java util NoSuchElementException
java util zip CheckedOutputStream
java util GregorianCalendar
java util zip ZipFile
java util TooManyListenersException
java util EmptyStackException
java util zip Deflater
java util EventObject

więcej podobnych podstron