All Packages Class Hierarchy This Package Previous Next Index
Class jschem.voltElement
java.lang.Object
|
+----jschem.electricElement
|
+----jschem.voltElement
- public class voltElement
- extends electricElement
-
voltElement(int, int, int, int)
-
-
genParam()
- Generates a parameter string for display.
-
setProps()
-
This method is called to update the form entries.
-
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).
voltElement
public voltElement(int x,
int y,
int gr,
int r)
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
setProps
public void setProps()
- This method is called to update the form entries.
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
All Packages Class Hierarchy This Package Previous Next Index