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 class
This class can be used to construct an instance of the TabControlDescription class using the builder pattern.protected static class
Helper 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.protected
Initializes 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.void
setEnabled
(Boolean enabled) Sets whether the tab object can accept user input.void
Selects the specified tab in the tab object.void
setSelectedTab
(String tab) Selects the specified tab in the tab control.void
Sets the list of tabs in the tab object.void
setTabsCount
(Integer number) Sets the number of tabs contained in the tab object.void
setText
(StringProperty text) Sets the text associated with the tab object.void
Sets the text associated with the tab object.void
setTooltip
(StringProperty tooltip) Sets the value of the tab object's tooltip.void
setTooltip
(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, setType
Methods inherited from class com.hp.lft.sdk.DescriptionBase
cloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRI
Methods inherited from class com.hp.lft.sdk.PropertiesDescription
clone
Methods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValue
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
- aStringProperty
orRegExpProperty
.
-
getSelectedTab
Returns the selected tab.- Returns:
- the selected tab.
-
setTooltip
Sets the value of the tab object's tooltip.- Parameters:
tooltip
- aStringProperty
orRegExpProperty
.
-
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
- aStringProperty
orRegExpProperty
.
-
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.
-