Package org.fest.swing.driver
Class JScrollBarLocationStrategy
java.lang.Object
org.fest.swing.driver.JScrollBarLocationStrategy
- Direct Known Subclasses:
HorizontalJScrollBarLocation
,VerticalJScrollBarLocation
Understands a location in a
JScrollBar
in a orientation-specific way.
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) abstract int
arrow
(JScrollBar scrollBar) (package private) abstract Point
blockLocation
(JScrollBar scrollBar, Point unitLocation, int offset) (package private) abstract Point
thumbLocation
(JScrollBar scrollBar, double fraction) (package private) abstract Point
unitLocationToScrollDown
(JScrollBar scrollBar)
-
Constructor Details
-
JScrollBarLocationStrategy
JScrollBarLocationStrategy()
-
-
Method Details
-
arrow
-
thumbLocation
-
blockLocation
-
unitLocationToScrollDown
-