public class CTabFolder extends Control
| Modifier | Constructor and Description |
|---|---|
protected |
CTabFolder(JtfObjectHandle handle,
Desktop desktop)
Creates a new CTabFolder with a JtfObjectHandle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close(int itemIndex)
Closes the visible page.
|
void |
close(ItemIdentifier item)
Closes the visible page.
|
void |
close(String itemText)
Closes the visible page.
|
int |
getItemCount()
Gets the number of items in the tab folder.
|
List<CTabItem> |
getItems()
Gets a list of items in the tab folder.
|
int |
getSelectedIndex()
Gets the index of the selected item.
|
CTabItem |
getSelectedItem()
Gets the selected tab item.
|
String |
getSelectedItemText()
Gets the text of the selected item or an empty string if no item is selected.
|
void |
maximize()
Resizes the CTabFolder to its full (maximized) size.
|
void |
minimize()
Resizes the CTabFolder to the minimum size allowed.
|
void |
restore()
Restores the CTabFolder to its previous size.
|
void |
select(int itemIndex)
Selects an item from the CTabFolder.
|
void |
select(ItemIdentifier item)
Selects an item from the CTabFolder.
|
void |
select(String itemText)
Selects an item from the CTabFolder.
|
void |
selectList()
Selects one or more items in the tab.
|
void |
setSelectedIndex(int selectedIndex)
Sets the index of 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 CTabFolder(JtfObjectHandle handle, Desktop desktop)
handle - the handle that identifies the CTabFolderdesktop - the desktop on which this object livespublic void close(ItemIdentifier item)
item - the page to closepublic void close(String itemText)
itemText - the page to closepublic void close(int itemIndex)
itemIndex - the page to closepublic void maximize()
public void minimize()
public void restore()
public 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 void selectList()
public int getItemCount()
public int getSelectedIndex()
public void setSelectedIndex(int selectedIndex)
selectedIndex - the index of the selected itempublic CTabItem getSelectedItem()
public String getSelectedItemText()
Copyright 2009-2012 Micro Focus. All Rights Reserved.