Class TabControlDescription

java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
All Implemented Interfaces:
CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, Cloneable

public class TabControlDescription extends ElementDescription
Description of a SAP GUI for Windows tab strip.
  • Constructor Details

    • TabControlDescription

      public TabControlDescription()
      Initializes a new instance of the TabControlDescription class.
    • TabControlDescription

      protected TabControlDescription(TabControlDescription.Init<?> init)
      Initializes a new instance of the TabControlDescription class using the Builder pattern.
      Parameters:
      init - the Builder pattern.
  • Method Details

    • setSelectedTab

      public void setSelectedTab(String tab)
      Selects the specified tab in the tab control.
      Parameters:
      tab - the tab.
    • setSelectedTab

      public void setSelectedTab(StringProperty tab)
      Selects the specified tab in the tab object.
      Parameters:
      tab - a StringProperty or RegExpProperty.
    • getSelectedTab

      public StringProperty getSelectedTab()
      Returns the selected tab.
      Returns:
      the selected tab.
    • setTooltip

      public void setTooltip(StringProperty tooltip)
      Sets the value of the tab object's tooltip.
      Parameters:
      tooltip - a StringProperty or RegExpProperty.
    • setTooltip

      public void setTooltip(String tooltip)
      Sets the value of the tab object's tooltip.
      Parameters:
      tooltip - the tooltip.
    • getTooltip

      public StringProperty getTooltip()
      Returns the value of the tab object's tooltip.
      Returns:
      the tooltip.
    • setText

      public void setText(StringProperty text)
      Sets the text associated with the tab object.
      Parameters:
      text - a StringProperty or RegExpProperty.
    • setText

      public void setText(String text)
      Sets the text associated with the tab object.
      Parameters:
      text - the text.
    • getText

      public StringProperty getText()
      Returns the text associated with the tab object.
      Returns:
      the text.
    • setEnabled

      public void setEnabled(Boolean enabled)
      Sets whether the tab object can accept user input.
      Parameters:
      enabled - true to set as enabled.
    • isEnabled

      public Boolean isEnabled()
      Indicates whether the tab object can accept user input.
      Returns:
      true if enabled.
    • setTabs

      public void setTabs(String[] tabs)
      Sets the list of tabs in the tab object.
      Parameters:
      tabs - the list of tabs.
    • getTabs

      public String[] getTabs()
      Returns the list of the tabs in the tab object.
      Returns:
      the list of tabs.
    • setTabsCount

      public void setTabsCount(Integer number)
      Sets the number of tabs contained in the tab object.
      Parameters:
      number - the number of tabs.
    • getTabsCount

      public Integer getTabsCount()
      Returns the number of tabs contained in the tab object.
      Returns:
      the number of tabs.