edu.berkeley.guir.papier_mache
Class PMacheTreePanel.PMacheTreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by edu.berkeley.guir.papier_mache.PMacheTreePanel.PMacheTreeNode
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode
Direct Known Subclasses:
AssociationTreeTable.PMTreeTableNode, PMacheStatePanel.PhobTreeNode
Enclosing class:
PMacheTreePanel

public abstract class PMacheTreePanel.PMacheTreeNode
extends javax.swing.tree.DefaultMutableTreeNode

See Also:
Serialized Form

Field Summary
static int ADDED
           
static int CREATED
           
static int NORMAL
           
static int REMOVED
           
static int UPDATED
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
EMPTY_ENUMERATION
 
Constructor Summary
PMacheTreePanel.PMacheTreeNode(java.lang.Object userObject)
           
 
Method Summary
abstract  void addObject()
           
abstract  javax.swing.Icon getIcon()
           
 boolean isAdded()
           
 boolean isCreated()
           
 boolean isRemoved()
           
 boolean isUpdated()
           
abstract  void removeObject()
           
 void setState(int nodeState)
           
abstract  void updateAllViewsToThisSelection()
           
 
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, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NORMAL

public static final int NORMAL
See Also:
Constant Field Values

CREATED

public static final int CREATED
See Also:
Constant Field Values

ADDED

public static final int ADDED
See Also:
Constant Field Values

UPDATED

public static final int UPDATED
See Also:
Constant Field Values

REMOVED

public static final int REMOVED
See Also:
Constant Field Values
Constructor Detail

PMacheTreePanel.PMacheTreeNode

public PMacheTreePanel.PMacheTreeNode(java.lang.Object userObject)
Method Detail

isCreated

public boolean isCreated()

isAdded

public boolean isAdded()

isUpdated

public boolean isUpdated()

isRemoved

public boolean isRemoved()

setState

public void setState(int nodeState)

getIcon

public abstract javax.swing.Icon getIcon()

addObject

public abstract void addObject()

removeObject

public abstract void removeObject()

updateAllViewsToThisSelection

public abstract void updateAllViewsToThisSelection()