|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.netbeans.jemmy.drivers.LightSupportiveDriver
org.netbeans.jemmy.drivers.text.TextKeyboardDriver
org.netbeans.jemmy.drivers.text.AWTTextKeyboardDriver
public class AWTTextKeyboardDriver
TextDriver for AWT text component types. Uses keyboard operations.
| Constructor Summary | |
|---|---|
AWTTextKeyboardDriver()
Constructs a AWTTextKeyboardDriver. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.netbeans.jemmy.drivers.text.TextKeyboardDriver |
|---|
clearText, enterText, changeCaretPosition, changeCaretPosition, changeText, selectText, typeText |
| Methods inherited from class org.netbeans.jemmy.drivers.LightSupportiveDriver |
|---|
getSupported, checkSupported |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AWTTextKeyboardDriver()
| Method Detail |
|---|
public java.lang.String getText(ComponentOperator oper)
TextKeyboardDriver
getText in class TextKeyboardDriveroper - an operator.
public int getCaretPosition(ComponentOperator oper)
TextKeyboardDriver
getCaretPosition in class TextKeyboardDriveroper - an operator.
public int getSelectionStart(ComponentOperator oper)
TextKeyboardDriver
getSelectionStart in class TextKeyboardDriveroper - an operator.
public int getSelectionEnd(ComponentOperator oper)
TextKeyboardDriver
getSelectionEnd in class TextKeyboardDriveroper - an operator.
public org.netbeans.jemmy.drivers.text.NavigationKey[] getKeys(ComponentOperator oper)
TextKeyboardDriver
getKeys in class TextKeyboardDriveroper - an operator.
public Timeout getBetweenTimeout(ComponentOperator oper)
TextKeyboardDriver
getBetweenTimeout in class TextKeyboardDriveroper - an operator.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||