DESY ACOP Beans Home

com.cosylab.gui.components
Class Wheelswitch.MouseHandler

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

protected class Wheelswitch.MouseHandler
extends java.awt.event.MouseAdapter

An implementation of KeyListener used for handling key commands for the wheelswitch.

Version:
$id$
Author:
Jernej Kamenik

Constructor Summary
protected Wheelswitch.MouseHandler()
           
 
Method Summary
 void mousePressed(java.awt.event.MouseEvent e)
          Updates digit selection in this Wheelswitch when left mouse button is pressed.
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, mouseWheelMoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Wheelswitch.MouseHandler

protected Wheelswitch.MouseHandler()
Method Detail

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Updates digit selection in this Wheelswitch when left mouse button is pressed.

Specified by:
mousePressed in interface java.awt.event.MouseListener
Overrides:
mousePressed in class java.awt.event.MouseAdapter
Parameters:
e -


Copyright © 2010. All Rights Reserved.