public class OracleFormsTabBar extends OracleFormsContainer
Modifier | Constructor and Description |
---|---|
protected |
OracleFormsTabBar(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 OracleFormsTabBar。
|
Modifier and Type | Method and Description |
---|---|
ItemIdentifier |
getSelectedTab()
获取 当前所选选项卡。
|
int |
getTabCount()
获取 选项卡的数量。
|
int |
getTabIndex(String title)
返回选项卡索引。
|
String |
getTabTitle(int index)
返回选项卡标题。
|
boolean |
isTabEnabled(int tabIndex)
返回当前是否启用选项卡。
|
boolean |
isTabEnabled(ItemIdentifier tab)
返回当前是否启用选项卡。
|
boolean |
isTabEnabled(String tabText)
返回当前是否启用选项卡。
|
void |
select(int tabIndex)
选择指定的选项卡。
|
void |
select(ItemIdentifier tab)
选择指定的选项卡。
|
void |
select(String tabText)
选择指定的选项卡。
|
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 OracleFormsTabBar(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 OracleFormsTabBar 的句柄desktop
- 此对象所在的桌面public int getTabIndex(String title)
title
- 选项卡的标题public String getTabTitle(int index)
index
- 选项卡的索引。. The value is zero-based.public boolean isTabEnabled(ItemIdentifier tab)
tab
- 选项卡的名称或索引public boolean isTabEnabled(String tabText)
tabText
- 选项卡的名称或索引public boolean isTabEnabled(int tabIndex)
tabIndex
- 选项卡的名称或索引public void select(ItemIdentifier tab)
tab
- 可选择的选项卡的名称或索引public void select(String tabText)
tabText
- 可选择的选项卡的名称或索引public void select(int tabIndex)
tabIndex
- 可选择的选项卡的名称或索引public ItemIdentifier getSelectedTab()
public int getTabCount()
Copyright 2009-2012 Micro Focus. All Rights Reserved.