main
Class NodeTemplate
java.lang.Object
main.NodeTemplate
- public class NodeTemplate
- extends java.lang.Object
Constructor Summary |
NodeTemplate(java.lang.String name,
int num)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RNA
public static final int RNA
- See Also:
- Constant Field Values
PROTEIN
public static final int PROTEIN
- See Also:
- Constant Field Values
COMPLEX
public static final int COMPLEX
- See Also:
- Constant Field Values
INPUT
public static final int INPUT
- See Also:
- Constant Field Values
SUM
public static final int SUM
- See Also:
- Constant Field Values
RATIO
public static final int RATIO
- See Also:
- Constant Field Values
WEIGHTEDSUM
public static final int WEIGHTEDSUM
- See Also:
- Constant Field Values
STEADYSTATE
public static final int STEADYSTATE
- See Also:
- Constant Field Values
POSITION_NOT_SET
public static final int POSITION_NOT_SET
- See Also:
- Constant Field Values
NodeTemplate
public NodeTemplate(java.lang.String name,
int num)
addAffector
public void addAffector(AffectorTemplate aff)
makeNode
public Node makeNode()
getShow
public boolean getShow()
setShow
public void setShow(boolean flag)
getColor
public java.awt.Color getColor()
setColor
public void setColor(java.awt.Color color)
getType
public int getType()
setType
public void setType(int node_type)
getYScale
public float getYScale()
setYScale
public void setYScale(float scale)
getXPos
public int getXPos()
setXPos
public void setXPos(int x)
getYPos
public int getYPos()
setYPos
public void setYPos(int y)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getNodeNum
public int getNodeNum()
setNodeNum
public void setNodeNum(int num)
setCalculatorNode
public void setCalculatorNode(boolean b)
getIcon
public javax.swing.ImageIcon getIcon()
- Returns the ImagIcon that is used to represnt this type of node for
various editors and viewers.
- Returns:
- ImageIcon - The icon.
getAffectors
public java.util.Vector getAffectors()
getNumAffectors
public int getNumAffectors()
readSetup
public void readSetup(BetterTokenizer tokenizer)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadParameter
protected void loadParameter(java.lang.String info,
BetterTokenizer tokenizer)
throws java.lang.Exception
- Throws:
java.lang.Exception
toString
public void toString(java.io.PrintWriter pw,
java.lang.String indent)
affectorsToString
public void affectorsToString(java.io.PrintWriter pw,
java.lang.String indent)