public class WPFMenuBase extends WPFItemsControl
| Modifier | Constructor and Description |
|---|---|
protected |
WPFMenuBase(JtfObjectHandle handle,
Desktop desktop)
Creates a new WPFMenuBase with a JtfObjectHandle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
check(ItemPath item)
Checks a menu item.
|
void |
check(String item)
Checks a menu item.
|
void |
select(ItemPath item)
Selects a menu item.
|
void |
select(String item)
Selects a menu item.
|
void |
uncheck(ItemPath item)
Unchecks a menu item.
|
void |
uncheck(String item)
Unchecks a menu item.
|
getItems, getItemTexts, hasItems, isTextSearchEnabledgetFontFamily, getFontSize, getTabIndex, isTabStopgetActualHeight, getActualWidth, getMaximumScrollPosition, getName, getScrollPosition, pointFromScreen, pointToScreen, scroll, scrollToPositionbringIntoView, click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getToolTip, isEnabled, isFocused, mouseMove, mouseMove, openContextMenu, openContextMenu, openContextMenuSelect, openContextMenuSelect, openContextMenuSelect, openContextMenuSelect, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setFocus, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeyscaptureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getText, getValue, highlightObject, highlightObject, highlightObject, invokeMethods, textCapture, textCapture, textClick, textClick, textClick, textClick, textClick, textClick, textExists, textExists, textExists, textExists, textExists, textRectangle, textRectangle, textRectangle, textRectangle, textRectangle, waitForChildDisappearance, waitForChildDisappearance, waitForDisappearance, waitForDisappearance, waitForObject, waitForObject, waitForProperty, waitForPropertyequals, exists, find, find, findAll, findAll, getCustomTypeName, getDesktop, getHandle, getLocator, getProperty, getTypeName, hashCode, imageClick, imageClick, imageClick, imageClick, imageClick, imageClick, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageExists, imageExists, imageExists, imageExistsFile, imageExistsFile, imageExistsFile, imageRectangle, imageRectangle, imageRectangle, imageRectangleFile, imageRectangleFile, imageRectangleFile, invoke, preventFinalLocator, setProperty, toStringprotected WPFMenuBase(JtfObjectHandle handle, Desktop desktop)
handle - the handle that identifies the WPFMenuBasedesktop - the desktop on which this object livespublic void check(ItemPath item)
item - the menu item to check. Can be either a top-level menu item or a menu item that can be found in a submenu. For checking a menu item from a submenu separate the menu item names with a slash. The item can contain the wildcards '?' (matches one character) or '*' (matches 0 to many characters).public void check(String item)
item - the menu item to check. Can be either a top-level menu item or a menu item that can be found in a submenu. For checking a menu item from a submenu separate the menu item names with a slash. The item can contain the wildcards '?' (matches one character) or '*' (matches 0 to many characters).. E.g: /Games/Applications[2]/[0]For details see ItemPath.ItemPath(String).
public void select(ItemPath item)
item - the menu item to select. Can be either a top-level menu item or a menu item that can be found in a submenu. For selecting a menu item from a submenu separate the menu item names with a slash. The item can contain the wildcards '?' (matches one character) or '*' (matches 0 to many characters).public void select(String item)
item - the menu item to select. Can be either a top-level menu item or a menu item that can be found in a submenu. For selecting a menu item from a submenu separate the menu item names with a slash. The item can contain the wildcards '?' (matches one character) or '*' (matches 0 to many characters).. E.g: /Games/Applications[2]/[0]For details see ItemPath.ItemPath(String).
public void uncheck(ItemPath item)
item - the menu item to uncheck. Can be either a top-level menu item or a menu item that can be found in a submenu. For unchecking a menu item from a submenu separate the menu item names with a slash. The item can contain the wildcards '?' (matches one character) or '*' (matches 0 to many characters).public void uncheck(String item)
item - the menu item to uncheck. Can be either a top-level menu item or a menu item that can be found in a submenu. For unchecking a menu item from a submenu separate the menu item names with a slash. The item can contain the wildcards '?' (matches one character) or '*' (matches 0 to many characters).. E.g: /Games/Applications[2]/[0]For details see ItemPath.ItemPath(String).
Copyright 2009-2012 Micro Focus. All Rights Reserved.