Class LeftClickFilter
java.lang.Object
com.vividsolutions.jump.workbench.ui.cursortool.LeftClickFilter
- All Implemented Interfaces:
CursorTool, MouseListener, MouseMotionListener, EventListener
Filters out middle- and right-clicks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(LayerViewPanel panel) voidNotifies the CursorTool that a party is requesting that the gesture currently in progress be aborted.voidgetIcon()getName()Returns a very brief description of this CursorTool.booleanbooleanvoidvoidvoidvoidvoidvoidvoidtoString()
-
Constructor Details
-
LeftClickFilter
-
-
Method Details
-
getWrappee
-
getIcon
- Specified by:
getIconin interfaceCursorTool- Returns:
- null to use a default icon
-
getName
Description copied from interface:CursorToolReturns a very brief description of this CursorTool.- Specified by:
getNamein interfaceCursorTool- Returns:
- the name of this CursorTool
-
getCursor
- Specified by:
getCursorin interfaceCursorTool
-
activate
- Specified by:
activatein interfaceCursorTool
-
deactivate
public void deactivate()- Specified by:
deactivatein interfaceCursorTool
-
mouseClicked
- Specified by:
mouseClickedin interfaceMouseListener
-
mousePressed
- Specified by:
mousePressedin interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
- Specified by:
mouseExitedin interfaceMouseListener
-
mouseDragged
- Specified by:
mouseDraggedin interfaceMouseMotionListener
-
mouseMoved
- Specified by:
mouseMovedin interfaceMouseMotionListener
-
isRightMouseButtonUsed
public boolean isRightMouseButtonUsed()- Specified by:
isRightMouseButtonUsedin interfaceCursorTool- Returns:
- true if this CursorTool uses the right mouse button; false to allow the panel to show a popup-menu on right-clicks
-
isGestureInProgress
public boolean isGestureInProgress()- Specified by:
isGestureInProgressin interfaceCursorTool
-
cancelGesture
public void cancelGesture()Description copied from interface:CursorToolNotifies the CursorTool that a party is requesting that the gesture currently in progress be aborted.- Specified by:
cancelGesturein interfaceCursorTool
-
toString
-