public interface Draw
DrawActions interface for a Diva canvas.  Typically this
 will be part of component that is extending a JCanvas.JCanvas, 
DrawActions| Modifier and Type | Method and Description | 
|---|---|
void | 
addMouseListener(MouseListener l)
Adds the specified mouse listener to receive mouse events from
 this component. 
 | 
void | 
addMouseMotionListener(MouseMotionListener l)
Adds the specified mouse motion listener to receive mouse
 motion events from this component. 
 | 
Component | 
getComponent()
Return a reference to the component that implements this
 interface, usually "this". 
 | 
DrawGraphicsPane | 
getGraphicsPane()
Return the instance of DrawGraphicsPane that is being used by
 this Canvas (a type of GraphicsPane) 
 | 
DrawGraphicsPane getGraphicsPane()
void addMouseListener(MouseListener l)
void addMouseMotionListener(MouseMotionListener l)
Component getComponent()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.