## org.das2.event.WaypointsMouseModule

allows a thick highway to be used for digitizing, to be used with WaypointsDragRenderer.

## WaypointsMouseModule( org.das2.graph.DasCanvasComponent parent, String label )

## addBoxSelectionListener

addBoxSelectionListener( org.das2.event.BoxSelectionListener listener ) → void

Registers BoxSelectionListener to receive events. Though a BoxSelectionEvent is fired, clients should use the whereWithin method to query which points are within the bounding box drawn.

### Parameters

listener - The listener to register.

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getDirections

getDirections( ) → String

### Returns:

java.lang.String
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## keyTyped

keyTyped( java.awt.event.KeyEvent keyEvent ) → void

### Parameters

keyEvent - a KeyEvent

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## mouseRangeSelected

mouseRangeSelected( org.das2.event.MouseDragEvent e ) → void

### Parameters

e - a MouseDragEvent

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## removeBoxSelectionListener

removeBoxSelectionListener( org.das2.event.BoxSelectionListener listener ) → void

Removes BoxSelectionListener from the list of listeners.

### Parameters

listener - The listener to remove.

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## whereWithin

whereWithin( QDataSet xx, QDataSet yy ) → QDataSet

returns a list of indices where the rank 1 yy is within the pathway, or null if none are found.

### Parameters

xx - the rank 0 point for the data
yy - the rank 1 data points

### Returns:

a list of indices into yy.
[search for examples] [view on GitHub] [view on old javadoc] [view source]