Package weka.gui

Class GenericObjectEditor.GOETreeNode

    • Constructor Detail

      • GOETreeNode

        public GOETreeNode()
        Creates a tree node that has no parent and no children, but which allows children.
      • GOETreeNode

        public GOETreeNode​(Object userObject)
        Creates a tree node with no parent, no children, but which allows children, and initializes it with the specified user object.
        Parameters:
        userObject - an Object provided by the user that constitutes the node's data
      • GOETreeNode

        public GOETreeNode​(Object userObject,
                           boolean allowsChildren)
        Creates a tree node with no parent, no children, initialized with the specified user object, and that allows children only if specified.
        Parameters:
        userObject - an Object provided by the user that constitutes the node's data
        allowsChildren - if true, the node is allowed to have child nodes -- otherwise, it is always a leaf node
    • Method Detail

      • setToolTipText

        public void setToolTipText​(String tip)
        Set the tool tip for this node
        Parameters:
        tip - the tool tip for this node
      • getToolTipText

        public String getToolTipText()
        Get the tool tip for this node
        Returns:
        the tool tip for this node