org.jdesktop.swingx.rollover
Class ListRolloverProducer

java.lang.Object
  extended by org.jdesktop.swingx.rollover.RolloverProducer
      extended by org.jdesktop.swingx.rollover.ListRolloverProducer
All Implemented Interfaces:
MouseListener, MouseMotionListener, EventListener

public class ListRolloverProducer
extends RolloverProducer

List-specific implementation of RolloverProducer.


Field Summary
 
Fields inherited from class org.jdesktop.swingx.rollover.RolloverProducer
CLICKED_KEY, rollover, ROLLOVER_KEY
 
Constructor Summary
ListRolloverProducer()
           
 
Method Summary
protected  void updateRolloverPoint(JComponent component, Point mousePoint)
          Subclasses must implement to map the given mouse coordinates into appropriate client coordinates.
 
Methods inherited from class org.jdesktop.swingx.rollover.RolloverProducer
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, updateClientProperty, updateRollover
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListRolloverProducer

public ListRolloverProducer()
Method Detail

updateRolloverPoint

protected void updateRolloverPoint(JComponent component,
                                   Point mousePoint)
Description copied from class: RolloverProducer
Subclasses must implement to map the given mouse coordinates into appropriate client coordinates. The result must be stored in the rollover field.

Specified by:
updateRolloverPoint in class RolloverProducer
Parameters:
component - the target component which received a mouse event
mousePoint - the mouse position of the event, coordinates are component pixels