Class DragImageCanvas

java.lang.Object
   |
   +----java.awt.Component
           |
           +----DragCanvas
                   |
                   +----DragImageCanvas

public class DragImageCanvas
extends DragCanvas
This class is used to improve graphic performance while using "drag and drop" .


Method Index

 o paint(Graphics)
This method is called to draw this component - draw dragged image over the canvas.
 o setDragImage(Image)
Sets drag image .

Methods

 o setDragImage
 public void setDragImage(Image i)
Sets drag image .

Parameters:
i - drag image.
 o paint
 public void paint(Graphics g)
This method is called to draw this component - draw dragged image over the canvas.

Parameters:
g - the graphics context.
Overrides:
paint in class DragCanvas
See Also:
Graphics