public interface FocusableComponentFixture
Modifier and Type | Method and Description |
---|---|
FocusableComponentFixture |
focus()
Gives input focus to this fixture's GUI component.
|
FocusableComponentFixture |
requireFocused()
Asserts that this fixture's GUI component has input focus.
|
FocusableComponentFixture focus()
IllegalStateException
- if the component is disabled.IllegalStateException
- if the component is not showing on the screen.FocusableComponentFixture requireFocused()
AssertionError
- if this component does not have input focus.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.