程序包 weka.gui

类 GenericObjectEditor.GOETreeNode

java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
weka.gui.GenericObjectEditor.GOETreeNode
所有已实现的接口:
Serializable, Cloneable, MutableTreeNode, TreeNode
封闭类:
GenericObjectEditor

public class GenericObjectEditor.GOETreeNode extends DefaultMutableTreeNode
A specialized TreeNode for supporting filtering via Capabilities.
另请参阅:
  • 字段详细资料

    • NO_SUPPORT

      public static final String NO_SUPPORT
      color for "no support".
      另请参阅:
    • MAYBE_SUPPORT

      public static final String MAYBE_SUPPORT
      color for "maybe support".
      另请参阅:
  • 构造器详细资料

    • 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.
      参数:
      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.
      参数:
      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
  • 方法详细资料

    • setToolTipText

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

      public String getToolTipText()
      Get the tool tip for this node
      返回:
      the tool tip for this node
    • toString

      public String toString()
      returns a string representation of this treenode.
      覆盖:
      toString 在类中 DefaultMutableTreeNode
      返回:
      the text to display