|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TextDriver
Defines how to work with text components.
| Method Summary | |
|---|---|
void |
clearText(ComponentOperator oper)
Clears component text. |
void |
enterText(ComponentOperator oper,
java.lang.String text)
Type text and push enter. |
void |
changeCaretPosition(ComponentOperator oper,
int position)
Moves caret. |
void |
changeText(ComponentOperator oper,
java.lang.String text)
Replace component text. |
void |
selectText(ComponentOperator oper,
int startPosition,
int finalPosition)
Selects text. |
void |
typeText(ComponentOperator oper,
java.lang.String text,
int caretPosition)
Types new text. |
| Method Detail |
|---|
void changeCaretPosition(ComponentOperator oper,
int position)
oper - Text component operator.position - Position to move caret to.
void selectText(ComponentOperator oper,
int startPosition,
int finalPosition)
oper - Text component operator.startPosition - a posistion of selction startfinalPosition - a posistion of selction endvoid clearText(ComponentOperator oper)
oper - Text component operator.
void typeText(ComponentOperator oper,
java.lang.String text,
int caretPosition)
oper - Text component operator.text - New text to type.caretPosition - Type text at that position.
void changeText(ComponentOperator oper,
java.lang.String text)
oper - Text component operator.text - New text to type.
void enterText(ComponentOperator oper,
java.lang.String text)
oper - Text component operator.text - New text to type.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||