ilog.rules.teamserver.web.tree.impl

Class IlrDefaultTreeNode

  • java.lang.Object
    • ilog.rules.teamserver.web.tree.impl.IlrDefaultTreeNode
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrDefaultTreeNode(IlrTreeNode parent, java.lang.String label)
      Creates a node with a label and attaches it to a parent node.
      IlrDefaultTreeNode(java.lang.String id, IlrTreeNode parent, java.lang.String label)
      Creates a node with an unique identifier and a label.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Object getClientData()
      Returns the client data of a node.
      java.lang.String getId()
      Returns the ID of a node.
      java.lang.String getLabel()
      Returns the label of a node.
      IlrTreeNode getParent()
      Returns the parent of a node.
      void setClientData(java.lang.Object clientData)
      Sets the client data of a node.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IlrDefaultTreeNode

        public IlrDefaultTreeNode(IlrTreeNode parent,
                          java.lang.String label)
        Creates a node with a label and attaches it to a parent node.

        Parameters:
        parent - The parent.
        label - The label.
      • IlrDefaultTreeNode

        public IlrDefaultTreeNode(java.lang.String id,
                          IlrTreeNode parent,
                          java.lang.String label)
        Creates a node with an unique identifier and a label.

        The node is attached to a parent node.

        Parameters:
        id - A unique Id.
        parent - The parent.
        label - The label.
    • Method Detail

      • getId

        public java.lang.String getId()
        Description copied from interface: IlrTreeNode
        Returns the ID of a node.

        Specified by:
        getId in interface IlrTreeNode
        Returns:
        The unique ID of the node.
      • getLabel

        public java.lang.String getLabel()
        Description copied from interface: IlrTreeNode
        Returns the label of a node.

        Specified by:
        getLabel in interface IlrTreeNode
        Returns:
        The label of the node.
      • getClientData

        public java.lang.Object getClientData()
        Description copied from interface: IlrTreeNode
        Returns the client data of a node.

        Specified by:
        getClientData in interface IlrTreeNode
        Returns:
        The client data.
      • setClientData

        public void setClientData(java.lang.Object clientData)
        Description copied from interface: IlrTreeNode
        Sets the client data of a node.

        Specified by:
        setClientData in interface IlrTreeNode
        Parameters:
        clientData - The client data.

© Copyright IBM Corp. 1987, 2017