Interface TabControl

All Superinterfaces:
Clickable, DoubleClickable, EnabledProvider, LocationInfoProvider, SupportsNativeObject, TestObject, TestObjectDescriber, UiObjectBase, VisibleProvider, WaitUntilEnabledProvider, WaitUntilVisibleProvider

public interface TabControl extends UiObjectBase, TestObject
A Java tabstrip control containing tabbed panels.
  • Method Details

    • getTabsCount

      int getTabsCount() throws GeneralLeanFtException
      Returns the number of tabbed panels contained in the tab object.
      Returns:
      the number of tabbed panels contained in the tab object.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getSelectedTab

      String getSelectedTab() throws GeneralLeanFtException
      Returns the selected tabbed panel.
      Returns:
      the selected tabbed panel.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getOrigLogicalLocation

      String getOrigLogicalLocation() throws GeneralLeanFtException
      Returns the original logical location of the tab object relative to the parent object.
      Returns:
      a string of form X_<x_logical_loc>__Y_<y_logical_loc> where logical_loc is one of 'SMALL', 'BIG', 'FULL', 'CENTER' or 'UNK' if no significance was found.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • select

      void select(String tab) throws GeneralLeanFtException
      Selects the specified tab panel.
      Parameters:
      tab - the tab to select.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • select

      void select(int index) throws GeneralLeanFtException
      Selects the specified tab panel.
      Parameters:
      index - the 0-based index of the tab to select.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • close

      void close(String tab) throws GeneralLeanFtException
      Closes the specified tab panel.
      Parameters:
      tab - the tab to close.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • close

      void close(int index) throws GeneralLeanFtException
      Closes the specified tab panel.
      Parameters:
      index - the 0-based index of the tab panel to close.
      Throws:
      GeneralLeanFtException - if error occurs during execution