Package com.hp.lft.sdk.sap.gui
Class TabControlDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.DescriptionBase
com.hp.lft.sdk.sap.gui.ElementDescription
com.hp.lft.sdk.sap.gui.TabControlDescription
- All Implemented Interfaces:
CloneableObject,Description,com.hp.lft.sdk.internal.DescriptionWithVri,Cloneable
Description of a SAP GUI for Windows tab strip.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis class can be used to construct an instance of the TabControlDescription class using the builder pattern.protected static classHelper class for TabControlDescription.Builder. -
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties -
Constructor Summary
ConstructorsModifierConstructorDescriptionInitializes a new instance of the TabControlDescription class.protectedInitializes a new instance of the TabControlDescription class using the Builder pattern. -
Method Summary
Modifier and TypeMethodDescriptionReturns the selected tab.String[]getTabs()Returns the list of the tabs in the tab object.Returns the number of tabs contained in the tab object.getText()Returns the text associated with the tab object.Returns the value of the tab object's tooltip.Indicates whether the tab object can accept user input.voidsetEnabled(Boolean enabled) Sets whether the tab object can accept user input.voidSelects the specified tab in the tab object.voidsetSelectedTab(String tab) Selects the specified tab in the tab control.voidSets the list of tabs in the tab object.voidsetTabsCount(Integer number) Sets the number of tabs contained in the tab object.voidsetText(StringProperty text) Sets the text associated with the tab object.voidSets the text associated with the tab object.voidsetTooltip(StringProperty tooltip) Sets the value of the tab object's tooltip.voidsetTooltip(String tooltip) Sets the value of the tab object's tooltip.Methods inherited from class com.hp.lft.sdk.sap.gui.ElementDescription
getAbsoluteLocation, getId, getLocation, getName, getSize, getType, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setId, setId, setLocation, setLocation, setLocation, setName, setName, setSize, setSize, setSize, setTypeMethods inherited from class com.hp.lft.sdk.DescriptionBase
cloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescription
cloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hp.lft.sdk.CloneableObject
clone
-
Constructor Details
-
TabControlDescription
public TabControlDescription()Initializes a new instance of the TabControlDescription class. -
TabControlDescription
Initializes a new instance of the TabControlDescription class using the Builder pattern.- Parameters:
init- the Builder pattern.
-
-
Method Details
-
setSelectedTab
Selects the specified tab in the tab control.- Parameters:
tab- the tab.
-
setSelectedTab
Selects the specified tab in the tab object.- Parameters:
tab- aStringPropertyorRegExpProperty.
-
getSelectedTab
Returns the selected tab.- Returns:
- the selected tab.
-
setTooltip
Sets the value of the tab object's tooltip.- Parameters:
tooltip- aStringPropertyorRegExpProperty.
-
setTooltip
Sets the value of the tab object's tooltip.- Parameters:
tooltip- the tooltip.
-
getTooltip
Returns the value of the tab object's tooltip.- Returns:
- the tooltip.
-
setText
Sets the text associated with the tab object.- Parameters:
text- aStringPropertyorRegExpProperty.
-
setText
Sets the text associated with the tab object.- Parameters:
text- the text.
-
getText
Returns the text associated with the tab object.- Returns:
- the text.
-
setEnabled
Sets whether the tab object can accept user input.- Parameters:
enabled- true to set as enabled.
-
isEnabled
Indicates whether the tab object can accept user input.- Returns:
- true if enabled.
-
setTabs
Sets the list of tabs in the tab object.- Parameters:
tabs- the list of tabs.
-
getTabs
Returns the list of the tabs in the tab object.- Returns:
- the list of tabs.
-
setTabsCount
Sets the number of tabs contained in the tab object.- Parameters:
number- the number of tabs.
-
getTabsCount
Returns the number of tabs contained in the tab object.- Returns:
- the number of tabs.
-