Package org.jdesktop.swingx.rollover
Class ListRolloverProducer
- java.lang.Object
-
- org.jdesktop.swingx.rollover.RolloverProducer
-
- org.jdesktop.swingx.rollover.ListRolloverProducer
-
- All Implemented Interfaces:
ComponentListener
,MouseListener
,MouseMotionListener
,EventListener
public class ListRolloverProducer extends RolloverProducer
List-specific implementation of RolloverProducer.- Author:
- Jeanette Winzenburg
-
-
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 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
componentHidden, componentMoved, componentResized, componentShown, install, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, release, updateClientProperty, updateRollover
-
-
-
-
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 classRolloverProducer
- Parameters:
component
- the target component which received a mouse eventmousePoint
- the mouse position of the event, coordinates are component pixels
-
-