com.vividsolutions.jump.workbench.ui.cursortool
Class AndCompositeTool

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.cursortool.CompositeTool
      extended by 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

Constructor Summary
AndCompositeTool()
           
AndCompositeTool(CursorTool[] cursorTools)
           
 
Method Summary
 java.lang.String getName()
          Returns a very brief description of this CursorTool.
 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)
           
 void setCursorTool(CursorTool cursorTool)
           
 
Methods inherited from class com.vividsolutions.jump.workbench.ui.cursortool.CompositeTool
activate, add, cancelGesture, deactivate, getCursor, getIcon, getPanel, isGestureInProgress, isRightMouseButtonUsed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndCompositeTool

public AndCompositeTool()

AndCompositeTool

public AndCompositeTool(CursorTool[] cursorTools)
Method Detail

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)