Interface TreeViewNode


public interface TreeViewNode
  • Method Summary

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

    • getPath

      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 error occurs during execution
    • collapse

      void collapse() throws GeneralLeanFtException
      Hides sub-nodes of this node in the expanded tree control.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • expand

      void expand() throws GeneralLeanFtException
      Displays hidden sub-nodes of this node in the tree control.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • clickButton

      void clickButton(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 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 error occurs during execution
    • clickLink

      void clickLink(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 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 error occurs during execution
    • openItemContextMenu

      void openItemContextMenu(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 error occurs during execution
    • openContextMenu

      void openContextMenu() throws GeneralLeanFtException
      Opens the context menu for a node in a simple tree.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • setCheckBoxState

      void setCheckBoxState(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 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 error occurs during execution
    • select

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

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

      void activateItem(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 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 error occurs during execution