|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
gui.DefaultMutableTreeNodeFile
public class DefaultMutableTreeNodeFile
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 |
---|
public java.lang.String file
public java.lang.String pdbname
public Protein protein
Constructor Detail |
---|
public DefaultMutableTreeNodeFile(java.lang.String pdbname, java.lang.String file)
pdbname
- the pdb code of the pdb file.file
- relative file path of the pdb file.Method Detail |
---|
public java.lang.String getFile()
public void setFile(java.lang.String file)
file
- The filepath to set.public java.lang.String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |