com.openpcl.viewer.util
Class PosHoverColorMouseMotionAdapter

java.lang.Object
  extended by java.awt.event.MouseMotionAdapter
      extended by com.openpcl.viewer.util.PosHoverColorMouseMotionAdapter
All Implemented Interfaces:
MouseMotionListener, EventListener

public class PosHoverColorMouseMotionAdapter
extends MouseMotionAdapter

Mouse motion adapter to set a value in the hovered over JLabel in the JList that causes the PosToolbarDropdownItemRenderer to set the background color as the user moves the mouse from one selection to another so the user has visual confirmation of which item in the drop down will be seleced if clicked there.

Author:
DocMagic, Document Systems Inc, HowardH. 8/20/07

Constructor Summary
PosHoverColorMouseMotionAdapter(JList pJList)
           
 
Method Summary
 void mouseMoved(MouseEvent pE)
           
 
Methods inherited from class java.awt.event.MouseMotionAdapter
mouseDragged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PosHoverColorMouseMotionAdapter

public PosHoverColorMouseMotionAdapter(JList pJList)
Method Detail

mouseMoved

public void mouseMoved(MouseEvent pE)
Specified by:
mouseMoved in interface MouseMotionListener
Overrides:
mouseMoved in class MouseMotionAdapter


OpenPCL http://www.openpcl.com