public class DummyTool extends java.lang.Object implements CursorTool
Constructor and Description |
---|
DummyTool() |
Modifier and Type | Method and Description |
---|---|
void |
activate(LayerViewPanel layerViewPanel) |
void |
cancelGesture()
Notifies the CursorTool that a party is requesting that the gesture
currently in progress be aborted.
|
void |
deactivate() |
java.awt.Cursor |
getCursor() |
javax.swing.Icon |
getIcon() |
java.lang.String |
getName()
Returns a very brief description of this CursorTool.
|
boolean |
isGestureInProgress() |
boolean |
isRightMouseButtonUsed() |
void |
mouseClicked(java.awt.event.MouseEvent e) |
void |
mouseDragged(java.awt.event.MouseEvent e) |
void |
mouseEntered(java.awt.event.MouseEvent e) |
void |
mouseExited(java.awt.event.MouseEvent e) |
void |
mouseMoved(java.awt.event.MouseEvent e) |
void |
mousePressed(java.awt.event.MouseEvent e) |
void |
mouseReleased(java.awt.event.MouseEvent e) |
public java.awt.Cursor getCursor()
getCursor
in interface CursorTool
public void activate(LayerViewPanel layerViewPanel)
activate
in interface CursorTool
public void deactivate()
deactivate
in interface CursorTool
public boolean isRightMouseButtonUsed()
isRightMouseButtonUsed
in interface CursorTool
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
public javax.swing.Icon getIcon()
getIcon
in interface CursorTool
public boolean isGestureInProgress()
isGestureInProgress
in interface CursorTool
public void cancelGesture()
CursorTool
cancelGesture
in interface CursorTool
public java.lang.String getName()
CursorTool
getName
in interface CursorTool