public class OracleFormsListBox extends OracleFormsChoice implements IOracleFormsScrollable
Modifier | Constructor and Description |
---|---|
protected |
OracleFormsListBox(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 OracleFormsListBox。
|
Modifier and Type | Method and Description |
---|---|
void |
clickItem(int itemIndex)
单击指定的列表项目。
|
void |
clickItem(int itemIndex,
int button)
单击指定的列表项目。
|
void |
clickItem(int itemIndex,
int button,
Point position)
单击指定的列表项目。
|
void |
clickItem(int itemIndex,
int button,
Point position,
ModifierKey modifiers)
单击指定的列表项目。
|
void |
clickItem(ItemIdentifier item)
单击指定的列表项目。
|
void |
clickItem(ItemIdentifier item,
int button)
单击指定的列表项目。
|
void |
clickItem(ItemIdentifier item,
int button,
Point position)
单击指定的列表项目。
|
void |
clickItem(ItemIdentifier item,
int button,
Point position,
ModifierKey modifiers)
单击指定的列表项目。
|
void |
clickItem(String itemText)
单击指定的列表项目。
|
void |
clickItem(String itemText,
int button)
单击指定的列表项目。
|
void |
clickItem(String itemText,
int button,
Point position)
单击指定的列表项目。
|
void |
clickItem(String itemText,
int button,
Point position,
ModifierKey modifiers)
单击指定的列表项目。
|
void |
doubleClickItem(int itemIndex)
双击列表项目。
|
void |
doubleClickItem(int itemIndex,
int button)
双击列表项目。
|
void |
doubleClickItem(int itemIndex,
int button,
Point position)
双击列表项目。
|
void |
doubleClickItem(int itemIndex,
int button,
Point position,
ModifierKey modifiers)
双击列表项目。
|
void |
doubleClickItem(ItemIdentifier item)
双击列表项目。
|
void |
doubleClickItem(ItemIdentifier item,
int button)
双击列表项目。
|
void |
doubleClickItem(ItemIdentifier item,
int button,
Point position)
双击列表项目。
|
void |
doubleClickItem(ItemIdentifier item,
int button,
Point position,
ModifierKey modifiers)
双击列表项目。
|
void |
doubleClickItem(String itemText)
双击列表项目。
|
void |
doubleClickItem(String itemText,
int button)
双击列表项目。
|
void |
doubleClickItem(String itemText,
int button,
Point position)
双击列表项目。
|
void |
doubleClickItem(String itemText,
int button,
Point position,
ModifierKey modifiers)
双击列表项目。
|
OracleFormsHorizontalScrollbar |
getHorizontalScrollbar()
获取水平滚动条。
|
int |
getHorizontalScrollbarPageSize()
获取 滚动条的块增量值。
|
int |
getHorizontalScrollbarPosition()
获取 滚动条的当前位置。
|
Range |
getHorizontalScrollbarRange()
获取 滚动条的范围值。
|
int |
getHorizontalScrollbarStepSize()
获取 滚动条的单位增量值。
|
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)
将当前滚动位置增加指定步长数。
|
void |
verticalScrollbarPage(int pageCount)
将当前滚动位置增加指定页数。
|
void |
verticalScrollbarScrollTo(int position)
滚动至指定位置。
|
void |
verticalScrollbarScrollToMax()
滚动至滚动条的最大位置。
|
void |
verticalScrollbarScrollToMin()
滚动至滚动条的最小位置。
|
void |
verticalScrollbarStep(int stepCount)
将当前滚动位置增加指定步长数。
|
getItemCount, getItems, getItemText, getSelectedIndex, getSelectedItem, select, select, select
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 OracleFormsListBox(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 OracleFormsListBox 的句柄desktop
- 此对象所在的桌面public void clickItem(ItemIdentifier item)
item
- 列表项目的名称或索引public void clickItem(ItemIdentifier item, int button)
item
- 列表项目的名称或索引button
- 用于单击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。public void clickItem(ItemIdentifier item, int button, Point position)
item
- 列表项目的名称或索引button
- 用于单击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。position
- 列表内的单击位置。(默认:列表项目的中心)public void clickItem(ItemIdentifier item, int button, Point position, ModifierKey modifiers)
item
- 列表项目的名称或索引button
- 用于单击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。position
- 列表内的单击位置。(默认:列表项目的中心)modifiers
- 可在单击列表项目时按下的修饰键(Alt、Shift 和 Ctrl)。使用修饰键单击多个列表项目。默认:不使用修饰键。public void clickItem(String itemText)
itemText
- 列表项目的名称或索引public void clickItem(String itemText, int button)
itemText
- 列表项目的名称或索引button
- 用于单击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。public void clickItem(String itemText, int button, Point position)
itemText
- 列表项目的名称或索引button
- 用于单击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。position
- 列表内的单击位置。(默认:列表项目的中心)public void clickItem(String itemText, int button, Point position, ModifierKey modifiers)
itemText
- 列表项目的名称或索引button
- 用于单击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。position
- 列表内的单击位置。(默认:列表项目的中心)modifiers
- 可在单击列表项目时按下的修饰键(Alt、Shift 和 Ctrl)。使用修饰键单击多个列表项目。默认:不使用修饰键。public void clickItem(int itemIndex)
itemIndex
- 列表项目的名称或索引public void clickItem(int itemIndex, int button)
itemIndex
- 列表项目的名称或索引button
- 用于单击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。public void clickItem(int itemIndex, int button, Point position)
itemIndex
- 列表项目的名称或索引button
- 用于单击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。position
- 列表内的单击位置。(默认:列表项目的中心)public void clickItem(int itemIndex, int button, Point position, ModifierKey modifiers)
itemIndex
- 列表项目的名称或索引button
- 用于单击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。position
- 列表内的单击位置。(默认:列表项目的中心)modifiers
- 可在单击列表项目时按下的修饰键(Alt、Shift 和 Ctrl)。使用修饰键单击多个列表项目。默认:不使用修饰键。public void doubleClickItem(ItemIdentifier item)
item
- 列表项目的名称或索引public void doubleClickItem(ItemIdentifier item, int button)
item
- 列表项目的名称或索引button
- 用于双击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。public void doubleClickItem(ItemIdentifier item, int button, Point position)
item
- 列表项目的名称或索引button
- 用于双击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。position
- 列表内的双击位置。(默认:列表项目的中心)public void doubleClickItem(ItemIdentifier item, int button, Point position, ModifierKey modifiers)
item
- 列表项目的名称或索引button
- 用于双击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。position
- 列表内的双击位置。(默认:列表项目的中心)modifiers
- 双击列表项目时可按的修饰键(Alt、Shift 和 Ctrl)。默认:不使用修饰键。public void doubleClickItem(String itemText)
itemText
- 列表项目的名称或索引public void doubleClickItem(String itemText, int button)
itemText
- 列表项目的名称或索引button
- 用于双击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。public void doubleClickItem(String itemText, int button, Point position)
itemText
- 列表项目的名称或索引button
- 用于双击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。position
- 列表内的双击位置。(默认:列表项目的中心)public void doubleClickItem(String itemText, int button, Point position, ModifierKey modifiers)
itemText
- 列表项目的名称或索引button
- 用于双击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。position
- 列表内的双击位置。(默认:列表项目的中心)modifiers
- 双击列表项目时可按的修饰键(Alt、Shift 和 Ctrl)。默认:不使用修饰键。public void doubleClickItem(int itemIndex)
itemIndex
- 列表项目的名称或索引public void doubleClickItem(int itemIndex, int button)
itemIndex
- 列表项目的名称或索引button
- 用于双击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。public void doubleClickItem(int itemIndex, int button, Point position)
itemIndex
- 列表项目的名称或索引button
- 用于双击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。position
- 列表内的双击位置。(默认:列表项目的中心)public void doubleClickItem(int itemIndex, int button, Point position, ModifierKey modifiers)
itemIndex
- 列表项目的名称或索引button
- 用于双击的按钮。有效值为:左键(=1,默认值),右键 (=2),中键 (=3)。position
- 列表内的双击位置。(默认:列表项目的中心)modifiers
- 双击列表项目时可按的修饰键(Alt、Shift 和 Ctrl)。默认:不使用修饰键。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 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 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.