|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
gui.DefaultMutableTreeNodeKatagory
public class DefaultMutableTreeNodeKatagory
Field Summary | |
---|---|
int |
ideal_value
|
int |
is_value
|
java.lang.String |
name
|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
EMPTY_ENUMERATION |
Constructor Summary | |
---|---|
DefaultMutableTreeNodeKatagory(java.lang.String name,
int percent)
Constructs a node object for a category in the membrane model tree. |
Method Summary | |
---|---|
int |
getIdeal_value()
Returns the ideal value of the kategory. |
int |
getIs_value()
Returns the is_value of the category node. |
java.lang.String |
getName()
Returns the node name. |
void |
setIdeal_value(int ideal_value)
Sets the ideal value of the kategory node. |
void |
setIs_value(int is_value)
Sets the is_value of the category node. |
void |
setName(java.lang.String name)
Sets the node name. |
void |
update_is_value(int add)
Adds to the current percent value of the category an additional value (for example when adding a new protein to the component). |
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 is_value
public java.lang.String name
public int ideal_value
Constructor Detail |
---|
public DefaultMutableTreeNodeKatagory(java.lang.String name, int percent)
name
- name of the node.percent
- percent value of the protein, which should be first added to the component.Method Detail |
---|
public void update_is_value(int add)
add
- new percent value to add.public int getIs_value()
public void setIs_value(int is_value)
is_value
- The is_value to set.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public int getIdeal_value()
public void setIdeal_value(int ideal_value)
ideal_value
- The ideal_value to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |