public class JSpinnerDriver extends LightSupportiveDriver implements ScrollDriver
Constructor and Description |
---|
JSpinnerDriver()
Constructs a JSpinnerDriver object.
|
Modifier and Type | Method and Description |
---|---|
void |
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.
|
checkSupported, getSupported
public void scrollToMinimum(ComponentOperator oper, int orientation)
ScrollDriver
scrollToMinimum
in interface ScrollDriver
oper
- Scroller operator.orientation
- java.awt.Adjustable.HORIZONTAL
or java.awt.Adjustable.VERTICAL
public void scrollToMaximum(ComponentOperator oper, int orientation)
ScrollDriver
scrollToMaximum
in interface ScrollDriver
oper
- Scroller operator.orientation
- java.awt.Adjustable.HORIZONTAL
or java.awt.Adjustable.VERTICAL
public void scroll(ComponentOperator oper, ScrollAdjuster adj)
ScrollDriver
scroll
in interface ScrollDriver
oper
- Scroller operator.adj
- Object defines scroll position.