public class TabControl extends Control
| Modifier | Constructor and Description |
|---|---|
protected |
TabControl(JtfObjectHandle handle,
Desktop desktop)
Creates a new TabControl with a JtfObjectHandle.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getItemCount()
Gets the number of items in the tab control.
|
List<ItemIdentifier> |
getItems()
Gets a list of items in the tab control.
|
int |
getSelectedIndex()
Gets the index of the selected item.
|
ItemIdentifier |
getSelectedItem()
Gets the selected item.
|
void |
select(int itemIndex)
Sets the current page to the specified page.
|
void |
select(ItemIdentifier item)
Sets the current page to the specified page.
|
void |
select(String itemText)
Sets the current page to the specified page.
|
void |
setSelectedIndex(int selectedIndex)
Sets the index of the selected item.
|
void |
setSelectedItem(int selectedItemIndex)
Sets the selected item.
|
void |
setSelectedItem(ItemIdentifier selectedItem)
Sets the selected item.
|
void |
setSelectedItem(String selectedItemText)
Sets the selected item.
|
getHorizontalBar, getVerticalBar, openContextMenu, openContextMenuclick, 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, typePasswordKeyscaptureBitmap, 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, 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 TabControl(JtfObjectHandle handle, Desktop desktop)
handle - the handle that identifies the TabControldesktop - 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 getItemCount()
public List<ItemIdentifier> getItems()
public int getSelectedIndex()
public void setSelectedIndex(int selectedIndex)
selectedIndex - the index of the selected itempublic ItemIdentifier getSelectedItem()
public void setSelectedItem(ItemIdentifier selectedItem)
selectedItem - the selected itempublic void setSelectedItem(String selectedItemText)
selectedItemText - the selected itempublic void setSelectedItem(int selectedItemIndex)
selectedItemIndex - the selected itemCopyright 2009-2012 Micro Focus. All Rights Reserved.