com.vividsolutions.jump.workbench.ui.cursortool
Class AndCompositeTool
java.lang.Object
com.vividsolutions.jump.workbench.ui.cursortool.CompositeTool
com.vividsolutions.jump.workbench.ui.cursortool.AndCompositeTool
- All Implemented Interfaces:
- CursorTool, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener
public class AndCompositeTool
- extends CompositeTool
Enables multiple CursorTools to operate at the same time. Events are passed
to all CursorTools in sequence.
- See Also:
OrCompositeTool
| Methods inherited from class com.vividsolutions.jump.workbench.ui.cursortool.CompositeTool |
activate, add, cancelGesture, deactivate, firstCursorTool, getCursor, getIcon, getName, getPanel, isGestureInProgress, isRightMouseButtonUsed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AndCompositeTool
public AndCompositeTool()
AndCompositeTool
public AndCompositeTool(CursorTool[] cursorTools)
getName
public java.lang.String getName()
- Description copied from interface:
CursorTool
- Returns a very brief description of this CursorTool.
- Returns:
- the name of this CursorTool
setCursorTool
public void setCursorTool(CursorTool cursorTool)
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent e)