Package org.netbeans.jemmy.drivers.menus
Class QueueJMenuDriver
java.lang.Object
org.netbeans.jemmy.drivers.LightSupportiveDriver
org.netbeans.jemmy.drivers.menus.QueueJMenuDriver
- All Implemented Interfaces:
LightDriver
,MenuDriver
100% stable menu driver.
Tries to do next steps during one action executed through EventQueue:
find showing window containing popup
find showing popup
find showing menuitem
enter mouse into it
Repeats this action as many times as "JMenuOperator.WaitPopupTimeout" timeout allows.
find showing window containing popup
find showing popup
find showing menuitem
enter mouse into it
Repeats this action as many times as "JMenuOperator.WaitPopupTimeout" timeout allows.
- Author:
- Alexandre Iline (alexandre.iline@sun.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpushMenu
(ComponentOperator oper, PathChooser chooser) Pushes menu.Methods inherited from class org.netbeans.jemmy.drivers.LightSupportiveDriver
checkSupported, getSupported
-
Constructor Details
-
QueueJMenuDriver
public QueueJMenuDriver()
-
-
Method Details
-
pushMenu
Description copied from interface:MenuDriver
Pushes menu.- Specified by:
pushMenu
in interfaceMenuDriver
- Parameters:
oper
- Menu operator.chooser
- Object defining menupath.- Returns:
- a result of menu pushing. It could be last pushed menuitem or anything else.
-