Package org.fest.swing.driver
Class HorizontalJScrollBarLocation
java.lang.Object
org.fest.swing.driver.JScrollBarLocationStrategy
org.fest.swing.driver.HorizontalJScrollBarLocation
Understands a location in a horizontal
JScrollBar
.
Note: Methods in this class are not executed in the event dispatch thread (EDT.) Clients are responsible for invoking them in the EDT.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) int
arrow
(JScrollBar scrollBar) (package private) Point
blockLocation
(JScrollBar scrollBar, Point unitLocation, int offset) (package private) Point
thumbLocation
(JScrollBar scrollBar, double fraction) (package private) Point
unitLocationToScrollDown
(JScrollBar scrollBar)
-
Constructor Details
-
HorizontalJScrollBarLocation
HorizontalJScrollBarLocation()
-
-
Method Details
-
thumbLocation
- Specified by:
thumbLocation
in classJScrollBarLocationStrategy
-
blockLocation
- Specified by:
blockLocation
in classJScrollBarLocationStrategy
-
unitLocationToScrollDown
- Specified by:
unitLocationToScrollDown
in classJScrollBarLocationStrategy
-
arrow
- Specified by:
arrow
in classJScrollBarLocationStrategy
-