|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ItemFixture
Understands functional testing of GUI component items (e.g. a cell in a JTable
or a row in a
JList
):
Component
.
Method Summary | |
---|---|
ItemFixture |
drag()
Simulates a user dragging this fixture's item. |
ItemFixture |
drop()
Simulates a user dropping into this fixture's item. |
ItemFixture |
select()
Simulates a user selecting this fixture's item. |
JPopupMenuFixture |
showPopupMenu()
Shows a pop-up menu using this fixture's item as the invoker of the pop-up menu. |
String |
value()
Returns the String representation of this fixture's item, or null if one can not be
obtained. |
Methods inherited from interface org.fest.swing.fixture.MouseInputSimulationFixture |
---|
click, click, click, doubleClick, rightClick |
Method Detail |
---|
ItemFixture select()
IllegalStateException
- if the component containing this fixture's item is disabled.
IllegalStateException
- if the component containing this fixture's item is not showing on the screen.String value()
String
representation of this fixture's item, or null
if one can not be
obtained.
String
representation of this fixture's item.ItemFixture drag()
IllegalStateException
- if the component containing this fixture's item is disabled.
IllegalStateException
- if the component containing this fixture's item is not showing on the screen.ItemFixture drop()
IllegalStateException
- if the component containing this fixture's item is disabled.
IllegalStateException
- if the component containing this fixture's item is not showing on the screen.
ActionFailedException
- if there is no drag action in effect.JPopupMenuFixture showPopupMenu()
IllegalStateException
- if the component containing this fixture's item is disabled.
IllegalStateException
- if the component containing this fixture's item is not showing on the screen.
ComponentLookupException
- if a pop-up menu cannot be found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |