java.lang.Object
java.awt.event.MouseAdapter
javax.swing.event.MouseInputAdapter
javax.swing.plaf.basic.BasicSliderUI.TrackListener
org.pushingpixels.radiance.theming.internal.contrib.randelshofer.quaqua.colorchooser.ColorSliderUI.QuaquaTrackListener
All Implemented Interfaces:
MouseListener, MouseMotionListener, MouseWheelListener, EventListener, MouseInputListener
Enclosing class:
ColorSliderUI

public class ColorSliderUI.QuaquaTrackListener extends BasicSliderUI.TrackListener
Track mouse movements.

This inner class is marked "public" due to a compiler bug. This class should be treated as a "protected" inner class. Instantiate it only within subclasses of .

  • Constructor Details

    • QuaquaTrackListener

      public QuaquaTrackListener()
  • Method Details

    • mousePressed

      public void mousePressed(MouseEvent e)
      If the mouse is pressed above the "thumb" component then reduce the scrollbars value by one page ("page up"), otherwise increase it by one page. If there is no thumb then page up if the mouse is in the upper half of the track.
      Specified by:
      mousePressed in interface MouseListener
      Overrides:
      mousePressed in class BasicSliderUI.TrackListener