org.fest.swing.driver
Class JSliderLocation
java.lang.Object
org.fest.swing.driver.JSliderLocation
public final class JSliderLocation
- extends Object
Understands a location in a JSlider
.
- Author:
- Alex Ruiz, Yvonne Wang
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSliderLocation
public JSliderLocation()
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 guaranteed to be executed in the event dispatch thread (EDT.) Clients are
responsible for calling this method from the EDT.
- Parameters:
slider
- the given JSlider
.value
- the given value.
- Returns:
- the coordinates of the given value in the given
JSlider
.
Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.