LightDriver, TextDriverpublic 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, getSupportedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeCaretPosition, changeCaretPosition, changeText, clearText, enterText, selectText, typeTextpublic AWTTextKeyboardDriver()
public java.lang.String getText(ComponentOperator oper)
TextKeyboardDrivergetText in class TextKeyboardDriveroper - an operator.public int getCaretPosition(ComponentOperator oper)
TextKeyboardDrivergetCaretPosition in class TextKeyboardDriveroper - an operator.public int getSelectionStart(ComponentOperator oper)
TextKeyboardDrivergetSelectionStart in class TextKeyboardDriveroper - an operator.public int getSelectionEnd(ComponentOperator oper)
TextKeyboardDrivergetSelectionEnd in class TextKeyboardDriveroper - an operator.public org.netbeans.jemmy.drivers.text.NavigationKey[] getKeys(ComponentOperator oper)
TextKeyboardDrivergetKeys in class TextKeyboardDriveroper - an operator.public Timeout getBetweenTimeout(ComponentOperator oper)
TextKeyboardDrivergetBetweenTimeout in class TextKeyboardDriveroper - an operator.