Class CompositeTool
java.lang.Object
com.vividsolutions.jump.workbench.ui.cursortool.CompositeTool
- All Implemented Interfaces:
CursorTool, MouseListener, MouseMotionListener, EventListener
- Direct Known Subclasses:
AndCompositeTool, OrCompositeTool
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(LayerViewPanel layerViewPanel) add(CursorTool tool) voidNotifies the CursorTool that a party is requesting that the gesture currently in progress be aborted.voidprotected CursorToolgetIcon()protected StringgetPanel()booleanbooleanMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CursorTool
getNameMethods inherited from interface MouseListener
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleasedMethods inherited from interface MouseMotionListener
mouseDragged, mouseMoved
-
Field Details
-
cursorTools
-
-
Constructor Details
-
CompositeTool
-
-
Method Details
-
deactivate
public void deactivate()- Specified by:
deactivatein interfaceCursorTool
-
getCursor
- Specified by:
getCursorin interfaceCursorTool
-
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
-
firstCursorTool
-
activate
- Specified by:
activatein interfaceCursorTool
-
add
-
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
-
getIcon
- Specified by:
getIconin interfaceCursorTool- Returns:
- null to use a default icon
-
getName
-
isGestureInProgress
public boolean isGestureInProgress()- Specified by:
isGestureInProgressin interfaceCursorTool
-
getPanel
-