LightDriver
, TextDriver
public class AWTTextKeyboardDriver extends TextKeyboardDriver
Constructor | Description |
---|---|
AWTTextKeyboardDriver() |
Constructs a AWTTextKeyboardDriver.
|
Modifier and Type | Method | Description |
---|---|---|
Timeout |
getBetweenTimeout(ComponentOperator oper) |
Returns a timeout to sleep between text typing and caret operations.
|
int |
getCaretPosition(ComponentOperator oper) |
Returns current caret position.
|
org.netbeans.jemmy.drivers.text.NavigationKey[] |
getKeys(ComponentOperator oper) |
Returns an array of navigation keys.
|
int |
getSelectionEnd(ComponentOperator oper) |
Returns a caret position of selection end.
|
int |
getSelectionStart(ComponentOperator oper) |
Returns a caret position of selection start.
|
java.lang.String |
getText(ComponentOperator oper) |
Returns operator's text.
|
checkSupported, getSupported
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeCaretPosition, changeCaretPosition, changeText, clearText, enterText, selectText, typeText
public AWTTextKeyboardDriver()
public java.lang.String getText(ComponentOperator oper)
TextKeyboardDriver
getText
in class TextKeyboardDriver
oper
- an operator.public int getCaretPosition(ComponentOperator oper)
TextKeyboardDriver
getCaretPosition
in class TextKeyboardDriver
oper
- an operator.public int getSelectionStart(ComponentOperator oper)
TextKeyboardDriver
getSelectionStart
in class TextKeyboardDriver
oper
- an operator.public int getSelectionEnd(ComponentOperator oper)
TextKeyboardDriver
getSelectionEnd
in class TextKeyboardDriver
oper
- an operator.public org.netbeans.jemmy.drivers.text.NavigationKey[] getKeys(ComponentOperator oper)
TextKeyboardDriver
getKeys
in class TextKeyboardDriver
oper
- an operator.public Timeout getBetweenTimeout(ComponentOperator oper)
TextKeyboardDriver
getBetweenTimeout
in class TextKeyboardDriver
oper
- an operator.