edu.princeton.wordnet.pojos.tree
Class LinksTreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by edu.princeton.wordnet.browser.tree.LazyDefaultMutableTreeNode
          extended by edu.princeton.wordnet.pojos.tree.LinksTreeNode
All Implemented Interfaces:
Reference, java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class LinksTreeNode
extends LazyDefaultMutableTreeNode
implements Reference

Author:
bbou
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.princeton.wordnet.browser.tree.LazyDefaultMutableTreeNode
LazyDefaultMutableTreeNode.CancelWorkersAction
 
Field Summary
private static long serialVersionUID
           
static Filter theFilter
          Filter
private  edu.princeton.wordnet.pojos.Synset theSynset
          Synset
 
Fields inherited from class edu.princeton.wordnet.browser.tree.LazyDefaultMutableTreeNode
suicide
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
LinksTreeNode(edu.princeton.wordnet.pojos.Synset thisSynset)
          Constructor
 
Method Summary
 java.lang.Object get()
          Get object
 javax.swing.tree.MutableTreeNode[] loadChildren(javax.swing.JTree thisTree)
          This method will be executed in a background thread.
 void set(java.lang.Object thisObject)
          Set object
 java.lang.String toString()
           
 
Methods inherited from class edu.princeton.wordnet.browser.tree.LazyDefaultMutableTreeNode
areChildrenLoaded, createLoadingNode, createSwingWorker, isLeaf, load, registerSwingWorkerForCancel, reset, setChildren, setSiblings, unRegisterSwingWorkerForCancel
 
Methods inherited from class 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, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

theFilter

public static Filter theFilter
Filter


theSynset

private edu.princeton.wordnet.pojos.Synset theSynset
Synset

Constructor Detail

LinksTreeNode

public LinksTreeNode(edu.princeton.wordnet.pojos.Synset thisSynset)
Constructor

Parameters:
thisSynset - synset user object
Method Detail

loadChildren

public javax.swing.tree.MutableTreeNode[] loadChildren(javax.swing.JTree thisTree)
Description copied from class: LazyDefaultMutableTreeNode
This method will be executed in a background thread.

Specified by:
loadChildren in class LazyDefaultMutableTreeNode
Parameters:
thisTree - tree
Returns:
the Created nodes

toString

public java.lang.String toString()
Overrides:
toString in class javax.swing.tree.DefaultMutableTreeNode

get

public java.lang.Object get()
Description copied from interface: Reference
Get object

Specified by:
get in interface Reference
Returns:
object

set

public void set(java.lang.Object thisObject)
Description copied from interface: Reference
Set object

Specified by:
set in interface Reference
Parameters:
thisObject - object