[5930] in java-interest

home help back first fref pref prev next nref lref last post

how does 'ImageObserver' get notified???

daemon@ATHENA.MIT.EDU (dc)
Tue Mar 5 17:48:32 1996

Date: Mon, 4 Mar 1996 17:37:34 -0800
To: java-interest@java.sun.com
From: dc <dc@symbolicsoft.com>

Quoting from the api docs:

>public abstract int getWidth(ImageObserver observer) 
>   Gets the actual width of the image. If the width is not known yet then 
>the ImageObserver will be notified later and -1 will be returned.   


How is the imageobserver 'notified later'? Is a function called like
"observer.ImageIsLoaded(img)" ?
Is this like a callback...?

tia!

dc
___________________________________________________________________

      /\    dave 'dc' collier
     /_/\     Symbolic Software, Inc.
    /_\_ \      dc@SymbolicSoft.com
   /___/__\       tel (415) 546 1295
 
         use your Head or lose your Mind!  http://www.BurnCycle.com
 


-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post