|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fest.swing.driver.JScrollBarLocation
public final class JScrollBarLocation
Understands a location in a
.
JScrollBar
Constructor Summary | |
---|---|
JScrollBarLocation()
|
Method Summary | |
---|---|
Point |
blockLocationToScrollDown(JScrollBar scrollBar)
Returns the location where to move the mouse pointer to scroll one block down (or left.) |
Point |
blockLocationToScrollUp(JScrollBar scrollBar)
Returns the location where to move the mouse pointer to scroll one block up (or right.) |
Point |
thumbLocation(JScrollBar scrollBar,
int position)
Returns the location where to move the mouse pointer to scroll to the given position. |
Point |
unitLocationToScrollDown(JScrollBar scrollBar)
Returns the location where to move the mouse pointer to scroll one unit down (or left.) |
Point |
unitLocationToScrollUp(JScrollBar scrollBar)
Returns the location where to move the mouse pointer to scroll one unit up (or right.) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JScrollBarLocation()
Method Detail |
---|
@RunsInCurrentThread public Point thumbLocation(JScrollBar scrollBar, int position)
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.
scrollBar
- the target JScrollBar
.position
- the position to scroll to.
@RunsInCurrentThread public Point blockLocationToScrollUp(JScrollBar scrollBar)
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.
scrollBar
- the target JScrollBar
.
@RunsInCurrentThread public Point blockLocationToScrollDown(JScrollBar scrollBar)
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.
scrollBar
- the target JScrollBar
.
@RunsInCurrentThread public Point unitLocationToScrollUp(JScrollBar scrollBar)
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.
scrollBar
- the target JScrollBar
.
@RunsInCurrentThread public Point unitLocationToScrollDown(JScrollBar scrollBar)
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.
scrollBar
- the target JScrollBar
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |