edu.jhu.ece.iacl.jist.pipeline.graph
Class PipeAlgorithmFactory.AlgorithmNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by edu.jhu.ece.iacl.jist.pipeline.tree.DraggableNode
          extended by edu.jhu.ece.iacl.jist.pipeline.graph.PipeAlgorithmFactory.AlgorithmNode
All Implemented Interfaces:
java.awt.datatransfer.Transferable, java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
Direct Known Subclasses:
PipeAlgorithmFactory.AlgorithmGroupNode
Enclosing class:
PipeAlgorithmFactory

public static class PipeAlgorithmFactory.AlgorithmNode
extends DraggableNode

Tree node to represent algorithm.

Author:
Blake Lucas (bclucas@jhu.edu)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.tree.DraggableNode
factory, icon, MODULE_FLAVOR
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
PipeAlgorithmFactory.AlgorithmNode(PipeModuleFactory factory)
          Instantiates a new algorithm node.
 
Method Summary
 java.io.File getMapFile()
          Gets the map file.
 void setUserObject(java.lang.Object userObject)
           
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.tree.DraggableNode
getFactory, getIcon, getName, getTransferData, getTransferDataFlavors, isDataFlavorSupported
 
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, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PipeAlgorithmFactory.AlgorithmNode

public PipeAlgorithmFactory.AlgorithmNode(PipeModuleFactory factory)
Instantiates a new algorithm node.

Parameters:
factory - the factory
Method Detail

getMapFile

public java.io.File getMapFile()
Gets the map file.

Returns:
the map file

setUserObject

public void setUserObject(java.lang.Object userObject)
Specified by:
setUserObject in interface javax.swing.tree.MutableTreeNode
Overrides:
setUserObject in class javax.swing.tree.DefaultMutableTreeNode