gui
Class DefaultMutableTreeNodeFile

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by gui.DefaultMutableTreeNodeFile
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class DefaultMutableTreeNodeFile
extends javax.swing.tree.DefaultMutableTreeNode

See Also:
Serialized Form

Field Summary
 java.lang.String file
           
 java.lang.String pdbname
           
 Protein protein
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
EMPTY_ENUMERATION
 
Constructor Summary
DefaultMutableTreeNodeFile(java.lang.String pdbname, java.lang.String file)
          Constructs a node object for the pdb tree.
 
Method Summary
 java.lang.String getFile()
          Returns the filepath of the pdb file.
 java.lang.String getName()
          Returns the pdb code of the pdb file
 void setFile(java.lang.String file)
          Sets the filepath of the pdb file.
 
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

file

public java.lang.String file

pdbname

public java.lang.String pdbname

protein

public Protein protein
Constructor Detail

DefaultMutableTreeNodeFile

public DefaultMutableTreeNodeFile(java.lang.String pdbname,
                                  java.lang.String file)
Constructs a node object for the pdb tree.

Parameters:
pdbname - the pdb code of the pdb file.
file - relative file path of the pdb file.
Method Detail

getFile

public java.lang.String getFile()
Returns the filepath of the pdb file.

Returns:
Returns the file.

setFile

public void setFile(java.lang.String file)
Sets the filepath of the pdb file.

Parameters:
file - The filepath to set.

getName

public java.lang.String getName()
Returns the pdb code of the pdb file

Returns:
Returns the pdbname.