com.hp.lft.sdk.sap.ui5

Interface Accordion

    • Method Detail

      • getItems

        java.util.List<java.lang.String> getItems()
                                           throws GeneralLeanFtException
        Returns the list of the titles of all the panels contained in the accordion (separated by ;).
        Returns:
        the list of the titles of all the panels contained in the accordion (separated by ;).
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getSelectedItem

        java.lang.String getSelectedItem()
                                  throws GeneralLeanFtException
        Gets the title of the selected panel.
        Returns:
        the title of the selected panel.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • expand

        void expand(java.lang.String item)
             throws GeneralLeanFtException
        Expands the specified panel in the accordion.
        Parameters:
        item - the name of the panel to expand.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • expand

        void expand(int itemIndex)
             throws GeneralLeanFtException
        Expands the specified panel in the accordion.
        Parameters:
        itemIndex - the numeric index of the panel to expand. Index values are 1-based.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • collapse

        void collapse(java.lang.String item)
               throws GeneralLeanFtException
        Collapses the specified panel in the accordion.
        Parameters:
        item - the name of the panel to collapse.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • collapse

        void collapse(int itemIndex)
               throws GeneralLeanFtException
        Collapses the specified panel in the accordion.
        Parameters:
        itemIndex - the numeric index of the panel to collapse. Index values are 1-based.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.