com.hp.lft.sdk.sap.gui

Interface TreeViewNode



  • public interface TreeViewNode
    • Method Summary

      Modifier and TypeMethod and Description
      voidactivateItem(int itemIndex)
      Activates an item in a column tree or list tree.
      voidactivateItem(java.lang.String item)
      Activates an item in a column tree or list tree.
      voidclickButton(int itemIndex)
      Clicks a button item in a column tree or list tree.
      voidclickButton(java.lang.String item)
      Clicks a button item in a column tree or list tree.
      voidclickLink(int itemIndex)
      Clicks a link item in a column tree or list tree.
      voidclickLink(java.lang.String item)
      Clicks a link item in a column tree or list tree.
      voidcollapse()
      Hides sub-nodes of this node in the expanded tree control.
      voidexpand()
      Displays hidden sub-nodes of this node in the tree control.
      java.lang.StringgetPath()
      Returns the full path of the node as a semi-colon delimited String.
      voidopenContextMenu()
      Opens the context menu for a node in a simple tree.
      voidopenItemContextMenu(java.lang.String item)
      Opens the context menu for an item in a column tree or list tree.
      voidselect(int itemIndex)
      Selects an item in a column tree or list tree.
      voidselect(java.lang.String item)
      Selects an item in a column tree or list tree.
      voidsetCheckBoxState(int itemIndex, boolean state)
      Selects or unselects a check box item for the specified node in a column tree or list tree.
      voidsetCheckBoxState(java.lang.String item, boolean state)
      Selects or unselects a check box item for the specified node in a column tree or list tree.
    • Method Detail

      • getPath

        java.lang.String getPath()
                          throws GeneralLeanFtException
        Returns the full path of the node as a semi-colon delimited String.
        Returns:
        the full path of the node as a semi-colon delimited String.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • clickButton

        void clickButton(java.lang.String item)
                  throws GeneralLeanFtException
        Clicks a button item in a column tree or list tree.
        Parameters:
        item - the text of the button item.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • clickButton

        void clickButton(int itemIndex)
                  throws GeneralLeanFtException
        Clicks a button item in a column tree or list tree.
        Parameters:
        itemIndex - 1-based.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • clickLink

        void clickLink(java.lang.String item)
                throws GeneralLeanFtException
        Clicks a link item in a column tree or list tree.
        Parameters:
        item - the text of the link item.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • openItemContextMenu

        void openItemContextMenu(java.lang.String item)
                          throws GeneralLeanFtException
        Opens the context menu for an item in a column tree or list tree.
        Parameters:
        item - the text of the item whose context menu you want to open.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • setCheckBoxState

        void setCheckBoxState(java.lang.String item,
                              boolean state)
                       throws GeneralLeanFtException
        Selects or unselects a check box item for the specified node in a column tree or list tree.
        Parameters:
        item - the text of the check box tree item.
        state - true to select.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • setCheckBoxState

        void setCheckBoxState(int itemIndex,
                              boolean state)
                       throws GeneralLeanFtException
        Selects or unselects a check box item for the specified node in a column tree or list tree.
        Parameters:
        itemIndex - 1-based index of the check box tree item.
        state - true to select.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • select

        void select(java.lang.String item)
             throws GeneralLeanFtException
        Selects an item in a column tree or list tree.
        Parameters:
        item - the text of the item.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • activateItem

        void activateItem(java.lang.String item)
                   throws GeneralLeanFtException
        Activates an item in a column tree or list tree.
        Parameters:
        item - the text of the item to activate.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • activateItem

        void activateItem(int itemIndex)
                   throws GeneralLeanFtException
        Activates an item in a column tree or list tree.
        Parameters:
        itemIndex - 1-based.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.