|
|||||||||
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.TextAPIDriver
org.netbeans.jemmy.drivers.text.AWTTextAPIDriver
public class AWTTextAPIDriver
TextDriver for AWT component types. Uses API calls.
Constructor Summary | |
---|---|
AWTTextAPIDriver()
Constructs a AWTTextAPIDriver. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.netbeans.jemmy.drivers.text.TextAPIDriver |
---|
clearText, enterText, 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 AWTTextAPIDriver()
Method Detail |
---|
public java.lang.String getText(ComponentOperator oper)
TextAPIDriver
getText
in class TextAPIDriver
oper
- an operator.
public int getCaretPosition(ComponentOperator oper)
TextAPIDriver
getCaretPosition
in class TextAPIDriver
oper
- an operator.
public int getSelectionStart(ComponentOperator oper)
TextAPIDriver
getSelectionStart
in class TextAPIDriver
oper
- an operator.
public int getSelectionEnd(ComponentOperator oper)
TextAPIDriver
getSelectionEnd
in class TextAPIDriver
oper
- an operator.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |