org.das2.event
Class DisplayDataMouseModule

java.lang.Object
  extended by org.das2.event.MouseModule
      extended by org.das2.event.DisplayDataMouseModule
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 DisplayDataMouseModule
extends MouseModule


Field Summary
 
Fields inherited from class org.das2.event.MouseModule
dragRenderer, parent
 
Constructor Summary
DisplayDataMouseModule(DasPlot parent)
          Creates a new instance of DisplayDataMouseModule
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener l)
          Adds a PropertyChangeListener to the listener list.
 java.lang.String getLabel()
          returns a string that identifies the module
 javax.swing.Icon getListIcon()
          An icon can be provided that will be shown in a list along with the textual description of the element.
 java.lang.String getListLabel()
          return a String that will help the user identify this item when choosing from a list.
 boolean isYclip()
          Getter for property yclip.
 void mouseRangeSelected(MouseDragEvent e0)
          Action to take when a mouse range (click, drag, release) has been selected.
 void removePropertyChangeListener(java.beans.PropertyChangeListener l)
          Removes a PropertyChangeListener from the listener list.
 void setYclip(boolean yclip)
          Setter for property yclip.
 
Methods inherited from class org.das2.event.MouseModule
getCursor, getDragRenderer, getHotSpots, 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

DisplayDataMouseModule

public DisplayDataMouseModule(DasPlot parent)
Creates a new instance of DisplayDataMouseModule

Method Detail

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

getListLabel

public java.lang.String getListLabel()
Description copied from interface: Displayable
return a String that will help the user identify this item when choosing from a list.

Specified by:
getListLabel in interface Displayable
Overrides:
getListLabel in class MouseModule

getListIcon

public javax.swing.Icon getListIcon()
Description copied from interface: Displayable
An icon can be provided that will be shown in a list along with the textual description of the element. This method should return null if there is no icon available.

Specified by:
getListIcon in interface Displayable
Overrides:
getListIcon in class MouseModule

getLabel

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

Overrides:
getLabel in class MouseModule

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds a PropertyChangeListener to the listener list.

Parameters:
l - The listener to add.

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes a PropertyChangeListener from the listener list.

Parameters:
l - The listener to remove.

isYclip

public boolean isYclip()
Getter for property yclip.

Returns:
Value of property yclip.

setYclip

public void setYclip(boolean yclip)
Setter for property yclip.

Parameters:
yclip - New value of property yclip.