org.scohen.juploadr.ui.thumbnail
Class UploadThumbnail

java.lang.Object
  extended byCanvas
      extended byorg.scohen.juploadr.ui.thumbnail.UploadThumbnail
All Implemented Interfaces:
Thumbnail

public class UploadThumbnail
extends Canvas
implements Thumbnail

Author:
steve TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.scohen.juploadr.ui.thumbnail.Thumbnail
BORDER_WIDTH
 
Method Summary
 Point computeSize(int x, int y)
           
 Point computeSize(int arg0, int arg1, boolean arg2)
           
 Image getImage()
           
 ImageAttributes getImageAttributes()
           
 void setImage(Image image)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.scohen.juploadr.ui.thumbnail.Thumbnail
addDisposeListener, addKeyListener, addMouseListener, addMouseTrackListener, addPaintListener, dispose, isDisposed, redraw, setEnabled
 

Method Detail

computeSize

public Point computeSize(int x,
                         int y)

computeSize

public Point computeSize(int arg0,
                         int arg1,
                         boolean arg2)

getImage

public Image getImage()
Specified by:
getImage in interface Thumbnail
Returns:
Returns the image.

setImage

public void setImage(Image image)
Specified by:
setImage in interface Thumbnail
Parameters:
image - The image to set.

getImageAttributes

public ImageAttributes getImageAttributes()
Specified by:
getImageAttributes in interface Thumbnail