Package kiyut.sketsa.canvas.tool.point
Class MovePointTool
- java.lang.Object
-
- kiyut.sketsa.canvas.tool.AbstractTool
-
- kiyut.sketsa.canvas.tool.point.AbstractPointTool
-
- kiyut.sketsa.canvas.tool.point.MovePointTool
-
- All Implemented Interfaces:
KeyListener,MouseListener,MouseMotionListener,EventListener,MouseInputListener,PointTool,Tool
public class MovePointTool extends AbstractPointTool
MovePointTool implementation- Author:
- KIYUT
-
-
Field Summary
-
Fields inherited from class kiyut.sketsa.canvas.tool.point.AbstractPointTool
canvas, model, stroke
-
-
Constructor Summary
Constructors Constructor Description MovePointTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendTool()Invoked when the tool is endedvoidmouseDragged(MouseEvent evt)voidmousePressed(MouseEvent evt)voidmouseReleased(MouseEvent evt)voidstartTool()Invoked when the tool is started-
Methods inherited from class kiyut.sketsa.canvas.tool.point.AbstractPointTool
getModel, paint, setVectorCanvas
-
Methods inherited from class kiyut.sketsa.canvas.tool.AbstractTool
addMessageListener, fireMessageReceived, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseMoved, removeMessageListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.awt.event.KeyListener
keyPressed, keyReleased, keyTyped
-
Methods inherited from interface java.awt.event.MouseListener
mouseClicked, mouseEntered, mouseExited
-
Methods inherited from interface java.awt.event.MouseMotionListener
mouseMoved
-
Methods inherited from interface kiyut.sketsa.canvas.tool.Tool
addMessageListener, removeMessageListener
-
-
-
-
Method Detail
-
endTool
public void endTool()
Description copied from interface:ToolInvoked when the tool is ended- Specified by:
endToolin interfaceTool- Overrides:
endToolin classAbstractPointTool
-
startTool
public void startTool()
Description copied from interface:ToolInvoked when the tool is started- Specified by:
startToolin interfaceTool- Overrides:
startToolin classAbstractTool
-
mouseDragged
public void mouseDragged(MouseEvent evt)
- Specified by:
mouseDraggedin interfaceMouseMotionListener- Overrides:
mouseDraggedin classAbstractTool
-
mousePressed
public void mousePressed(MouseEvent evt)
- Specified by:
mousePressedin interfaceMouseListener- Overrides:
mousePressedin classAbstractTool
-
mouseReleased
public void mouseReleased(MouseEvent evt)
- Specified by:
mouseReleasedin interfaceMouseListener- Overrides:
mouseReleasedin classAbstractTool
-
-