|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object abbot.tester.Robot abbot.tester.ComponentTester abbot.tester.ContainerTester abbot.tester.JComponentTester abbot.tester.JScrollBarTester
public class JScrollBarTester
Provides user actions on a JScrollPane.
Field Summary |
---|
Fields inherited from class abbot.tester.ComponentTester |
---|
IGNORED_METHODS |
Fields inherited from class abbot.tester.Robot |
---|
componentDelay, defaultDelay, EM_AWT, EM_ROBOT, IDLE_TIMEOUT, MOUSELESS_MODIFIER, MOUSELESS_MODIFIER_MASK, popupDelay |
Fields inherited from interface abbot.tester.AWTConstants |
---|
BUTTON_MASK, COPY_MASK, DRAG_THRESHOLD, LINK_MASK, MENU_SHORTCUT_KEYCODE, MENU_SHORTCUT_MASK, MENU_SHORTCUT_MODIFIER, MENU_SHORTCUT_STRING, MOVE_MASK, MULTI_CLICK_INTERVAL, POPUP_MASK, POPUP_MODIFIER, POPUP_ON_PRESS, TERTIARY_MASK, TERTIARY_MODIFIER |
Constructor Summary | |
---|---|
JScrollBarTester()
|
Method Summary | |
---|---|
void |
actionScrollBlockDown(Component c)
Scroll down (or left) one block (usually a page). |
void |
actionScrollBlockUp(Component c)
Scroll up (or right) one block (usually a page). |
void |
actionScrollTo(Component c,
int position)
Scroll to the given scroll position. |
void |
actionScrollUnitDown(Component c)
Scroll down (or left) one unit (usually a line). |
void |
actionScrollUnitUp(Component c)
Scroll up (or right) one unit (usually a line). |
protected Point |
getBlockLocation(JScrollBar bar,
boolean up)
|
protected Point |
getThumbLocation(JScrollBar bar,
int value)
|
protected Point |
getUnitLocation(JScrollBar bar,
boolean up)
|
protected void |
scroll(JScrollBar bar,
int value)
|
protected void |
scroll(JScrollBar bar,
int count,
boolean block)
|
Methods inherited from class abbot.tester.JComponentTester |
---|
actionActionMap, actionClick, actionClick, actionDrag, actionDrag, actionDrop, actionScrollToVisible, actionScrollToVisible, actionScrollToVisible, convertRendererToString, deriveTag, getTester, isVisible, isVisible, mousePress, scrollRectToVisible, scrollToVisible, scrollToVisible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JScrollBarTester()
Method Detail |
---|
protected Point getThumbLocation(JScrollBar bar, int value)
protected Point getUnitLocation(JScrollBar bar, boolean up)
protected Point getBlockLocation(JScrollBar bar, boolean up)
protected void scroll(JScrollBar bar, int value)
protected void scroll(JScrollBar bar, int count, boolean block)
public void actionScrollUnitUp(Component c)
public void actionScrollUnitDown(Component c)
public void actionScrollBlockUp(Component c)
public void actionScrollBlockDown(Component c)
public void actionScrollTo(Component c, int position)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |