public class OracleFormsTree extends OracleFormsContainer implements IOracleFormsScrollable
Modifier | Constructor and Description |
---|---|
protected |
OracleFormsTree(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 OracleFormsTree。
|
Modifier and Type | Method and Description |
---|---|
void |
clickItem(ItemPath item)
单击由项目路径指定的树节点。
|
void |
clickItem(ItemPath item,
int button)
单击由项目路径指定的树节点。
|
void |
clickItem(ItemPath item,
int button,
Point position)
单击由项目路径指定的树节点。
|
void |
clickItem(ItemPath item,
int button,
Point position,
ModifierKey modifiers)
单击由项目路径指定的树节点。
|
void |
clickItem(String item)
单击由项目路径指定的树节点。
|
void |
clickItem(String item,
int button)
单击由项目路径指定的树节点。
|
void |
clickItem(String item,
int button,
Point position)
单击由项目路径指定的树节点。
|
void |
clickItem(String item,
int button,
Point position,
ModifierKey modifiers)
单击由项目路径指定的树节点。
|
void |
collapse(ItemPath item)
折叠由指定的项目路径确定的树节点。
|
void |
collapse(String item)
折叠由指定的项目路径确定的树节点。
|
void |
collapseAll()
折叠所有树节点。
|
void |
doubleClickItem(ItemPath item)
双击由项目路径指定的树节点。
|
void |
doubleClickItem(ItemPath item,
int button)
双击由项目路径指定的树节点。
|
void |
doubleClickItem(ItemPath item,
int button,
Point position)
双击由项目路径指定的树节点。
|
void |
doubleClickItem(ItemPath item,
int button,
Point position,
ModifierKey modifiers)
双击由项目路径指定的树节点。
|
void |
doubleClickItem(String item)
双击由项目路径指定的树节点。
|
void |
doubleClickItem(String item,
int button)
双击由项目路径指定的树节点。
|
void |
doubleClickItem(String item,
int button,
Point position)
双击由项目路径指定的树节点。
|
void |
doubleClickItem(String item,
int button,
Point position,
ModifierKey modifiers)
双击由项目路径指定的树节点。
|
void |
expand(ItemPath item)
展开由指定的项目路径确定的树节点。
|
void |
expand(String item)
展开由指定的项目路径确定的树节点。
|
void |
expandAll()
展开所有树节点。
|
OracleFormsHorizontalScrollbar |
getHorizontalScrollbar()
获取水平滚动条。
|
int |
getHorizontalScrollbarPageSize()
获取 滚动条的块增量值。
|
int |
getHorizontalScrollbarPosition()
获取 滚动条的当前位置。
|
Range |
getHorizontalScrollbarRange()
获取 滚动条的范围值。
|
int |
getHorizontalScrollbarStepSize()
获取 滚动条的单位增量值。
|
ItemPath |
getSelectedItemPath()
获取 所选项目路径的列表。
|
String |
getSelectedItemText()
获取 所选项目文本。
|
OracleFormsVerticalScrollbar |
getVerticalScrollbar()
获取垂直滚动条。
|
int |
getVerticalScrollbarPageSize()
获取 滚动条的块增量值。
|
int |
getVerticalScrollbarPosition()
获取 滚动条的当前位置。
|
Range |
getVerticalScrollbarRange()
获取 滚动条的范围值。
|
int |
getVerticalScrollbarStepSize()
获取 滚动条的单位增量值。
|
void |
horizontalScrollbarPage(int pageCount)
将当前滚动位置增加指定页数。
|
void |
horizontalScrollbarScrollTo(int position)
滚动至指定位置。
|
void |
horizontalScrollbarScrollToMax()
滚动至滚动条的最大位置。
|
void |
horizontalScrollbarScrollToMin()
滚动至滚动条的最小位置。
|
void |
horizontalScrollbarStep(int stepCount)
将当前滚动位置增加指定步长数。
|
boolean |
isExpanded(ItemPath item)
如果展开指定的项目路径,则返回“ture”。
|
boolean |
isExpanded(String item)
如果展开指定的项目路径,则返回“ture”。
|
boolean |
isVisible(ItemPath item)
如果指定的项目路径可见,则返回“true”。
|
boolean |
isVisible(String item)
如果指定的项目路径可见,则返回“true”。
|
void |
scrollItemIntoView(ItemPath item)
滚动指定项目路径至可见位置。
|
void |
scrollItemIntoView(String item)
滚动指定项目路径至可见位置。
|
void |
select(ItemPath item)
选择由指定的项目路径确定的树节点。
|
void |
select(String item)
选择由指定的项目路径确定的树节点。
|
void |
verticalScrollbarPage(int pageCount)
将当前滚动位置增加指定页数。
|
void |
verticalScrollbarScrollTo(int position)
滚动至指定位置。
|
void |
verticalScrollbarScrollToMax()
滚动至滚动条的最大位置。
|
void |
verticalScrollbarScrollToMin()
滚动至滚动条的最小位置。
|
void |
verticalScrollbarStep(int stepCount)
将当前滚动位置增加指定步长数。
|
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
- 可确定 OracleFormsTree 的句柄desktop
- 此对象所在的桌面public void clickItem(ItemPath item)
item
- 可单击的项目路径public void clickItem(ItemPath item, int button)
item
- 可单击的项目路径button
- 用于单击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。public void clickItem(ItemPath item, int button, Point position)
item
- 可单击的项目路径button
- 用于单击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。position
- 可单击的位置。如果省略位置,则单击树节点中心。public void clickItem(ItemPath item, int button, Point position, ModifierKey modifiers)
item
- 可单击的项目路径button
- 用于单击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。position
- 可单击的位置。如果省略位置,则单击树节点中心。modifiers
- 单击树节点时可按的修饰键(Alt、Shift 和 Ctrl)。默认:不使用修饰键。public void clickItem(String item)
item
- 可单击的项目路径. E.g: /Games/Applications[2]/[0]有关详细信息,请参见 ItemPath.ItemPath(String)
。
public void clickItem(String item, int button)
item
- 可单击的项目路径. E.g: /Games/Applications[2]/[0]有关详细信息,请参见 ItemPath.ItemPath(String)
。
button
- 用于单击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。public void clickItem(String item, int button, Point position)
item
- 可单击的项目路径. E.g: /Games/Applications[2]/[0]有关详细信息,请参见 ItemPath.ItemPath(String)
。
button
- 用于单击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。position
- 可单击的位置。如果省略位置,则单击树节点中心。public void clickItem(String item, int button, Point position, ModifierKey modifiers)
item
- 可单击的项目路径. E.g: /Games/Applications[2]/[0]有关详细信息,请参见 ItemPath.ItemPath(String)
。
button
- 用于单击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。position
- 可单击的位置。如果省略位置,则单击树节点中心。modifiers
- 单击树节点时可按的修饰键(Alt、Shift 和 Ctrl)。默认:不使用修饰键。public void collapse(ItemPath item)
item
- 项目路径public void collapse(String item)
item
- 项目路径. E.g: /Games/Applications[2]/[0]有关详细信息,请参见 ItemPath.ItemPath(String)
。
public void collapseAll()
public void doubleClickItem(ItemPath item)
item
- 可双击的项目路径public void doubleClickItem(ItemPath item, int button)
item
- 可双击的项目路径button
- 用于双击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。public void doubleClickItem(ItemPath item, int button, Point position)
item
- 可双击的项目路径button
- 用于双击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。position
- 可双击的位置。如果省略位置,则双击树节点中心。public void doubleClickItem(ItemPath item, int button, Point position, ModifierKey modifiers)
item
- 可双击的项目路径button
- 用于双击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。position
- 可双击的位置。如果省略位置,则双击树节点中心。modifiers
- 双击树节点时可按的修饰键(Alt、Shift 和 Ctrl)。默认:不使用修饰键。public void doubleClickItem(String item)
item
- 可双击的项目路径. E.g: /Games/Applications[2]/[0]有关详细信息,请参见 ItemPath.ItemPath(String)
。
public void doubleClickItem(String item, int button)
item
- 可双击的项目路径. E.g: /Games/Applications[2]/[0]有关详细信息,请参见 ItemPath.ItemPath(String)
。
button
- 用于双击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。public void doubleClickItem(String item, int button, Point position)
item
- 可双击的项目路径. E.g: /Games/Applications[2]/[0]有关详细信息,请参见 ItemPath.ItemPath(String)
。
button
- 用于双击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。position
- 可双击的位置。如果省略位置,则双击树节点中心。public void doubleClickItem(String item, int button, Point position, ModifierKey modifiers)
item
- 可双击的项目路径. E.g: /Games/Applications[2]/[0]有关详细信息,请参见 ItemPath.ItemPath(String)
。
button
- 用于双击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。position
- 可双击的位置。如果省略位置,则双击树节点中心。modifiers
- 双击树节点时可按的修饰键(Alt、Shift 和 Ctrl)。默认:不使用修饰键。public void expand(ItemPath item)
item
- 项目路径public void expand(String item)
item
- 项目路径. E.g: /Games/Applications[2]/[0]有关详细信息,请参见 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
- 可增加的页数public void horizontalScrollbarScrollTo(int position)
horizontalScrollbarScrollTo
in interface IOracleFormsScrollable
position
- 可滚动到的位置public void horizontalScrollbarScrollToMax()
horizontalScrollbarScrollToMax
in interface IOracleFormsScrollable
public void horizontalScrollbarScrollToMin()
horizontalScrollbarScrollToMin
in interface IOracleFormsScrollable
public void horizontalScrollbarStep(int stepCount)
horizontalScrollbarStep
in interface IOracleFormsScrollable
stepCount
- 可增加的步长数public boolean isExpanded(ItemPath item)
item
- 项目路径public boolean isExpanded(String item)
item
- 项目路径. E.g: /Games/Applications[2]/[0]有关详细信息,请参见 ItemPath.ItemPath(String)
。
public boolean isVisible(ItemPath item)
item
- 项目路径public boolean isVisible(String item)
item
- 项目路径. E.g: /Games/Applications[2]/[0]有关详细信息,请参见 ItemPath.ItemPath(String)
。
public void scrollItemIntoView(ItemPath item)
item
- 项目路径public void scrollItemIntoView(String item)
item
- 项目路径. E.g: /Games/Applications[2]/[0]有关详细信息,请参见 ItemPath.ItemPath(String)
。
public void select(ItemPath item)
item
- 项目路径public void select(String item)
item
- 项目路径. E.g: /Games/Applications[2]/[0]有关详细信息,请参见 ItemPath.ItemPath(String)
。
public void verticalScrollbarPage(int pageCount)
verticalScrollbarPage
in interface IOracleFormsScrollable
pageCount
- 可增加的页数public void verticalScrollbarScrollTo(int position)
verticalScrollbarScrollTo
in interface IOracleFormsScrollable
position
- 可滚动到的位置public void verticalScrollbarScrollToMax()
verticalScrollbarScrollToMax
in interface IOracleFormsScrollable
public void verticalScrollbarScrollToMin()
verticalScrollbarScrollToMin
in interface IOracleFormsScrollable
public void verticalScrollbarStep(int stepCount)
verticalScrollbarStep
in interface IOracleFormsScrollable
stepCount
- 可增加的步长数public 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.