## org.das2.event.VerticalRangeSelectorMouseModule

## VerticalRangeSelectorMouseModule( org.das2.graph.DasCanvasComponent parent, org.das2.graph.DasAxis axis )

## addDataRangeSelectionListener

addDataRangeSelectionListener( org.das2.event.DataRangeSelectionListener listener ) → void

Registers DataRangeSelectionListener to receive events.

### Parameters

listener - The listener to register.

### Returns:

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

## create

create( org.das2.graph.DasPlot parent ) → org.das2.event.VerticalRangeSelectorMouseModule

### Parameters

parent - a DasPlot

### Returns:

org.das2.event.VerticalRangeSelectorMouseModule
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getLabel

getLabel( ) → String

### Returns:

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

## mouseRangeSelected

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

### Parameters

e0 - a MouseDragEvent

### Returns:

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

## mouseWheelMoved

mouseWheelMoved( java.awt.event.MouseWheelEvent e ) → void

mouse wheel events zoom or pan rapidly. With a physical wheel, I (jbf) found that I get 17ms per click, and this is manageable. With a touchpad on a mac, these events come much faster, like 10ms per click, which can disorient the operator. So we limit the speed to 20ms per click, for now by dropping rapid clicks.

### Parameters

e - a MouseWheelEvent

### Returns:

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

## removeDataRangeSelectionListener

removeDataRangeSelectionListener( org.das2.event.DataRangeSelectionListener listener ) → void

Removes DataRangeSelectionListener 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]