Groovy 1.7.2

groovy.inspect.swingui
Class TreeNodeWithProperties

java.lang.Object
  javax.swing.tree.DefaultMutableTreeNode
      groovy.inspect.swingui.TreeNodeWithProperties

public class TreeNodeWithProperties
extends DefaultMutableTreeNode

This class is a TreeNode and you can store additional properties on it.

author:
Hamlet D'Arcy


Field Summary
 
Fields inherited from class DefaultMutableTreeNode
EMPTY_ENUMERATION
 
Constructor Summary
TreeNodeWithProperties(def userObject, List properties)

Creates a tree node and attaches properties to it.

 
Method Summary
 
Methods inherited from class DefaultMutableTreeNode
add, clone, toString, getParent, remove, remove, insert, setParent, getPath, getIndex, children, getDepth, getChildCount, isLeaf, isRoot, getLevel, getRoot, breadthFirstEnumeration, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getFirstChild, getFirstLeaf, getLastChild, getLastLeaf, getLeafCount, getNextLeaf, getNextNode, getNextSibling, getPreviousLeaf, getPreviousNode, getPreviousSibling, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, removeAllChildren, removeFromParent, setAllowsChildren, setUserObject, wait, wait, wait, hashCode, getClass, equals, notify, notifyAll
 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Constructor Detail

TreeNodeWithProperties

public TreeNodeWithProperties(def userObject, List properties)
Creates a tree node and attaches properties to it.
param:
userObject same as a DefaultMutableTreeNode requires
param:
properties a list of String lists


 

Copyright © 2003-2010 The Codehaus. All rights reserved.