mae.mj3
Class MJ.Program

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended bymae.mj3.MJ.Node
          extended bymae.mj3.MJ.Program
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode
Enclosing class:
MJ

public static class MJ.Program
extends MJ.Node

A mJ program containing an array of methods

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Method Summary
 java.lang.Object accept(Translator t)
          Accepts a visitor (Translator) to this program
 void run()
          Starts a new Thread to run this program
 java.lang.String toString()
          String representation of this node
 
Methods inherited from class mae.mj3.MJ.Node
add, clone, getDepth, setPosition, vm
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, 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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

run

public void run()
Starts a new Thread to run this program


accept

public java.lang.Object accept(Translator t)
Accepts a visitor (Translator) to this program


toString

public java.lang.String toString()
Description copied from class: MJ.Node
String representation of this node

Specified by:
toString in class MJ.Node