程序包 weka.gui
类 GenericObjectEditor.GOETreeNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
weka.gui.GenericObjectEditor.GOETreeNode
- 所有已实现的接口:
Serializable
,Cloneable
,MutableTreeNode
,TreeNode
- 封闭类:
- GenericObjectEditor
A specialized TreeNode for supporting filtering via Capabilities.
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明static final String
color for "maybe support".static final String
color for "no support".从类继承的字段 javax.swing.tree.DefaultMutableTreeNode
EMPTY_ENUMERATION
-
构造器概要
构造器构造器说明Creates a tree node that has no parent and no children, but which allows children.GOETreeNode
(Object userObject) Creates a tree node with no parent, no children, but which allows children, and initializes it with the specified user object.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. -
方法概要
修饰符和类型方法说明Get the tool tip for this nodevoid
setToolTipText
(String tip) Set the tool tip for this nodetoString()
returns a string representation of this treenode.从类继承的方法 javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
-
字段详细资料
-
构造器详细资料
-
GOETreeNode
public GOETreeNode()Creates a tree node that has no parent and no children, but which allows children. -
GOETreeNode
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
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 dataallowsChildren
- if true, the node is allowed to have child nodes -- otherwise, it is always a leaf node
-
-
方法详细资料
-
setToolTipText
Set the tool tip for this node- 参数:
tip
- the tool tip for this node
-
getToolTipText
Get the tool tip for this node- 返回:
- the tool tip for this node
-
toString
returns a string representation of this treenode.- 覆盖:
toString
在类中DefaultMutableTreeNode
- 返回:
- the text to display
-