public class OracleFormsMenu extends OracleFormsContainer implements IOracleFormsMenuBase
Modifier | Constructor and Description |
---|---|
protected |
OracleFormsMenu(JtfObjectHandle handle,
Desktop desktop)
Creates a new OracleFormsMenu 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.
|
boolean |
isChecked()
Gets whether the MenuItem is checked.
|
boolean |
isChecked(ItemPath item)
a value that indicates whether the MenuItem is checked.
|
boolean |
isChecked(String item)
a value that indicates whether the MenuItem is checked.
|
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.
|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAccessibleName, getAccessibleRole, getBackground, getCursor, getFont, getForeground, getHeight, getName, getNativeHandle, getWidth, isEnabled, isFocusable, isFocused, mouseMove, mouseMove, openContextMenu, openContextMenu, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, scrollIntoView, setFocus, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeys
captureBitmap, 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, waitForProperty
equals, 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, toString
protected OracleFormsMenu(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the OracleFormsMenudesktop
- 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 boolean isChecked(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 boolean isChecked(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)
.
public boolean isChecked()
isChecked
in interface IOracleFormsMenuBase
Copyright 2009-2012 Micro Focus. All Rights Reserved.