com.hp.lft.sdk.wpf

Interface Menu

    • Method Detail

      • buildMenuPath

        java.lang.String buildMenuPath(java.lang.Object... menuPathParts)
        Returns the path constructed from the path parts.
        Parameters:
        menuPathParts - The menu path parts can be: logical name(string), full path(comma-separated strings), or index(1-based).
        Returns:
        the path of the specified menu item.
      • select

        void select(java.lang.String itemPath)
             throws GeneralLeanFtException
        Selects the item at the specified path in the menu.
        You can use buildMenuPath(Object...) to build the itemPath argument.
        Parameters:
        itemPath - the path of the item to select. To specify the 1-based index of the item to select, use <Item #>.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getItem

                                                    MenuItem getItem(java.lang.String itemPath)
                  throws GeneralLeanFtException
        Returns the item at the specified path in the menu.
        Parameters:
        itemPath - the full path of the menu item to select from the list. The path is composed of the menu item names or a 1-based index separated by a semicolon. To specify the 1-based index of the item to select, use <Item #>.
        Returns:
        MenuItem representing the menu item.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.