|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Draw
DrawActions
interface for a Diva canvas. Typically this
will be part of component that is extending a JCanvas
.
JCanvas
,
DrawActions
Method Summary | |
---|---|
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) |
Method Detail |
---|
DrawGraphicsPane getGraphicsPane()
void addMouseListener(MouseListener l)
void addMouseMotionListener(MouseMotionListener l)
Component getComponent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |