com.hp.lft.sdk.powerbuilder

Interface TreeViewNode

    • Method Detail

      • getFirstChildPath

        String getFirstChildPath()
                          throws GeneralLeanFtException
        Returns the full path of the node's first child node as a semi-colon delimited String.
        Returns:
        the full path of the node's first child node as a semi-colon delimited String.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • getNextSiblingPath

        String getNextSiblingPath()
                           throws GeneralLeanFtException
        Returns the full path of the node's next sibling node as a semi-colon delimited String.
        Returns:
        the full path of the node's next sibling node as a semi-colon delimited String.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • getOverlayImageIndex

        int getOverlayImageIndex()
                          throws GeneralLeanFtException
        Returns the index number of the current overlay image.
        Returns:
        the index number of the current overlay image.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • getParentPath

        String getParentPath()
                      throws GeneralLeanFtException
        Returns the full path of the node's parent node as a semi-colon delimited String.
        Returns:
        the full path of the node's parent node as a semi-colon delimited String.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • 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
      • setNodeState

        void setNodeState(int index)
                   throws GeneralLeanFtException
        Sets the state of the check box icon of the specified node in the tree-view control.
        Parameters:
        index - the state index.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • enableLabelEditing

        void enableLabelEditing()
                         throws GeneralLeanFtException
        Activates the edit mode for the node in the tree-view control to enable renaming.

        IMPORTANT: This method only enables the node for renaming. To actually rename the node, you must set its value using the EditField or Editor test object, together with an applicable method.

        Throws:
        GeneralLeanFtException - if error occurs during execution