|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TextInputFixture
Understands simulation of user events on GUI components that accept text input from the user.
Method Summary | |
---|---|
TextInputFixture |
deleteText()
Simulates a user deleting all the text in the managed by this fixture. |
TextInputFixture |
enterText(String text)
Simulates a user entering the given text in the managed by this fixture. |
TextInputFixture |
select(String text)
Simulates a user selecting the given text contained in the managed by this fixture. |
TextInputFixture |
selectAll()
Simulates a user selecting all the text contained in the managed by this fixture. |
TextInputFixture |
selectText(int start,
int end)
Simulates a user selecting a portion of the text contained in the managed by this
fixture. |
Methods inherited from interface org.fest.swing.fixture.TextDisplayFixture |
---|
requireText, requireText, text |
Methods inherited from interface org.fest.swing.fixture.EditableComponentFixture |
---|
requireEditable, requireNotEditable |
Method Detail |
---|
TextInputFixture enterText(String text)
Component
managed by this fixture.
text
- the text to enter.
TextInputFixture deleteText()
Component
managed by this fixture.
TextInputFixture selectAll()
Component
managed by this fixture.
TextInputFixture selectText(int start, int end)
Component
managed by this
fixture.
start
- index where selection should start.end
- index where selection should end.
TextInputFixture select(String text)
Component
managed by this fixture.
text
- the text to select.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |