|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.physics.electricity.circuitry.CircuitElement
org.jscience.physics.electricity.circuitry.elements.TransformerElement
public class TransformerElement
DOCUMENT ME!
| Field Summary | |
|---|---|
double |
a1
DOCUMENT ME! |
double |
a2
DOCUMENT ME! |
double |
a3
DOCUMENT ME! |
double |
a4
DOCUMENT ME! |
int |
coil1ax
DOCUMENT ME! |
int |
coil1ay
DOCUMENT ME! |
int |
coil1bx
DOCUMENT ME! |
int |
coil1by
DOCUMENT ME! |
int |
coil2ax
DOCUMENT ME! |
int |
coil2ay
DOCUMENT ME! |
int |
coil2bx
DOCUMENT ME! |
int |
coil2by
DOCUMENT ME! |
int |
core1ax
DOCUMENT ME! |
int |
core1ay
DOCUMENT ME! |
int |
core1bx
DOCUMENT ME! |
int |
core1by
DOCUMENT ME! |
int |
core2ax
DOCUMENT ME! |
int |
core2ay
DOCUMENT ME! |
int |
core2bx
DOCUMENT ME! |
int |
core2by
DOCUMENT ME! |
double |
curcount1
DOCUMENT ME! |
double |
curcount2
DOCUMENT ME! |
double |
current1
DOCUMENT ME! |
double |
current2
DOCUMENT ME! |
double |
curSourceValue1
DOCUMENT ME! |
double |
curSourceValue2
DOCUMENT ME! |
double |
inductance
DOCUMENT ME! |
double |
ratio
DOCUMENT ME! |
int |
x3
DOCUMENT ME! |
int |
x4
DOCUMENT ME! |
int |
y3
DOCUMENT ME! |
int |
y4
DOCUMENT ME! |
| Fields inherited from class org.jscience.physics.electricity.circuitry.CircuitElement |
|---|
boundingBox, circuitFrame, curcount, current, flags, nodes, noDiagonal, volts, voltSource, x, x2, y, y2 |
| Constructor Summary | |
|---|---|
TransformerElement(int xx,
int yy)
Creates a new TransformerElement object. |
|
TransformerElement(int xa,
int ya,
int xb,
int yb,
int f,
java.util.StringTokenizer st)
Creates a new TransformerElement object. |
|
| Method Summary | |
|---|---|
void |
calculateCurrent()
DOCUMENT ME! |
void |
doStep()
DOCUMENT ME! |
void |
draw(java.awt.Graphics g)
DOCUMENT ME! |
void |
drawCoil(java.awt.Graphics g,
int x1,
int y1,
int x2,
int y2,
int cox,
int coy,
double v1,
double v2)
DOCUMENT ME! |
java.lang.String |
dump()
DOCUMENT ME! |
boolean |
getConnection(int n1,
int n2)
DOCUMENT ME! |
int |
getDumpType()
DOCUMENT ME! |
EditInfo |
getEditInfo(int n)
DOCUMENT ME! |
void |
getInfo(java.lang.String[] arr)
DOCUMENT ME! |
java.awt.Point |
getPost(int n)
DOCUMENT ME! |
int |
getPostCount()
DOCUMENT ME! |
void |
reset()
DOCUMENT ME! |
void |
setEditValue(int n,
EditInfo ei)
DOCUMENT ME! |
void |
setPoints()
DOCUMENT ME! |
void |
stamp()
DOCUMENT ME! |
void |
startIteration()
DOCUMENT ME! |
| Methods inherited from class org.jscience.physics.electricity.circuitry.CircuitElement |
|---|
adjustBbox, allocNodes, canViewInScope, doAdjust, doDots, drag, drawPost, drawPost, drawPosts, drawValues, getBasicInfo, getCircuitFrame, getCurrent, getDumpClass, getInternalNodeCount, getNode, getPower, getScopeUnits, getScopeValue, getVoltageDiff, getVoltageSource, getVoltageSourceCount, hasGroundConnection, isWire, move, movePoint, nonLinear, setBbox, setCircuitFrame, setCurrent, setNode, setNodeVoltage, setPowerColor, setPowerColor, setupAdjust, setVoltageColor, setVoltageSource, updateDotCount, updateDotCount |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public double inductance
public double ratio
public int x3
public int y3
public int x4
public int y4
public int coil1ax
public int coil1ay
public int coil1bx
public int coil1by
public int coil2ax
public int coil2ay
public int coil2bx
public int coil2by
public int core1ax
public int core1ay
public int core1bx
public int core1by
public int core2ax
public int core2ay
public int core2bx
public int core2by
public double current1
public double current2
public double curcount1
public double curcount2
public double a1
public double a2
public double a3
public double a4
public double curSourceValue1
public double curSourceValue2
| Constructor Detail |
|---|
public TransformerElement(int xx,
int yy)
xx - DOCUMENT ME!yy - DOCUMENT ME!
public TransformerElement(int xa,
int ya,
int xb,
int yb,
int f,
java.util.StringTokenizer st)
xa - DOCUMENT ME!ya - DOCUMENT ME!xb - DOCUMENT ME!yb - DOCUMENT ME!f - DOCUMENT ME!st - DOCUMENT ME!| Method Detail |
|---|
public int getDumpType()
getDumpType in class CircuitElementpublic java.lang.String dump()
dump in class CircuitElementpublic void draw(java.awt.Graphics g)
draw in class CircuitElementg - DOCUMENT ME!
public void drawCoil(java.awt.Graphics g,
int x1,
int y1,
int x2,
int y2,
int cox,
int coy,
double v1,
double v2)
g - DOCUMENT ME!x1 - DOCUMENT ME!y1 - DOCUMENT ME!x2 - DOCUMENT ME!y2 - DOCUMENT ME!cox - DOCUMENT ME!coy - DOCUMENT ME!v1 - DOCUMENT ME!v2 - DOCUMENT ME!public void setPoints()
setPoints in class CircuitElementpublic java.awt.Point getPost(int n)
getPost in class CircuitElementn - DOCUMENT ME!
public int getPostCount()
getPostCount in class CircuitElementpublic void reset()
reset in class CircuitElementpublic void stamp()
stamp in class CircuitElementpublic void startIteration()
startIteration in class CircuitElementpublic void doStep()
doStep in class CircuitElementpublic void calculateCurrent()
calculateCurrent in class CircuitElementpublic void getInfo(java.lang.String[] arr)
getInfo in class CircuitElementarr - DOCUMENT ME!
public boolean getConnection(int n1,
int n2)
getConnection in class CircuitElementn1 - DOCUMENT ME!n2 - DOCUMENT ME!
public EditInfo getEditInfo(int n)
getEditInfo in class CircuitElementn - DOCUMENT ME!
public void setEditValue(int n,
EditInfo ei)
setEditValue in class CircuitElementn - DOCUMENT ME!ei - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||