public class OracleFormsTree extends OracleFormsContainer implements IOracleFormsScrollable
Modifier | Constructor and Description |
---|---|
protected |
OracleFormsTree(JtfObjectHandle handle,
Desktop desktop)
Creates a new OracleFormsTree with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
void |
clickItem(ItemPath item)
Clicks on a tree node specified by the item path.
|
void |
clickItem(ItemPath item,
int button)
Clicks on a tree node specified by the item path.
|
void |
clickItem(ItemPath item,
int button,
Point position)
Clicks on a tree node specified by the item path.
|
void |
clickItem(ItemPath item,
int button,
Point position,
ModifierKey modifiers)
Clicks on a tree node specified by the item path.
|
void |
clickItem(String item)
Clicks on a tree node specified by the item path.
|
void |
clickItem(String item,
int button)
Clicks on a tree node specified by the item path.
|
void |
clickItem(String item,
int button,
Point position)
Clicks on a tree node specified by the item path.
|
void |
clickItem(String item,
int button,
Point position,
ModifierKey modifiers)
Clicks on a tree node specified by the item path.
|
void |
collapse(ItemPath item)
Collapses the tree node identified by the specified item path.
|
void |
collapse(String item)
Collapses the tree node identified by the specified item path.
|
void |
collapseAll()
Collapses all tree nodes.
|
void |
doubleClickItem(ItemPath item)
Double-clicks on a tree node specified by the item path.
|
void |
doubleClickItem(ItemPath item,
int button)
Double-clicks on a tree node specified by the item path.
|
void |
doubleClickItem(ItemPath item,
int button,
Point position)
Double-clicks on a tree node specified by the item path.
|
void |
doubleClickItem(ItemPath item,
int button,
Point position,
ModifierKey modifiers)
Double-clicks on a tree node specified by the item path.
|
void |
doubleClickItem(String item)
Double-clicks on a tree node specified by the item path.
|
void |
doubleClickItem(String item,
int button)
Double-clicks on a tree node specified by the item path.
|
void |
doubleClickItem(String item,
int button,
Point position)
Double-clicks on a tree node specified by the item path.
|
void |
doubleClickItem(String item,
int button,
Point position,
ModifierKey modifiers)
Double-clicks on a tree node specified by the item path.
|
void |
expand(ItemPath item)
Expands the tree node identified by the specified item path.
|
void |
expand(String item)
Expands the tree node identified by the specified item path.
|
void |
expandAll()
Expands all tree nodes.
|
OracleFormsHorizontalScrollbar |
getHorizontalScrollbar()
Gets the horizontal scroll bar.
|
int |
getHorizontalScrollbarPageSize()
Gets the block increment value of the scroll bar.
|
int |
getHorizontalScrollbarPosition()
Gets the current position of the scroll bar.
|
Range |
getHorizontalScrollbarRange()
Gets the range value of the scroll bar.
|
int |
getHorizontalScrollbarStepSize()
Gets the unit increment value of the scroll bar.
|
ItemPath |
getSelectedItemPath()
Gets the list of selected item path.
|
String |
getSelectedItemText()
Gets the selected item text.
|
OracleFormsVerticalScrollbar |
getVerticalScrollbar()
Gets the vertical scroll bar.
|
int |
getVerticalScrollbarPageSize()
Gets the block increment value of the scroll bar.
|
int |
getVerticalScrollbarPosition()
Gets the current position of the scroll bar.
|
Range |
getVerticalScrollbarRange()
Gets the range value of the scroll bar.
|
int |
getVerticalScrollbarStepSize()
Gets the unit increment value of the scroll bar.
|
void |
horizontalScrollbarPage(int pageCount)
Increments the current scroll position by specified number of pages.
|
void |
horizontalScrollbarScrollTo(int position)
Scrolls to the specified position.
|
void |
horizontalScrollbarScrollToMax()
Scrolls to the maximum position of the scroller.
|
void |
horizontalScrollbarScrollToMin()
Scrolls to the minimum position of the scroller.
|
void |
horizontalScrollbarStep(int stepCount)
Increments the current scroll position by specified steps.
|
boolean |
isExpanded(ItemPath item)
Returns 'true' if the specified item path is expanded.
|
boolean |
isExpanded(String item)
Returns 'true' if the specified item path is expanded.
|
boolean |
isVisible(ItemPath item)
Returns 'true' if the specified item path is visible.
|
boolean |
isVisible(String item)
Returns 'true' if the specified item path is visible.
|
void |
scrollItemIntoView(ItemPath item)
Scrolls the given item path to a visible position.
|
void |
scrollItemIntoView(String item)
Scrolls the given item path to a visible position.
|
void |
select(ItemPath item)
Selects a tree node identified by the specified item path.
|
void |
select(String item)
Selects a tree node identified by the specified item path.
|
void |
verticalScrollbarPage(int pageCount)
Increments the current scroll position by specified number of pages.
|
void |
verticalScrollbarScrollTo(int position)
Scrolls to the specified position.
|
void |
verticalScrollbarScrollToMax()
Scrolls to the maximum position of the scroller.
|
void |
verticalScrollbarScrollToMin()
Scrolls to the minimum position of the scroller.
|
void |
verticalScrollbarStep(int stepCount)
Increments the current scroll position by specified steps.
|
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 OracleFormsTree(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the OracleFormsTreedesktop
- the desktop on which this object livespublic void clickItem(ItemPath item)
item
- the path of the item to click onpublic void clickItem(ItemPath item, int button)
item
- the path of the item to click onbutton
- the button used for clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).public void clickItem(ItemPath item, int button, Point position)
item
- the path of the item to click onbutton
- the button used for clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).position
- the position to click. If the position is omitted, the click is done in the center of the tree node.public void clickItem(ItemPath item, int button, Point position, ModifierKey modifiers)
item
- the path of the item to click onbutton
- the button used for clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).position
- the position to click. If the position is omitted, the click is done in the center of the tree node.modifiers
- the modifier keys (Alt, Shift and Ctrl) to press while clicking the tree node. Default: Don't use modifier keys.public void clickItem(String item)
item
- the path of the item to click on. E.g: /Games/Applications[2]/[0]For details see ItemPath.ItemPath(String)
.
public void clickItem(String item, int button)
item
- the path of the item to click on. E.g: /Games/Applications[2]/[0]For details see ItemPath.ItemPath(String)
.
button
- the button used for clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).public void clickItem(String item, int button, Point position)
item
- the path of the item to click on. E.g: /Games/Applications[2]/[0]For details see ItemPath.ItemPath(String)
.
button
- the button used for clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).position
- the position to click. If the position is omitted, the click is done in the center of the tree node.public void clickItem(String item, int button, Point position, ModifierKey modifiers)
item
- the path of the item to click on. E.g: /Games/Applications[2]/[0]For details see ItemPath.ItemPath(String)
.
button
- the button used for clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).position
- the position to click. If the position is omitted, the click is done in the center of the tree node.modifiers
- the modifier keys (Alt, Shift and Ctrl) to press while clicking the tree node. Default: Don't use modifier keys.public void collapse(ItemPath item)
item
- the item pathpublic void collapse(String item)
item
- the item path. E.g: /Games/Applications[2]/[0]For details see ItemPath.ItemPath(String)
.
public void collapseAll()
public void doubleClickItem(ItemPath item)
item
- the path of the item to double-click onpublic void doubleClickItem(ItemPath item, int button)
item
- the path of the item to double-click onbutton
- the button used for double-clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).public void doubleClickItem(ItemPath item, int button, Point position)
item
- the path of the item to double-click onbutton
- the button used for double-clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).position
- the position to double-click. If the position is omitted, the double-click is done in the center of the tree node.public void doubleClickItem(ItemPath item, int button, Point position, ModifierKey modifiers)
item
- the path of the item to double-click onbutton
- the button used for double-clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).position
- the position to double-click. If the position is omitted, the double-click is done in the center of the tree node.modifiers
- the modifier keys (Alt, Shift and Ctrl) to press while double-clicking the tree node. Default: Don't use modifier keys.public void doubleClickItem(String item)
item
- the path of the item to double-click on. E.g: /Games/Applications[2]/[0]For details see ItemPath.ItemPath(String)
.
public void doubleClickItem(String item, int button)
item
- the path of the item to double-click on. E.g: /Games/Applications[2]/[0]For details see ItemPath.ItemPath(String)
.
button
- the button used for double-clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).public void doubleClickItem(String item, int button, Point position)
item
- the path of the item to double-click on. E.g: /Games/Applications[2]/[0]For details see ItemPath.ItemPath(String)
.
button
- the button used for double-clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).position
- the position to double-click. If the position is omitted, the double-click is done in the center of the tree node.public void doubleClickItem(String item, int button, Point position, ModifierKey modifiers)
item
- the path of the item to double-click on. E.g: /Games/Applications[2]/[0]For details see ItemPath.ItemPath(String)
.
button
- the button used for double-clicking. Valid values are: left (=1, the default value), right (=2), middle (=3).position
- the position to double-click. If the position is omitted, the double-click is done in the center of the tree node.modifiers
- the modifier keys (Alt, Shift and Ctrl) to press while double-clicking the tree node. Default: Don't use modifier keys.public void expand(ItemPath item)
item
- the item pathpublic void expand(String item)
item
- the item path. E.g: /Games/Applications[2]/[0]For details see ItemPath.ItemPath(String)
.
public void expandAll()
public OracleFormsHorizontalScrollbar getHorizontalScrollbar()
getHorizontalScrollbar
in interface IOracleFormsScrollable
public OracleFormsVerticalScrollbar getVerticalScrollbar()
getVerticalScrollbar
in interface IOracleFormsScrollable
public void horizontalScrollbarPage(int pageCount)
horizontalScrollbarPage
in interface IOracleFormsScrollable
pageCount
- the number of pages to incrementpublic void horizontalScrollbarScrollTo(int position)
horizontalScrollbarScrollTo
in interface IOracleFormsScrollable
position
- the position to scroll topublic void horizontalScrollbarScrollToMax()
horizontalScrollbarScrollToMax
in interface IOracleFormsScrollable
public void horizontalScrollbarScrollToMin()
horizontalScrollbarScrollToMin
in interface IOracleFormsScrollable
public void horizontalScrollbarStep(int stepCount)
horizontalScrollbarStep
in interface IOracleFormsScrollable
stepCount
- the number of steps to incrementpublic boolean isExpanded(ItemPath item)
item
- the item pathpublic boolean isExpanded(String item)
item
- the item path. E.g: /Games/Applications[2]/[0]For details see ItemPath.ItemPath(String)
.
public boolean isVisible(ItemPath item)
item
- the item pathpublic boolean isVisible(String item)
item
- the item path. E.g: /Games/Applications[2]/[0]For details see ItemPath.ItemPath(String)
.
public void scrollItemIntoView(ItemPath item)
item
- the item pathpublic void scrollItemIntoView(String item)
item
- the item path. E.g: /Games/Applications[2]/[0]For details see ItemPath.ItemPath(String)
.
public void select(ItemPath item)
item
- the item pathpublic void select(String item)
item
- the item path. E.g: /Games/Applications[2]/[0]For details see ItemPath.ItemPath(String)
.
public void verticalScrollbarPage(int pageCount)
verticalScrollbarPage
in interface IOracleFormsScrollable
pageCount
- the number of pages to incrementpublic void verticalScrollbarScrollTo(int position)
verticalScrollbarScrollTo
in interface IOracleFormsScrollable
position
- the position to scroll topublic void verticalScrollbarScrollToMax()
verticalScrollbarScrollToMax
in interface IOracleFormsScrollable
public void verticalScrollbarScrollToMin()
verticalScrollbarScrollToMin
in interface IOracleFormsScrollable
public void verticalScrollbarStep(int stepCount)
verticalScrollbarStep
in interface IOracleFormsScrollable
stepCount
- the number of steps to incrementpublic int getHorizontalScrollbarPageSize()
getHorizontalScrollbarPageSize
in interface IOracleFormsScrollable
public int getHorizontalScrollbarPosition()
getHorizontalScrollbarPosition
in interface IOracleFormsScrollable
public Range getHorizontalScrollbarRange()
getHorizontalScrollbarRange
in interface IOracleFormsScrollable
public int getHorizontalScrollbarStepSize()
getHorizontalScrollbarStepSize
in interface IOracleFormsScrollable
public ItemPath getSelectedItemPath()
public String getSelectedItemText()
public int getVerticalScrollbarPageSize()
getVerticalScrollbarPageSize
in interface IOracleFormsScrollable
public int getVerticalScrollbarPosition()
getVerticalScrollbarPosition
in interface IOracleFormsScrollable
public Range getVerticalScrollbarRange()
getVerticalScrollbarRange
in interface IOracleFormsScrollable
public int getVerticalScrollbarStepSize()
getVerticalScrollbarStepSize
in interface IOracleFormsScrollable
Copyright 2009-2012 Micro Focus. All Rights Reserved.