aicas logo Jamaica 3.4 release 8

java.util
Interface Observer


public interface Observer

Interface that is implemented when a class wants to be informed of changes in Observable objects.

See Also:
Observable
Status:
updated to 1.4

Method Summary
 void update(Observable observable, Object arg)
          This method is called whenever the observable object changes, and has called notifyObservers.
 

Method Detail

update

void update(Observable observable,
            Object arg)
This method is called whenever the observable object changes, and has called notifyObservers. The Observable object can pass arbitrary information in the second parameter.

Parameters:
observable - the Observable object that changed
arg - arbitrary information, usually relating to the change

aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.