|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
gui.DefaultMutableTreeNodeProtein
public class DefaultMutableTreeNodeProtein
Field Summary | |
---|---|
java.lang.String |
file
|
int |
min_percent
|
java.lang.String |
nodeName
|
java.lang.String |
pdbName
|
int |
percent
|
Protein |
protein
|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
EMPTY_ENUMERATION |
Constructor Summary | |
---|---|
DefaultMutableTreeNodeProtein(java.lang.String nodeName,
java.lang.String pdbName,
int percent)
Creates a node for a protein in the membrane model tree. |
Method Summary | |
---|---|
java.lang.String |
getFile()
Returns filepath of the corresponding pdb file of the protein. |
int |
getMin_percent()
Returns the minimal percent value for the protein at the node in lipid membrane. |
java.lang.String |
getNodeName()
Returns the name of the node in the tree. |
java.lang.String |
getPDBName()
Returns the pdb code of the corresponding protein. |
int |
getPercent()
Returns the percent value of the protein in the membrane. |
Protein |
getProtein()
Returns the protein at this node. |
void |
setFile(java.lang.String file)
Sets the filepath of the corresponding pdb file of the protein. |
void |
setMin_percent(int min_percent)
Sets the minimal percent value for the protein at the node in lipid membrane. |
void |
setNodeName(java.lang.String nodeName)
Sets the node name of the node in the tree. |
void |
setPDBName(java.lang.String name)
Sets the pdbname of the corresponding protein object. |
void |
setPercent(int a)
Sets the percent value of the protein in the membrane. |
void |
setProtein(Protein protein)
Sets the protein object to the node. |
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 int percent
public java.lang.String file
public java.lang.String pdbName
public java.lang.String nodeName
public Protein protein
public int min_percent
Constructor Detail |
---|
public DefaultMutableTreeNodeProtein(java.lang.String nodeName, java.lang.String pdbName, int percent)
nodeName
- node name of the protein node.pdbName
- pdb code of the protein node.percent
- percent value of the protein in the membrane.Method Detail |
---|
public int getPercent()
public void setPercent(int a)
a
- The percent to set.public void setFile(java.lang.String file)
file
- The file to set.public java.lang.String getFile()
public void setPDBName(java.lang.String name)
name
- The name to set.public java.lang.String getPDBName()
public void setProtein(Protein protein)
protein
- The protein to set.public Protein getProtein()
public java.lang.String getNodeName()
public void setNodeName(java.lang.String nodeName)
nodeName
- The nodeName to set.public int getMin_percent()
public void setMin_percent(int min_percent)
min_percent
- The min_percent to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |