public class ExpandBar extends Control
Modifier | Constructor and Description |
---|---|
protected |
ExpandBar(JtfObjectHandle handle,
Desktop desktop)
Creates a new ExpandBar with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
void |
collapse(int itemIndex)
Collapses the ExpandBar.
|
void |
collapse(ItemIdentifier item)
Collapses the ExpandBar.
|
void |
collapse(String itemText)
Collapses the ExpandBar.
|
void |
expand(int itemIndex)
Expands an ExpandBar.
|
void |
expand(ItemIdentifier item)
Expands an ExpandBar.
|
void |
expand(String itemText)
Expands an ExpandBar.
|
List<ExpandItem> |
getExpandedItems()
Gets a list of the items that are expanded.
|
int |
getItemCount()
Gets the number of items in the expandbar.
|
List<ExpandItem> |
getItems()
Gets a list of items in the 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
- the handle that identifies the ExpandBardesktop
- the desktop on which this object livespublic void collapse(ItemIdentifier item)
item
- the item to collapsepublic void collapse(String itemText)
itemText
- the item to collapsepublic void collapse(int itemIndex)
itemIndex
- the item to collapsepublic void expand(ItemIdentifier item)
item
- the item to expandpublic void expand(String itemText)
itemText
- the item to expandpublic void expand(int itemIndex)
itemIndex
- the item to expandpublic List<ExpandItem> getExpandedItems()
public int getItemCount()
public List<ExpandItem> getItems()
Copyright 2009-2012 Micro Focus. All Rights Reserved.