public interface ItemFixture extends MouseInputSimulationFixture
JTable or a row in a
JList):
Component.| Modifier and Type | Method and Description |
|---|---|
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. |
click, click, click, doubleClick, rightClickItemFixture 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.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.