com.hp.lft.sdk.java

Interface TreeViewBase

  • All Known Subinterfaces:
    TreeView, TreeViewTable


    public interface TreeViewBase
    The base interface for a Java Tree.
    • Method Detail

      • buildNodePath

        String buildNodePath(Object... nodePathParts)
        Returns the path of a node in the tree.
        Parameters:
        nodePathParts - the node path parts can be: text(string) or numeric index(int). Index values are 0-based.
        Returns:
        the tree node path.
      • extendSelect

        void extendSelect(String... nodesPaths)
                   throws GeneralLeanFtException
        Selects additional nodes in the tree.
        Parameters:
        nodesPaths - the paths of the nodes to add to the selection.
        Throws:
        GeneralLeanFtException - if error occurs during execution.
      • deselectRange

        void deselectRange(String fromNodePath,
                           String toNodePath)
                    throws GeneralLeanFtException
        Clears the selection of the specified range of nodes in the tree.
        Parameters:
        fromNodePath - 0-based index of the first node in the range.
        Tip: Use the buildNodePath(java.lang.Object...) method to build the node path strings to be used as the fromNodePath and toNodePath arguments for this method.
        toNodePath - 0-based index of the last node of the range.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • selectRange

        void selectRange(String fromNodePath,
                         String toNodePath)
                  throws GeneralLeanFtException
        Selects the specified range of nodes.
        Parameters:
        fromNodePath - 0-based index of the first node in the range.
        toNodePath - 0-based index of the last node of the range. Tip: Use the buildNodePath(java.lang.Object...) method to build the node path strings to be used as the fromNodePath and toNodePath arguments for this method.
        Throws:
        GeneralLeanFtException - if error occurs during execution