LightDriver, TextDriverpublic class SwingTextAPIDriver extends TextAPIDriver
| Constructor | Description |
|---|---|
SwingTextAPIDriver() |
Constructs a SwingTextAPIDriver.
|
| Modifier and Type | Method | 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.
|
checkSupported, getSupportedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeCaretPosition, changeText, clearText, enterText, selectText, typeTextpublic 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.