Package org.netbeans.jemmy.drivers
Interface ScrollDriver
- All Known Implementing Classes:
AbstractScrollDriver
,AWTScrollDriver
,JScrollBarAPIDriver
,JScrollBarDriver
,JSliderAPIDriver
,JSliderDriver
,JSpinnerDriver
,JSplitPaneDriver
,KeyboardJSliderScrollDriver
,ScrollbarDriver
,ScrollPaneDriver
public interface ScrollDriver
Defines how to work with scrollable components such as
javax.swing.JScrollBar
, javax.swing.JScrollPane
, javax.swing.JSlider
, ...- Author:
- Alexandre Iline (alexandre.iline@sun.com)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
scroll
(ComponentOperator oper, ScrollAdjuster adj) Changes value.void
scrollToMaximum
(ComponentOperator oper, int orientation) Changes value to a maximum.void
scrollToMinimum
(ComponentOperator oper, int orientation) Changes value to a minimum.
-
Method Details
-
scrollToMinimum
Changes value to a minimum.- Parameters:
oper
- Scroller operator.orientation
-java.awt.Adjustable.HORIZONTAL
orjava.awt.Adjustable.VERTICAL
-
scrollToMaximum
Changes value to a maximum.- Parameters:
oper
- Scroller operator.orientation
-java.awt.Adjustable.HORIZONTAL
orjava.awt.Adjustable.VERTICAL
-
scroll
Changes value.- Parameters:
oper
- Scroller operator.adj
- Object defines scroll position.
-