All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jschem.mosElement

java.lang.Object
   |
   +----jschem.electricElement
           |
           +----jschem.mosElement

public class mosElement
extends electricElement

Constructor Index

 o mosElement(int, int, int, int)

Method Index

 o genParam()
Generates a parameter string for display.
 o toString(int)
Gives a SPICE line for a given instance number.
 o updateChoice(Choice)
This method is called when a choice in the parameter form is changed (to do further updates).

Constructors

 o mosElement
 public mosElement(int x,
                   int y,
                   int gr,
                   int r)

Methods

 o genParam
 public String genParam()
Generates a parameter string for display.

Returns:
the parameter string
Overrides:
genParam in class electricElement
 o 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
 o 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