Class 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.
    Author:
    Jeanette Winzenburg
    • Constructor Detail

      • ListRolloverProducer

        public ListRolloverProducer()
    • Method Detail

      • updateRolloverPoint

        protected void updateRolloverPoint​(javax.swing.JComponent component,
                                           java.awt.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