public class SwingTextAPIDriver extends TextAPIDriver
| Constructor and Description |
|---|
SwingTextAPIDriver()
Constructs a SwingTextAPIDriver.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCaretPosition(ComponentOperator oper)
Returns current caret position.
|
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, changeText, clearText, enterText, selectText, typeTextcheckSupported, getSupportedpublic java.lang.String getText(ComponentOperator oper)
TextAPIDrivergetText in class TextAPIDriveroper - an operator.public int getCaretPosition(ComponentOperator oper)
TextAPIDrivergetCaretPosition in class TextAPIDriveroper - an operator.public int getSelectionStart(ComponentOperator oper)
TextAPIDrivergetSelectionStart in class TextAPIDriveroper - an operator.public int getSelectionEnd(ComponentOperator oper)
TextAPIDrivergetSelectionEnd in class TextAPIDriveroper - an operator.