    All Packages    This Package    Previous    Next

# Class browser.ImageHandle

    java.lang.Object
       |
       +----browser.Observable
               |
               +----browser.ImageHandle

public class ImageHandle
extends Observable
implements Observer

##

fetching

##

addObserver(Observer)
checkForImage(Observer)
deleteObserver(Observer)
fetchImage()
  This routine is called by the ImageReader.
getImage(Observer, boolean)
getURL()
height()
isFetching()
setFetching()
setImage(Object)
toString()
update(Observable)
waitForImage()
waitForSize()
width()

##

fetching

      protected boolean fetching

##

getURL

      public URL getURL()

getImage

      public Object getImage(Observer o,
                             boolean waitForIt)

setImage

      public void setImage(Object img)

checkForImage

      public Object checkForImage(Observer o)

waitForImage

      public synchronized void waitForImage()

waitForSize

      public synchronized void waitForSize()

width

      public int width()

height

      public int height()

isFetching

      public boolean isFetching()

setFetching

      public void setFetching()

deleteObserver

      public synchronized void deleteObserver(Observer o)

fetchImage

      public void fetchImage()

  This routine is called by the ImageReader. The getImage() waits around for this method to complete.

update

      public synchronized void update(Observable o)

addObserver

      public void addObserver(Observer o)

toString

      public String toString()

    All Packages    This Package    Previous    Next