org.jscience.physics.electricity.circuitry
Class Scope

java.lang.Object
  extended by org.jscience.physics.electricity.circuitry.Scope

public class Scope
extends java.lang.Object

DOCUMENT ME!


Field Summary
 CircuitFrame circuitFrame
           
 int ctr
          DOCUMENT ME!
 CircuitElement elm
          DOCUMENT ME!
 boolean lockScale
          DOCUMENT ME!
 double[] maxI
          DOCUMENT ME!
 double[] maxV
          DOCUMENT ME!
 double[] minI
          DOCUMENT ME!
 double minMaxI
          DOCUMENT ME!
 double minMaxV
          DOCUMENT ME!
 double[] minV
          DOCUMENT ME!
 int position
          DOCUMENT ME!
 int ptr
          DOCUMENT ME!
 java.awt.Rectangle rect
          DOCUMENT ME!
 int scopePointCount
          DOCUMENT ME!
static int SCOPEVAL_IB
           
static int SCOPEVAL_IC
           
static int SCOPEVAL_IE
           
static int SCOPEVAL_POWER
           
static int SCOPEVAL_VBC
           
static int SCOPEVAL_VBE
           
static int SCOPEVAL_VCE
           
 boolean showFreq
          DOCUMENT ME!
 boolean showI
          DOCUMENT ME!
 boolean showMax
          DOCUMENT ME!
 boolean showV
          DOCUMENT ME!
 int speed
          DOCUMENT ME!
 java.lang.String text
          DOCUMENT ME!
 int value
          DOCUMENT ME!
 
Constructor Summary
Scope()
          Creates a new Scope object.
 
Method Summary
 boolean active()
          DOCUMENT ME!
 void adjustScale(double x)
          DOCUMENT ME!
 void draw(java.awt.Graphics g)
          DOCUMENT ME!
 java.lang.String dump()
          DOCUMENT ME!
 CircuitFrame getCircuitFrame()
           
 java.awt.PopupMenu getMenu()
          DOCUMENT ME!
 int getWidth()
          DOCUMENT ME!
 void reset()
          DOCUMENT ME!
 void resetGraph()
          DOCUMENT ME!
 int rightEdge()
          DOCUMENT ME!
 void setCircuitFrame(CircuitFrame circuitFrame)
           
 void setElement(CircuitElement ce)
          DOCUMENT ME!
 void setLockScale(boolean b)
          DOCUMENT ME!
 void setRect(java.awt.Rectangle r)
          DOCUMENT ME!
 void setValue(int x)
          DOCUMENT ME!
 void showCurrent(boolean b)
          DOCUMENT ME!
 void showFreq(boolean b)
          DOCUMENT ME!
 void showMax(boolean b)
          DOCUMENT ME!
 void showVoltage(boolean b)
          DOCUMENT ME!
 void slowDown()
          DOCUMENT ME!
 void speedUp()
          DOCUMENT ME!
 void timeStep()
          DOCUMENT ME!
 void undump(java.util.StringTokenizer st)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCOPEVAL_POWER

public static final int SCOPEVAL_POWER
See Also:
Constant Field Values

SCOPEVAL_IB

public static final int SCOPEVAL_IB
See Also:
Constant Field Values

SCOPEVAL_IC

public static final int SCOPEVAL_IC
See Also:
Constant Field Values

SCOPEVAL_IE

public static final int SCOPEVAL_IE
See Also:
Constant Field Values

SCOPEVAL_VBE

public static final int SCOPEVAL_VBE
See Also:
Constant Field Values

SCOPEVAL_VBC

public static final int SCOPEVAL_VBC
See Also:
Constant Field Values

SCOPEVAL_VCE

public static final int SCOPEVAL_VCE
See Also:
Constant Field Values

circuitFrame

public CircuitFrame circuitFrame

minV

public double[] minV
DOCUMENT ME!


maxV

public double[] maxV
DOCUMENT ME!


minMaxV

public double minMaxV
DOCUMENT ME!


minI

public double[] minI
DOCUMENT ME!


maxI

public double[] maxI
DOCUMENT ME!


minMaxI

public double minMaxI
DOCUMENT ME!


scopePointCount

public int scopePointCount
DOCUMENT ME!


ptr

public int ptr
DOCUMENT ME!


ctr

public int ctr
DOCUMENT ME!


speed

public int speed
DOCUMENT ME!


position

public int position
DOCUMENT ME!


value

public int value
DOCUMENT ME!


text

public java.lang.String text
DOCUMENT ME!


rect

public java.awt.Rectangle rect
DOCUMENT ME!


showI

public boolean showI
DOCUMENT ME!


showV

public boolean showV
DOCUMENT ME!


showMax

public boolean showMax
DOCUMENT ME!


showFreq

public boolean showFreq
DOCUMENT ME!


lockScale

public boolean lockScale
DOCUMENT ME!


elm

public CircuitElement elm
DOCUMENT ME!

Constructor Detail

Scope

public Scope()
Creates a new Scope object.

Method Detail

getCircuitFrame

public CircuitFrame getCircuitFrame()

setCircuitFrame

public void setCircuitFrame(CircuitFrame circuitFrame)

showCurrent

public void showCurrent(boolean b)
DOCUMENT ME!

Parameters:
b - DOCUMENT ME!

showVoltage

public void showVoltage(boolean b)
DOCUMENT ME!

Parameters:
b - DOCUMENT ME!

showMax

public void showMax(boolean b)
DOCUMENT ME!

Parameters:
b - DOCUMENT ME!

showFreq

public void showFreq(boolean b)
DOCUMENT ME!

Parameters:
b - DOCUMENT ME!

setLockScale

public void setLockScale(boolean b)
DOCUMENT ME!

Parameters:
b - DOCUMENT ME!

resetGraph

public void resetGraph()
DOCUMENT ME!


active

public boolean active()
DOCUMENT ME!

Returns:
DOCUMENT ME!

reset

public void reset()
DOCUMENT ME!


setRect

public void setRect(java.awt.Rectangle r)
DOCUMENT ME!

Parameters:
r - DOCUMENT ME!

getWidth

public int getWidth()
DOCUMENT ME!

Returns:
DOCUMENT ME!

rightEdge

public int rightEdge()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setElement

public void setElement(CircuitElement ce)
DOCUMENT ME!

Parameters:
ce - DOCUMENT ME!

timeStep

public void timeStep()
DOCUMENT ME!


adjustScale

public void adjustScale(double x)
DOCUMENT ME!

Parameters:
x - DOCUMENT ME!

draw

public void draw(java.awt.Graphics g)
DOCUMENT ME!

Parameters:
g - DOCUMENT ME!

speedUp

public void speedUp()
DOCUMENT ME!


slowDown

public void slowDown()
DOCUMENT ME!


getMenu

public java.awt.PopupMenu getMenu()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setValue

public void setValue(int x)
DOCUMENT ME!

Parameters:
x - DOCUMENT ME!

dump

public java.lang.String dump()
DOCUMENT ME!

Returns:
DOCUMENT ME!

undump

public void undump(java.util.StringTokenizer st)
DOCUMENT ME!

Parameters:
st - DOCUMENT ME!