Class JSliderLocation

java.lang.Object
org.fest.swing.driver.JSliderLocation

public final class JSliderLocation extends Object
Understands a location in a JSlider.
  • Field Details

  • Constructor Details

    • JSliderLocation

      public JSliderLocation()
  • Method Details

    • pointAt

      @RunsInCurrentThread public Point pointAt(JSlider slider, int value)
      Returns the coordinates of the given value in the given JSlider.

      Note: This method is not executed in the event dispatch thread (EDT.) Clients are responsible for invoking this method in the EDT.

      Parameters:
      slider - the given JSlider.
      value - the given value.
      Returns:
      the coordinates of the given value in the given JSlider.