org.das2.event
Class VerticalRangeSelectorMouseModule

java.lang.Object
  extended by org.das2.event.MouseModule
      extended by org.das2.event.VerticalRangeSelectorMouseModule
All Implemented Interfaces:
java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener, Displayable, Editable

public class VerticalRangeSelectorMouseModule
extends MouseModule


Field Summary
 
Fields inherited from class org.das2.event.MouseModule
dragRenderer, parent
 
Constructor Summary
VerticalRangeSelectorMouseModule(DasCanvasComponent parent, DasAxis axis)
           
 
Method Summary
 void addDataRangeSelectionListener(DataRangeSelectionListener listener)
          Registers DataRangeSelectionListener to receive events.
static VerticalRangeSelectorMouseModule create(DasPlot parent)
           
 java.lang.String getLabel()
          returns a string that identifies the module
 void mouseRangeSelected(MouseDragEvent e0)
          Action to take when a mouse range (click, drag, release) has been selected.
 void removeDataRangeSelectionListener(DataRangeSelectionListener listener)
          Removes DataRangeSelectionListener from the list of listeners.
 
Methods inherited from class org.das2.event.MouseModule
getCursor, getDragRenderer, getHotSpots, getListIcon, getListLabel, hotSpotPressed, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePointSelected, mousePressed, mouseReleased, mouseWheelMoved, setDragRenderer, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerticalRangeSelectorMouseModule

public VerticalRangeSelectorMouseModule(DasCanvasComponent parent,
                                        DasAxis axis)
Method Detail

getLabel

public java.lang.String getLabel()
Description copied from class: MouseModule
returns a string that identifies the module

Overrides:
getLabel in class MouseModule

create

public static VerticalRangeSelectorMouseModule create(DasPlot parent)

mouseRangeSelected

public void mouseRangeSelected(MouseDragEvent e0)
Description copied from class: MouseModule
Action to take when a mouse range (click, drag, release) has been selected.

Overrides:
mouseRangeSelected in class MouseModule

addDataRangeSelectionListener

public void addDataRangeSelectionListener(DataRangeSelectionListener listener)
Registers DataRangeSelectionListener to receive events.

Parameters:
listener - The listener to register.

removeDataRangeSelectionListener

public void removeDataRangeSelectionListener(DataRangeSelectionListener listener)
Removes DataRangeSelectionListener from the list of listeners.

Parameters:
listener - The listener to remove.