Class DragCanvas

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

public class DragCanvas
extends Component
implements ActionListener
This class is used to improve graphic performance while using "drag and drop"


Method Index

 o actionPerformed(ActionEvent)
Processes action events occurring on this component.
 o paint(Graphics)
This method is called to draw this component - just dump buffer to the screen.
 o setVisible(boolean)
Hiding the canvas while it's not used (while not in drag & drop mode).
 o update(Graphics)
Updates this component.

Methods

 o paint
 public void paint(Graphics g)
This method is called to draw this component - just dump buffer to the screen.

Parameters:
g - the graphics context.
Overrides:
paint in class Component
See Also:
Graphics
 o setVisible
 public void setVisible(boolean b)
Hiding the canvas while it's not used (while not in drag & drop mode).

Overrides:
setVisible in class Component
 o update
 public void update(Graphics g)
Updates this component.

Parameters:
g - the specified context to use for updating.
Overrides:
update in class Component
 o actionPerformed
 public void actionPerformed(ActionEvent e)
Processes action events occurring on this component.

Parameters:
e - the action event.
See Also:
ActionListener