public class JTabbedPane extends JComponent
Modifier | Constructor and Description |
---|---|
protected |
JTabbedPane(JtfObjectHandle handle,
Desktop desktop)
Creates a new JTabbedPane with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
ItemIdentifier |
getSelectedTab()
Gets the currently selected tab.
|
int |
getSelectedTabIndex()
Gets the index of the currently selected tab or -1 (4Test: 0) if no tab is selected.
|
int |
getTabCount()
Gets the number of tabs.
|
int |
getTabIndex(String title)
Returns the tab index.
|
int |
getTabRunCount()
Gets the number of tab runs currently used to display the tabs.
|
String |
getTabTitle(int index)
Returns the tab title.
|
boolean |
isTabEnabled(int tabIndex)
Returns whether or not the tab is currently enabled.
|
boolean |
isTabEnabled(ItemIdentifier tab)
Returns whether or not the tab is currently enabled.
|
boolean |
isTabEnabled(String tabText)
Returns whether or not the tab is currently enabled.
|
void |
select(int tabIndex)
Selects the specified tab.
|
void |
select(ItemIdentifier tab)
Selects the specified tab.
|
void |
select(String tabText)
Selects the specified tab.
|
getToolTipText
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAccessibleName, getAccessibleRole, getBackground, getCursor, getFont, getForeground, getHeight, getName, getNativeHandle, getWidth, isEnabled, isFocusable, isFocused, mouseMove, mouseMove, openContextMenu, openContextMenu, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, scrollIntoView, setFocus, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeys
captureBitmap, 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, 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 JTabbedPane(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the JTabbedPanedesktop
- the desktop on which this object livespublic int getTabIndex(String title)
title
- the title of the tabpublic String getTabTitle(int index)
index
- the index of the tab. The value is zero-based.public boolean isTabEnabled(ItemIdentifier tab)
tab
- the name or index of the tabpublic boolean isTabEnabled(String tabText)
tabText
- the name or index of the tabpublic boolean isTabEnabled(int tabIndex)
tabIndex
- the name or index of the tabpublic void select(ItemIdentifier tab)
tab
- the name or index of the tab to selectpublic void select(String tabText)
tabText
- the name or index of the tab to selectpublic void select(int tabIndex)
tabIndex
- the name or index of the tab to selectpublic ItemIdentifier getSelectedTab()
public int getSelectedTabIndex()
public int getTabCount()
public int getTabRunCount()
Copyright 2009-2012 Micro Focus. All Rights Reserved.