org.freehep.jas.extension.tupleExplorer.cut
Class VariableSliderUI.TrackListener

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by javax.swing.event.MouseInputAdapter
          extended by org.freehep.jas.extension.tupleExplorer.cut.VariableSliderUI.TrackListener
All Implemented Interfaces:
MouseListener, MouseMotionListener, MouseWheelListener, EventListener, MouseInputListener
Enclosing class:
VariableSliderUI

public class VariableSliderUI.TrackListener
extends MouseInputAdapter


Field Summary
protected  int adjustingThumbIndex
           
protected  Rectangle adjustingThumbRect
           
protected  int currentMouseX
           
protected  int currentMouseY
           
protected  int offset
           
protected  VariableSlider slider
           
 
Method Summary
 void mouseDragged(MouseEvent e)
           
 void mousePressed(MouseEvent e)
           
 void mouseReleased(MouseEvent e)
           
 boolean shouldScroll(int direction)
           
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseEntered, mouseExited, mouseMoved, mouseWheelMoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.event.MouseListener
mouseClicked, mouseEntered, mouseExited
 
Methods inherited from interface java.awt.event.MouseMotionListener
mouseMoved
 

Field Detail

offset

protected transient int offset

currentMouseX

protected transient int currentMouseX

currentMouseY

protected transient int currentMouseY

adjustingThumbRect

protected Rectangle adjustingThumbRect

adjustingThumbIndex

protected int adjustingThumbIndex

slider

protected VariableSlider slider
Method Detail

mousePressed

public void mousePressed(MouseEvent e)
Specified by:
mousePressed in interface MouseListener
Overrides:
mousePressed in class MouseAdapter

mouseDragged

public void mouseDragged(MouseEvent e)
Specified by:
mouseDragged in interface MouseMotionListener
Overrides:
mouseDragged in class MouseAdapter

mouseReleased

public void mouseReleased(MouseEvent e)
Specified by:
mouseReleased in interface MouseListener
Overrides:
mouseReleased in class MouseAdapter

shouldScroll

public boolean shouldScroll(int direction)


Copyright © 2013. All Rights Reserved.