com.hp.lft.sdk.java

Interface TabControl

    • Method Detail

      • 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 an error occurs during execution.
      • getSelectedTab

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

        java.lang.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 an 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 an 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 an error occurs during execution.