org.das2.event.VerticalDragRangeSelectorMouseModule

With the HorizontalDragRangeRenderer and VerticalSpectrogramAverager, this shows the average over an interval.

VerticalDragRangeSelectorMouseModule( org.das2.graph.DasPlot parent, org.das2.dataset.DataSetConsumer dataSetConsumer, 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 ) → VerticalDragRangeSelectorMouseModule

Parameters

parent - a DasPlot

Returns:

org.das2.event.VerticalDragRangeSelectorMouseModule

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getDataRangeSelectionListener

getDataRangeSelectionListener( int index ) → DataRangeSelectionListener

allow a peek at the listener.

Parameters

index - an int

Returns:

the listener at the index.

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getDataRangeSelectionListenerCount

getDataRangeSelectionListenerCount( ) → int

allow a peek at the listeners.

Returns:

the number of listeners.

[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]


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]