com.vividsolutions.jump.demo.delineation
Class CreateDelineationTool

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool
      extended by com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool
          extended by com.vividsolutions.jump.workbench.ui.cursortool.NClickTool
              extended by com.vividsolutions.jump.demo.delineation.CreateDelineationTool
All Implemented Interfaces:
CursorTool, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener

public class CreateDelineationTool
extends NClickTool

Creates a new delineation feature.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool
AbstractCursorTool.Listener
 
Constructor Summary
CreateDelineationTool(java.util.Collection snapPolicies)
           
 
Method Summary
 java.awt.Cursor getCursor()
           
 javax.swing.Icon getIcon()
           
 
Methods inherited from class com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool
cancelGesture, getCoordinates, mouseDragged, mouseMoved, mousePressed, mouseReleased
 
Methods inherited from class com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool
activate, add, allowSnapping, createCursor, createCursor, createStandardSnappingPolicies, deactivate, getColor, getName, getSnapManager, getWorkbench, isGestureInProgress, isRightMouseButtonUsed, isShapeOnScreen, mouseClicked, mouseEntered, mouseExited, name, setColor, toString, workbench, workbenchFrame
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateDelineationTool

public CreateDelineationTool(java.util.Collection snapPolicies)
Method Detail

getIcon

public javax.swing.Icon getIcon()
Returns:
null to use a default icon

getCursor

public java.awt.Cursor getCursor()
Specified by:
getCursor in interface CursorTool
Overrides:
getCursor in class AbstractCursorTool