public class AWTTextKeyboardDriver extends TextKeyboardDriver
| Constructor and Description |
|---|
AWTTextKeyboardDriver()
Constructs a AWTTextKeyboardDriver.
|
| Modifier and Type | Method and 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.
|
changeCaretPosition, changeCaretPosition, changeText, clearText, enterText, selectText, typeTextcheckSupported, getSupportedpublic 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.