public class ExpandBar extends Control
Modifier | Constructor and Description |
---|---|
protected |
ExpandBar(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 ExpandBar。
|
Modifier and Type | Method and Description |
---|---|
void |
collapse(int itemIndex)
折叠 ExpandBar。
|
void |
collapse(ItemIdentifier item)
折叠 ExpandBar。
|
void |
collapse(String itemText)
折叠 ExpandBar。
|
void |
expand(int itemIndex)
展开 ExpandBar。
|
void |
expand(ItemIdentifier item)
展开 ExpandBar。
|
void |
expand(String itemText)
展开 ExpandBar。
|
List<ExpandItem> |
getExpandedItems()
获取 展开的项目的列表。
|
int |
getItemCount()
获取 Expandbar 中项目的数量。
|
List<ExpandItem> |
getItems()
获取 Expandbar 中项目的列表。
|
getHorizontalBar, getVerticalBar, openContextMenu, openContextMenu
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getBackground, getFont, getForeground, getNativeHandle, isEnabled, isFocused, isVisible, mouseMove, mouseMove, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setBackground, setEnabled, setFocus, setFont, setForeground, setVisible, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeys
captureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, 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 ExpandBar(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 ExpandBar 的句柄desktop
- 此对象所在的桌面public void collapse(ItemIdentifier item)
item
- 可折叠的项目public void collapse(String itemText)
itemText
- 可折叠的项目public void collapse(int itemIndex)
itemIndex
- 可折叠的项目public void expand(ItemIdentifier item)
item
- 可展开的项目public void expand(String itemText)
itemText
- 可展开的项目public void expand(int itemIndex)
itemIndex
- 可展开的项目public List<ExpandItem> getExpandedItems()
public int getItemCount()
public List<ExpandItem> getItems()
Copyright 2009-2012 Micro Focus. All Rights Reserved.