Class AndCompositeTool
- java.lang.Object
-
- com.vividsolutions.jump.workbench.ui.cursortool.CompositeTool
-
- com.vividsolutions.jump.workbench.ui.cursortool.AndCompositeTool
-
- All Implemented Interfaces:
CursorTool
,MouseListener
,MouseMotionListener
,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
-
-
Field Summary
-
Fields inherited from class com.vividsolutions.jump.workbench.ui.cursortool.CompositeTool
cursorTools
-
-
Constructor Summary
Constructors Constructor Description AndCompositeTool()
AndCompositeTool(CursorTool[] cursorTools)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Returns a very brief description of this CursorTool.void
mouseClicked(MouseEvent e)
void
mouseDragged(MouseEvent e)
void
mouseEntered(MouseEvent e)
void
mouseExited(MouseEvent e)
void
mouseMoved(MouseEvent e)
void
mousePressed(MouseEvent e)
void
mouseReleased(MouseEvent e)
void
setCursorTool(CursorTool cursorTool)
-
Methods inherited from class com.vividsolutions.jump.workbench.ui.cursortool.CompositeTool
activate, add, cancelGesture, deactivate, firstCursorTool, getCursor, getIcon, getName, getPanel, isGestureInProgress, isRightMouseButtonUsed
-
-
-
-
Constructor Detail
-
AndCompositeTool
public AndCompositeTool()
-
AndCompositeTool
public AndCompositeTool(CursorTool[] cursorTools)
-
-
Method Detail
-
getName
public 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(MouseEvent e)
-
mousePressed
public void mousePressed(MouseEvent e)
-
mouseReleased
public void mouseReleased(MouseEvent e)
-
mouseEntered
public void mouseEntered(MouseEvent e)
-
mouseExited
public void mouseExited(MouseEvent e)
-
mouseDragged
public void mouseDragged(MouseEvent e)
-
mouseMoved
public void mouseMoved(MouseEvent e)
-
-