DESY ACOP Beans Home

com.cosylab.gui.components
Class Wheelswitch.WheelSwitchMouseHandler

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by com.cosylab.gui.components.Wheelswitch.WheelSwitchMouseHandler
All Implemented Interfaces:
java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener
Enclosing class:
Wheelswitch

protected class Wheelswitch.WheelSwitchMouseHandler
extends java.awt.event.MouseAdapter
implements java.awt.event.MouseWheelListener

An implementation of the MouseWheelListener used for handling mouse wheel events inside the wheelswitch.

Version:
$id$
Author:
Jernej Kamenik

Constructor Summary
protected Wheelswitch.WheelSwitchMouseHandler()
           
 
Method Summary
 void mousePressed(java.awt.event.MouseEvent e)
           
 void mouseWheelMoved(java.awt.event.MouseWheelEvent e)
          Updates the value of the Wheelswitch when UpDownButton is pressed.
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Wheelswitch.WheelSwitchMouseHandler

protected Wheelswitch.WheelSwitchMouseHandler()
Method Detail

mouseWheelMoved

public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)
Updates the value of the Wheelswitch when UpDownButton is pressed.

Specified by:
mouseWheelMoved in interface java.awt.event.MouseWheelListener
Overrides:
mouseWheelMoved in class java.awt.event.MouseAdapter
Parameters:
e - DOCUMENT ME!

mousePressed

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


Copyright © 2010. All Rights Reserved.