|
|||||||||
| 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.SwingTextAPIDriver
public class SwingTextAPIDriver
TextDriver for swing component types. Uses API calls.
| Constructor Summary | |
|---|---|
SwingTextAPIDriver()
Constructs a SwingTextAPIDriver. |
|
| 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 SwingTextAPIDriver()
| Method Detail |
|---|
public java.lang.String getText(ComponentOperator oper)
TextAPIDriver
getText in class TextAPIDriveroper - an operator.
public int getCaretPosition(ComponentOperator oper)
TextAPIDriver
getCaretPosition in class TextAPIDriveroper - an operator.
public int getSelectionStart(ComponentOperator oper)
TextAPIDriver
getSelectionStart in class TextAPIDriveroper - an operator.
public int getSelectionEnd(ComponentOperator oper)
TextAPIDriver
getSelectionEnd in class TextAPIDriveroper - an operator.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||