|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ourTool
Interface for all tools so that functionality can be abstracted.
Method Summary | |
---|---|
void |
clickAction(java.awt.event.MouseEvent mevt,
main_canvas theCanvas)
Called whenever the mouse is clicked. |
void |
dragAction(java.awt.event.MouseEvent mevt,
main_canvas theCanvas)
Called for all dragging actions. |
void |
mouseReleaseAction(java.awt.event.MouseEvent mevt,
main_canvas theCanvas)
Called for all mouse releasing actions. |
Method Detail |
---|
void clickAction(java.awt.event.MouseEvent mevt, main_canvas theCanvas)
mevt
- holds a MouseEventtheCanvas
- holds a main_canvasvoid dragAction(java.awt.event.MouseEvent mevt, main_canvas theCanvas)
mevt
- holds a MouseEvent for the dragging actiontheCanvas
- holds a main_canvasvoid mouseReleaseAction(java.awt.event.MouseEvent mevt, main_canvas theCanvas)
mevt
- holds a MouseEventtheCanvas
- holds a main_canvas
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |