com.hp.lft.sdk.java

Interface TreeViewNode



  • public interface TreeViewNode
    A single node in a Java Tree.
    • Method Summary

      Modifier and Type Method and Description
      void clickState()
      Clicks the state icon of a node in a tree.
      void collapse()
      Collapses an expandable node in a tree.
      void doubleClickState()
      Double-clicks state icon of a node in a tree.
      void expand()
      Expands an expandable node in a tree.
      java.lang.String getColumnValue(int columnIndex)
      Returns the text of the column with the specified index.
      java.lang.String getColumnValue(java.lang.String columnName)
      Returns the text of the column with the specified name.
      java.lang.String getPath()
      Returns the path to the node in the tree.
      void openContextMenu()
      Opens the context menu of a node in a tree.
      void setChecked(boolean state)
      Sets the state of the node in the tree.
      void setNodeState(int index)
      Sets the state of the node in the tree.
    • Method Detail

      • setNodeState

        void setNodeState(int index)
                   throws GeneralLeanFtException
        Sets the state of the node in the tree.
        Parameters:
        index - the state index.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • setChecked

        void setChecked(boolean state)
                 throws GeneralLeanFtException
        Sets the state of the node in the tree.
        Parameters:
        state - The new state of the check box: true - Checked, false - Unchecked.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getColumnValue

        java.lang.String getColumnValue(int columnIndex)
                                 throws GeneralLeanFtException
        Returns the text of the column with the specified index.
        Parameters:
        columnIndex - 0-based index of the column.
        Returns:
        the text of the column of this node.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getColumnValue

        java.lang.String getColumnValue(java.lang.String columnName)
                                 throws GeneralLeanFtException
        Returns the text of the column with the specified name.
        Parameters:
        columnName - the name of the column.
        Returns:
        the text of the column of this node.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getPath

        java.lang.String getPath()
        Returns the path to the node in the tree.
        Returns:
        the path to the node in the tree