de.unihalle.informatik.Alida.gui
Class ALDOperatorChooserTreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by de.unihalle.informatik.Alida.gui.ALDOperatorChooserTreeNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class ALDOperatorChooserTreeNode
extends javax.swing.tree.DefaultMutableTreeNode

Class for managing nodes of the tree view.

It additionally contains the fully specified class name of the operator and a boolean indicating whether this node is a operator or just a package (containing operators).

The member name of the super class holds the operator name without packages.

Author:
posch
See Also:
Serialized Form

Field Summary
private  ALDOperatorLocation location
          The location object for this node.
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
ALDOperatorChooserTreeNode(java.lang.String name, ALDOperatorLocation location)
          constructor
 
Method Summary
 ALDOperatorLocation getLocation()
          Get location object.
 boolean isOperator()
          Is this node a operator?
 
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, setUserObject, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

location

private ALDOperatorLocation location
The location object for this node. Is null for inner nodes, i.e. nodes which are not operators

Constructor Detail

ALDOperatorChooserTreeNode

ALDOperatorChooserTreeNode(java.lang.String name,
                           ALDOperatorLocation location)
constructor

Parameters:
name - operator name without packages
location - location object
isOperator - is this node a operator?
Method Detail

getLocation

public ALDOperatorLocation getLocation()
Get location object.

Returns:
location object.

isOperator

public boolean isOperator()
Is this node a operator?

Returns: