All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jschem.voltElement

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

public class voltElement
extends electricElement

Constructor Index

 o voltElement(int, int, int, int)

Method Index

 o genParam()
Generates a parameter string for display.
 o setProps()
This method is called to update the form entries.
 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 voltElement
 public voltElement(int x,
                    int y,
                    int gr,
                    int r)

Methods

 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
 o setProps
 public void setProps()
This method is called to update the form entries.

 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

All Packages  Class Hierarchy  This Package  Previous  Next  Index