public class ActionNoBlock extends Action
This class re-implements all blocking calls from parent Action class to non-blocking call.
ActionAction.ShortcutAFTER_ACTION_WAIT_TIME, API_MODE, keystrokes, layerInstancePath, MENU_MODE, menuPath, POPUP_MODE, popupPath, SELECTION_WAIT_TIME, SHORTCUT_MODE, systemActionClass, WAIT_AFTER_SHORTCUT_TIMEOUT| Constructor and Description |
|---|
ActionNoBlock(String menuPath,
String popupPath)
creates new non-blocking Action instance without API_MODE support
|
ActionNoBlock(String menuPath,
String popupPath,
Action.Shortcut shortcut)
Deprecated.
|
ActionNoBlock(String menuPath,
String popupPath,
Action.Shortcut[] shortcuts)
Deprecated.
|
ActionNoBlock(String menuPath,
String popupPath,
KeyStroke keystroke)
Creates new ActionNoBlock instance without API_MODE support.
|
ActionNoBlock(String menuPath,
String popupPath,
KeyStroke[] keystrokes)
Creates new ActionNoBlock instance without API_MODE support.
|
ActionNoBlock(String menuPath,
String popupPath,
String systemActionClass)
creates new non-blocking Action instance
|
ActionNoBlock(String menuPath,
String popupPath,
String systemActionClass,
Action.Shortcut shortcut)
Deprecated.
|
ActionNoBlock(String menuPath,
String popupPath,
String systemActionClass,
Action.Shortcut[] shortcuts)
Deprecated.
|
ActionNoBlock(String menuPath,
String popupPath,
String systemActionClass,
KeyStroke keystroke)
Creates new ActionNoBlock instance.
|
ActionNoBlock(String menuPath,
String popupPath,
String systemActionClass,
KeyStroke[] keystrokes)
Creates new ActionNoBlock instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
performAPI()
performs action through API
|
void |
performMenu()
performs action through main menu
|
void |
performPopup(org.netbeans.jemmy.operators.ComponentOperator component)
performs action through popup menu
|
void |
performPopup(Node[] nodes)
performs action through popup menu
|
void |
performPopup(OutlineNode node)
performs action through popup menu
|
void |
performShortcut()
performs action through shortcut
|
getComparator, getDefaultMode, getKeyStrokes, getMenuPath, getPopupPath, getSystemActionClass, isEnabled, isEnabled, isEnabled, isEnabled, perform, perform, perform, perform, perform, performAPI, performAPI, performAPI, performAPI, performMenu, performMenu, performMenu, performMenu, performPopup, performPopup, performShortcut, performShortcut, performShortcut, performShortcut, setComparator, setDefaultMode, testNodespublic ActionNoBlock(String menuPath, String popupPath)
menuPath - action path in main menu (use null value if menu mode is not supported)popupPath - action path in popup menu (use null value if popup mode shell is not supported)public ActionNoBlock(String menuPath, String popupPath, String systemActionClass)
menuPath - action path in main menu (use null value if menu mode is not supported)popupPath - action path in popup menu (use null value if popup mode is not supported)systemActionClass - String class name of SystemAction (use null value if API mode is not supported)public ActionNoBlock(String menuPath, String popupPath, Action.Shortcut[] shortcuts)
ActionNoBlock(String menuPath, String popupPath, KeyStroke[] keystrokes) instead.shortcuts - array of Shortcut instances (use null value if shortcut mode is not supported)menuPath - action path in main menu (use null value if menu mode is not supported)popupPath - action path in popup menu (use null value if popup mode shell is not supported)public ActionNoBlock(String menuPath, String popupPath, Action.Shortcut shortcut)
ActionNoBlock(String menuPath, String popupPath, KeyStroke keystroke) instead.shortcut - Shortcut (use null value if shortcut mode is not supported)menuPath - action path in main menu (use null value if menu mode is not supported)popupPath - action path in popup menu (use null value if popup mode shell is not supported)public ActionNoBlock(String menuPath, String popupPath, String systemActionClass, Action.Shortcut[] shortcuts)
ActionNoBlock(String menuPath, String popupPath, String systemActionClass, KeyStroke[] keystrokes) instead.shortcuts - array of Shortcut instances (use null value if shortcut mode is not supported)menuPath - action path in main menu (use null value if menu mode is not supported)popupPath - action path in popup menu (use null value if popup mode is not supported)systemActionClass - String class name of SystemAction (use null value if API mode is not supported)public ActionNoBlock(String menuPath, String popupPath, String systemActionClass, Action.Shortcut shortcut)
ActionNoBlock(String menuPath, String popupPath, String systemActionClass, KeyStroke keystroke) instead.shortcut - Shortcut String (use null value if menu mode is not supported)menuPath - action path in main menu (use null value if menu mode is not supported)popupPath - action path in popup menu (use null value if popup mode is not supported)systemActionClass - String class name of SystemAction (use null value if API mode is not supported)public ActionNoBlock(String menuPath, String popupPath, KeyStroke keystroke)
keystroke - KeyStroke instance (use null value if shorcut mode is not supported)menuPath - action path in main menu (use null value if menu mode is not supported)popupPath - action path in popup menu (use null value if popup mode shell is not supported)public ActionNoBlock(String menuPath, String popupPath, KeyStroke[] keystrokes)
keystrokes - array of KeyStroke instances (use null value if shorcut mode is not supported)menuPath - action path in main menu (use null value if menu mode is not supported)popupPath - action path in popup menu (use null value if popup mode shell is not supported)public ActionNoBlock(String menuPath, String popupPath, String systemActionClass, KeyStroke keystroke)
keystroke - KeyStroke instance (use null value if shorcut mode is not supported)menuPath - action path in main menu (use null value if menu mode is not supported)popupPath - action path in popup menu (use null value if popup mode is not supported)systemActionClass - String class name of SystemAction (use null value if API mode is not supported)public ActionNoBlock(String menuPath, String popupPath, String systemActionClass, KeyStroke[] keystrokes)
keystrokes - array of KeyStroke instances (use null value if shorcut mode is not supported)menuPath - action path in main menu (use null value if menu mode is not supported)popupPath - action path in popup menu (use null value if popup mode is not supported)systemActionClass - String class name of SystemAction (use null value if API mode is not supported)public void performMenu()
performMenu in class ActionUnsupportedOperationException - when action does not support menu modepublic void performPopup(Node[] nodes)
performPopup in class Actionnodes - nodes to be action performed onUnsupportedOperationException - when action does not support popup modepublic void performPopup(OutlineNode node)
performPopup in class Actionnode - node to be action performed onUnsupportedOperationException - when action does not support popup modepublic void performPopup(org.netbeans.jemmy.operators.ComponentOperator component)
performPopup in class Actioncomponent - component to be action performed onUnsupportedOperationException - when action does not support popup modepublic void performAPI()
performAPI in class ActionUnsupportedOperationException - when action does not support API modepublic void performShortcut()
performShortcut in class ActionUnsupportedOperationException - when action does not support shortcut modeBuilt on May 22 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.