public class SLTabControl extends SLBase
| Modifier | Constructor and Description |
|---|---|
protected |
SLTabControl(JtfObjectHandle handle,
Desktop desktop)
Creates a new SLTabControl with a JtfObjectHandle.
|
| Modifier and Type | Method and Description |
|---|---|
List<SLTabItem> |
getItems()
Gets a complete list of tab items.
|
List<String> |
getItemTexts()
Gets a complete list of tab item texts.
|
int |
getSelectedIndex()
Gets the index of the selected item or negative one (-1) if the selection is empty.
|
SLTabItem |
getSelectedItem()
Gets the selected item or null if the selection is empty.
|
String |
getSelectedItemText()
Gets the text of the selected item or an empty string if the selection is empty.
|
void |
select(int itemIndex)
Selects an item in the tab control.
|
void |
select(ItemIdentifier item)
Selects an item in the tab control.
|
void |
select(String itemText)
Selects an item in the tab control.
|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAutomationId, getClassName, getName, getRawChildren, getRawChildren, isEnabled, isFocused, mouseMove, mouseMove, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setFocus, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeyscaptureBitmap, 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, waitForPropertyequals, 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, toStringprotected SLTabControl(JtfObjectHandle handle, Desktop desktop)
handle - the handle that identifies the SLTabControldesktop - the desktop on which this object livespublic void select(ItemIdentifier item)
item - the item to selectpublic void select(String itemText)
itemText - the item to selectpublic void select(int itemIndex)
itemIndex - the item to selectpublic int getSelectedIndex()
public SLTabItem getSelectedItem()
public String getSelectedItemText()
Copyright 2009-2012 Micro Focus. All Rights Reserved.