com.hp.lft.sdk.java

Interface TreeViewNode



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

      Modifier and TypeMethod and Description
      voidclickState()
      Clicks the state icon of a node in a tree.
      voidcollapse()
      Collapses an expandable node in a tree.
      voiddoubleClickState()
      Double-clicks state icon of a node in a tree.
      voidexpand()
      Expands an expandable node in a tree.
      java.lang.StringgetColumnValue(int columnIndex)
      Returns the text of the column with the specified index.
      java.lang.StringgetColumnValue(java.lang.String columnName)
      Returns the text of the column with the specified name.
      java.lang.StringgetPath()
      Returns the path to the node in the tree.
      voidopenContextMenu()
      Opens the context menu of a node in a tree.
      voidsetChecked(boolean state)
      Sets the state of the node in the tree.
      voidsetNodeState(int index)
      Sets the state of the node in the tree.
    • Method Detail

      • 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