public final class JSliderLocation extends Object
JSlider
.Constructor and Description |
---|
JSliderLocation() |
Modifier and Type | Method and Description |
---|---|
Point |
pointAt(JSlider slider,
int value)
Returns the coordinates of the given value in the given
JSlider . |
@RunsInCurrentThread @Nonnull public Point pointAt(@Nonnull JSlider slider, int value)
Returns the coordinates of the given value in the given JSlider
.
Note: This method is accessed in the current executing thread. Such thread may or may not be the event dispatch thread (EDT). Client code must call this method from the EDT.
slider
- the given JSlider
.value
- the given value.JSlider
.Copyright © 2014–2019 AssertJ. All rights reserved.