ilog.rules.teamserver.web.tree

Interface IlrTreeStateProvider

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void collapseNode(java.lang.String nodeId)
      Collapses the node with a given ID.
      void expandNode(java.lang.String nodeId)
      Expands the node with a given ID.
      java.lang.String getSelectedNodeId()
      Returns the ID of the currently selected node.
      boolean isExpanded(java.lang.String nodeId)
      Indicates if a node with a given ID is expanded or collapsed.
      boolean isSelected(java.lang.String nodeId)
      Indicates if the node with a given ID is selected.
      void reset()
      Resets the state of the tree component.
      void selectNode(java.lang.String nodeId)
      Selects the node with a given ID.
    • Method Detail

      • isExpanded

        boolean isExpanded(java.lang.String nodeId)
        Indicates if a node with a given ID is expanded or collapsed.

        Parameters:
        nodeId - The ID of the node.
        Returns:
        true if the node with a given ID is expanded, and false otherwise.
      • expandNode

        void expandNode(java.lang.String nodeId)
        Expands the node with a given ID.

        Parameters:
        nodeId - The ID of the node.
      • collapseNode

        void collapseNode(java.lang.String nodeId)
        Collapses the node with a given ID.

        Parameters:
        nodeId - The ID of the node.
      • getSelectedNodeId

        java.lang.String getSelectedNodeId()
        Returns the ID of the currently selected node.

        Returns:
        The ID of the currently selected node, or null if no node is selected.
        See Also:
        selectNode(String)
      • selectNode

        void selectNode(java.lang.String nodeId)
        Selects the node with a given ID.

        Parameters:
        nodeId - The ID of the node.
        See Also:
        getSelectedNodeId()
      • isSelected

        boolean isSelected(java.lang.String nodeId)
        Indicates if the node with a given ID is selected.

        Parameters:
        nodeId - The ID of the node.
        Returns:
        true if the node with a given ID is selected, and false otherwise.
        See Also:
        selectNode(String)
      • reset

        void reset()
        Resets the state of the tree component.

© Copyright IBM Corp. 1987, 2017