Class ToolMouseMotionAdapter
- java.lang.Object
-
- java.awt.event.MouseMotionAdapter
-
- adams.gui.visualization.object.tools.ToolMouseMotionAdapter
-
- All Implemented Interfaces:
MouseMotionListener
,EventListener
public class ToolMouseMotionAdapter extends MouseMotionAdapter
MouseMotionAdapter
with an owning tool.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description ToolMouseMotionAdapter(Tool owner)
Initializes the adapter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tool
getOwner()
Returns the owning tool.-
Methods inherited from class java.awt.event.MouseMotionAdapter
mouseDragged, mouseMoved
-
-
-
-
Field Detail
-
m_Owner
protected Tool m_Owner
the owning tool.
-
-
Constructor Detail
-
ToolMouseMotionAdapter
public ToolMouseMotionAdapter(Tool owner)
Initializes the adapter.- Parameters:
owner
- the owning tool
-
-
Method Detail
-
getOwner
public Tool getOwner()
Returns the owning tool.- Returns:
- the owning tool
-
-