All Packages Class Hierarchy This Package Previous Next Index
Class jschem.mosElement
java.lang.Object
|
+----jschem.electricElement
|
+----jschem.mosElement
- public class mosElement
- extends electricElement
-
mosElement(int, int, int, int)
-
-
genParam()
- Generates a parameter string for display.
-
toString(int)
- Gives a SPICE line for a given instance number.
-
updateChoice(Choice)
-
This method is called when a choice in the parameter form
is changed (to do further updates).
mosElement
public mosElement(int x,
int y,
int gr,
int r)
genParam
public String genParam()
- Generates a parameter string for display.
- Returns:
- the parameter string
- Overrides:
- genParam in class electricElement
toString
public String toString(int inst)
- Gives a SPICE line for a given instance number.
Overwritten version.
- Parameters:
- inst - number of this instance.
- Returns:
- a SPICE conform netlist line
- Overrides:
- toString in class electricElement
updateChoice
public void updateChoice(Choice choice)
- This method is called when a choice in the parameter form
is changed (to do further updates).
- Parameters:
- chouce - the Choice object which was changed
- Overrides:
- updateChoice in class electricElement
All Packages Class Hierarchy This Package Previous Next Index