com.hp.lft.sdk.sap.gui

Interface TreeViewNode



  • public interface TreeViewNode
    • Method Summary

      Modifier and Type Method and Description
      void activateItem(int itemIndex)
      Activates an item in a column tree or list tree.
      void activateItem(java.lang.String item)
      Activates an item in a column tree or list tree.
      void clickButton(int itemIndex)
      Clicks a button item in a column tree or list tree.
      void clickButton(java.lang.String item)
      Clicks a button item in a column tree or list tree.
      void clickLink(int itemIndex)
      Clicks a link item in a column tree or list tree.
      void clickLink(java.lang.String item)
      Clicks a link item in a column tree or list tree.
      void collapse()
      Hides sub-nodes of this node in the expanded tree control.
      void expand()
      Displays hidden sub-nodes of this node in the tree control.
      java.lang.String getPath()
      Returns the full path of the node as a semi-colon delimited String.
      void openContextMenu()
      Opens the context menu for a node in a simple tree.
      void openItemContextMenu(java.lang.String item)
      Opens the context menu for an item in a column tree or list tree.
      void select(int itemIndex)
      Selects an item in a column tree or list tree.
      void select(java.lang.String item)
      Selects an item in a column tree or list tree.
      void setCheckBoxState(int itemIndex, boolean state)
      Selects or unselects a check box item for the specified node in a column tree or list tree.
      void setCheckBoxState(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.
      • clickLink

        void clickLink(int itemIndex)
                throws GeneralLeanFtException
        Clicks a link item in a column tree or list tree.
        Parameters:
        itemIndex - 1-based.
        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.