Package org.jdesktop.swingx.rollover
Class ListRolloverProducer
- java.lang.Object
-
- org.jdesktop.swingx.rollover.RolloverProducer
-
- org.jdesktop.swingx.rollover.ListRolloverProducer
-
- All Implemented Interfaces:
java.awt.event.ComponentListener,java.awt.event.MouseListener,java.awt.event.MouseMotionListener,java.util.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
Constructors Constructor Description ListRolloverProducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidupdateRolloverPoint(javax.swing.JComponent component, java.awt.Point mousePoint)Subclasses must implement to map the given mouse coordinates into appropriate client coordinates.-
Methods inherited from class org.jdesktop.swingx.rollover.RolloverProducer
componentHidden, componentMoved, componentResized, componentShown, install, isClick, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, release, updateClientProperty, updateRollover
-
-
-
-
Method Detail
-
updateRolloverPoint
protected void updateRolloverPoint(javax.swing.JComponent component, java.awt.Point mousePoint)Description copied from class:RolloverProducerSubclasses must implement to map the given mouse coordinates into appropriate client coordinates. The result must be stored in the rollover field.- Specified by:
updateRolloverPointin classRolloverProducer- Parameters:
component- the target component which received a mouse eventmousePoint- the mouse position of the event, coordinates are component pixels
-
-