

PREV NEXT  FRAMES NO FRAMES 
ArithmeticExpressionException
with no detail message.
ArithmeticExpressionException
with the specified detail message.
FunctionLab
equation graphing
package. Panel
that optionally draws a border around itself.
insets=2
, and border showing.
true
when running under a web browser;
false
when running as an application.
LayoutManager
for the top level of the applet, it switches between
a help screen or the regular view of the equations, graph, table, etc.
Assembler
that handles specific
constant values such as pi
or e
.
constants = 'pi'  'e'.
D
 DiffEqEquationIterator  class com.myphysicslab.graphlab.DiffEqEquationIterator.
 An
EquationIterator
for difference equations, which have initial conditions and
where the independent variable n
steps forward by discrete units.
 DiffEqEquationIterator(String[], String[], double, double) 
Constructor for class com.myphysicslab.graphlab.DiffEqEquationIterator
 Constructs a DiffEqEquationInterator with the given equations, initial conditions,
and starting value.
 DiffEqParser  class com.myphysicslab.graphlab.arithmetic.DiffEqParser.
 This class provides a parser that recognizes
arithmetic expressions for the
DifferenceEqLab
equation graphing
applet.  DiffEqParser() 
Constructor for class com.myphysicslab.graphlab.arithmetic.DiffEqParser

 diffEqSymbol() 
Method in class com.myphysicslab.graphlab.arithmetic.DiffEqParser
 Returns a parser that for the grammar rule:
diffEqSymbol= ('u'  'v'  'w') '(' 'n' '' '1' ')'.
DiffEqSymbolAssembler  class com.myphysicslab.graphlab.arithmetic.DiffEqSymbolAssembler.
The stack should have a token, u, v,
or w,
indicating what
difference equation value is desired; we pop that and push the
desired difference equation value.
DiffEqSymbolAssembler() 
Constructor for class com.myphysicslab.graphlab.arithmetic.DiffEqSymbolAssembler
DiffEqVariableAssembler  class com.myphysicslab.graphlab.arithmetic.DiffEqVariableAssembler.
The stack should have a token n
indicating what
variable is desired; we pop that and push the
desired variable.
DiffEqVariableAssembler() 
Constructor for class com.myphysicslab.graphlab.arithmetic.DiffEqVariableAssembler
DifferenceEqLab  class com.myphysicslab.graphlab.DifferenceEqLab.
A graphing calculator very similar to FunctionLab
,
but with difference equations.
DifferenceEqLab() 
Constructor for class com.myphysicslab.graphlab.DifferenceEqLab
A constructor that does nothing; because the applet is not
yet loaded by the browser, so there is no window at this point.
DifferenceEqLab(boolean) 
Constructor for class com.myphysicslab.graphlab.DifferenceEqLab
A constructor that does almost nothing; it only sets the field
EnviroMathLab.browserMode
to indicate whether we are running under
a web browser.
DivideAssembler  class com.myphysicslab.graphlab.arithmetic.DivideAssembler.
Pop two numbers from the stack and push the result of
dividing the top number into the one below it.
DivideAssembler() 
Constructor for class com.myphysicslab.graphlab.arithmetic.DivideAssembler
divideFactor() 
Method in class com.myphysicslab.graphlab.arithmetic.ArithmeticParser
Returns a parser that for the grammar rule:
divideFactor = '/' factor.
DOTS 
Static variable in class com.myphysicslab.graphlab.Graph
Specifies whether dots or lines are drawn.
DoublePair  class com.myphysicslab.graphlab.DoublePair.
Provides a way to pass two double
's
(named x
and y
) as a single object.
DoublePair(double, double) 
Constructor for class com.myphysicslab.graphlab.DoublePair
E
 EnviroMathLab  class com.myphysicslab.graphlab.EnviroMathLab.
 An abstract class containing common code for
the EnviroMath graphing calculators.
 EnviroMathLab() 
Constructor for class com.myphysicslab.graphlab.EnviroMathLab

 EnviroMathLab(boolean) 
Constructor for class com.myphysicslab.graphlab.EnviroMathLab
 A constructor that does almost nothing; it only sets the field
EnviroMathLab.browserMode
to indicate whether we are running under
a web browser.
 eqns 
Variable in class com.myphysicslab.graphlab.EquationIterator
 An array of strings, each of which represents an equation.
 equation1 
Variable in class com.myphysicslab.graphlab.FunctionLab
 The
TextField
where the user can enter the equation.
 equation1 
Variable in class com.myphysicslab.graphlab.DifferenceEqLab
 The
TextField
where the user can enter the equation.
 equation2 
Variable in class com.myphysicslab.graphlab.FunctionLab
 The
TextField
where the user can enter the equation.
 equation2 
Variable in class com.myphysicslab.graphlab.DifferenceEqLab
 The
TextField
where the user can enter the equation.
 equation3 
Variable in class com.myphysicslab.graphlab.FunctionLab
 The
TextField
where the user can enter the equation.
 equation3 
Variable in class com.myphysicslab.graphlab.DifferenceEqLab
 The
TextField
where the user can enter the equation.
 equation4 
Variable in class com.myphysicslab.graphlab.FunctionLab
 The
TextField
where the user can enter the equation.
 EquationDefiner  interface com.myphysicslab.graphlab.EquationDefiner.
 Defines a set of equations, along with the range of
x
and y
values to display the equations, and provides an
EquationIterator
for a graph or table to step through the values of the equations.  EquationIterator  class com.myphysicslab.graphlab.EquationIterator.
 Enables a client (typically a table or graph) to get a series of
x
and y
values from
a set of equations, without knowing anything about how to evaluate
the equations.
 EquationIterator(String[]) 
Constructor for class com.myphysicslab.graphlab.EquationIterator
 Constructs an
EquationIterator
with the given set of equation strings.
 EquationListener  class com.myphysicslab.graphlab.EquationListener.
 When changes are made to a
TextField
containing an equation or parameter
this listener causes the graph and table to redraw.  EquationListener(Graph, Table) 
Constructor for class com.myphysicslab.graphlab.EquationListener
 Creates an
EquationListener
that will cause
the specified graph and table to update when the TextField
it is
listening to changes.
 EquationListener(Graph, Table, int) 
Constructor for class com.myphysicslab.graphlab.EquationListener
 An
EquationListener
that enforces a minimum
value on the TextField
, and updates the graph and table when
the TextField
changes.
 exists(int) 
Method in class com.myphysicslab.graphlab.EquationIterator
 Tells whether the given equation exists.
 ExpAssembler  class com.myphysicslab.graphlab.arithmetic.ExpAssembler.
 Pop two numbers from the stack and push the result of
exponentiating the lower number to the upper one.
 ExpAssembler() 
Constructor for class com.myphysicslab.graphlab.arithmetic.ExpAssembler

 expFactor() 
Method in class com.myphysicslab.graphlab.arithmetic.ArithmeticParser
 Returns a parser that for the grammar rule:
expFactor = '^' factor.
expression 
Variable in class com.myphysicslab.graphlab.arithmetic.ArithmeticParser
Lazy initialization here avoids the infinite
recursion inherent in the grammar.
expression() 
Method in class com.myphysicslab.graphlab.arithmetic.ArithmeticParser
Returns a parser that will recognize an arithmetic
expression.
F
 factor 
Variable in class com.myphysicslab.graphlab.arithmetic.ArithmeticParser
 Lazy initialization here avoids the infinite
recursion inherent in the grammar.
 factor() 
Method in class com.myphysicslab.graphlab.arithmetic.ArithmeticParser
 Returns a parser that for the grammar rule:
factor = phrase expFactor  phrase.
FAT 
Static variable in class com.myphysicslab.graphlab.Graph
Specifies thickness for drawing dots or lines.
focusLost(FocusEvent) 
Method in class com.myphysicslab.graphlab.EquationListener
formatNum(double) 
Static method in class com.myphysicslab.graphlab.Utility
Formats a number in decimal format if possible,
but switches to scientific (exponential) notation
when the number is very large or very small.
frame 
Static variable in class com.myphysicslab.graphlab.EnviroMathLab
The window that this applet appears within.
function() 
Method in class com.myphysicslab.graphlab.arithmetic.ArithmeticParser
Returns a parser that for the grammar rule:
function = 'sin'  'cos'  'log'  'exp'  'tan'  'sqrt'  'abs'.
FunctionAssembler  class com.myphysicslab.graphlab.arithmetic.FunctionAssembler.
The stack should have a number on top, and the name of
the function to apply below that; pop those and push
the result of applying the function to the number.
FunctionAssembler() 
Constructor for class com.myphysicslab.graphlab.arithmetic.FunctionAssembler
FunctionLab  class com.myphysicslab.graphlab.FunctionLab.
A graphing calculator that allows the user to enter equations and
see the equations in graph and table form.
FunctionLab() 
Constructor for class com.myphysicslab.graphlab.FunctionLab
A constructor that does nothing; because the applet is not
yet loaded by the browser, so there is no window at this point.
FunctionLab(boolean) 
Constructor for class com.myphysicslab.graphlab.FunctionLab
A constructor that does almost nothing; it only sets the field
EnviroMathLab.browserMode
to indicate whether we are running under
a web browser.
G
 getApplet(String) 
Method in class com.myphysicslab.graphlab.MyFrame

 getAppletContext() 
Method in class com.myphysicslab.graphlab.MyFrame

 getAppletInfo() 
Method in class com.myphysicslab.graphlab.FunctionLab

 getAppletInfo() 
Method in class com.myphysicslab.graphlab.DifferenceEqLab

 getApplets() 
Method in class com.myphysicslab.graphlab.MyFrame

 getAudioClip(URL) 
Method in class com.myphysicslab.graphlab.MyFrame

 getBorder() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns the border parameter which specifies whether to draw
a border around the entire applet.
 getCodeBase() 
Method in class com.myphysicslab.graphlab.MyFrame

 getColors() 
Method in interface com.myphysicslab.graphlab.EquationDefiner
 Returns an array of
Color
, one for each equation, to be used when
drawing the equations.
 getColors() 
Method in class com.myphysicslab.graphlab.EnviroMathLab

 getDocumentBase() 
Method in class com.myphysicslab.graphlab.MyFrame

 getDrawMode() 
Method in class com.myphysicslab.graphlab.Graph
 Returns the drawing mode, either
Graph.LINES
or Graph.DOTS
.
 getEquation(int) 
Method in interface com.myphysicslab.graphlab.EquationDefiner
 Returns a
String
version of the equation.
 getEquation(int) 
Method in class com.myphysicslab.graphlab.EnviroMathLab

 getEquation(int) 
Method in class com.myphysicslab.graphlab.EquationIterator
 Returns string of the equation.
 getEquations() 
Method in class com.myphysicslab.graphlab.FunctionLab

 getEquations() 
Method in interface com.myphysicslab.graphlab.EquationDefiner
 Returns an array of
String
's of equations,
for all the defined equations.
 getEquations() 
Method in class com.myphysicslab.graphlab.DifferenceEqLab

 getFontSize() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns the font size to use for text in the applet.
 getHelpText() 
Method in class com.myphysicslab.graphlab.FunctionLab

 getHelpText() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns the help text about how to use this applet.
 getHelpText() 
Method in class com.myphysicslab.graphlab.DifferenceEqLab

 getImage() 
Method in class com.myphysicslab.graphlab.Graph
 Returns an
Image
of the graph, suitable for placing
on the clipboard.
 getImage(URL) 
Method in class com.myphysicslab.graphlab.MyFrame

 getInsets() 
Method in class com.myphysicslab.graphlab.BorderedContainer

 getMinimumSize() 
Method in class com.myphysicslab.graphlab.TraceButtons
 Specifies a minimum size that is same as the preferred size.
 getMinimumSize() 
Method in class com.myphysicslab.graphlab.TableButtons
 Specifies a minimum size that is same as the preferred size.
 getMinimumSize() 
Method in class com.myphysicslab.graphlab.Table
 Specifies a minimum size that is same as the preferred size.
 getMinimumSize() 
Method in class com.myphysicslab.graphlab.Graph
 Specifies a minimum size that is same as the preferred size.
 getNumEquations() 
Method in class com.myphysicslab.graphlab.FunctionLab

 getNumEquations() 
Method in interface com.myphysicslab.graphlab.EquationDefiner
 Returns the maximum number of equations this applet can display,
or total number of equation 'slots'.
 getNumEquations() 
Method in class com.myphysicslab.graphlab.EnviroMathLab

 getNumEquations() 
Method in class com.myphysicslab.graphlab.DifferenceEqLab

 getNumEquations() 
Method in class com.myphysicslab.graphlab.EquationIterator
 Returns the total number of equation slots available.
 getParameter(String) 
Method in class com.myphysicslab.graphlab.MyFrame
 This method is only used in standalone application mode,
to supply parameters to the applet.
 getPreferredSize() 
Method in class com.myphysicslab.graphlab.TraceButtons
 Specifies a preferred size of 100 wide by 100 tall.
 getPreferredSize() 
Method in class com.myphysicslab.graphlab.TableButtons
 Specifies a preferred size of 25 wide by 100 tall.
 getPreferredSize() 
Method in class com.myphysicslab.graphlab.Table
 Specifies a preferred size of 680 wide by 250 tall.
 getPreferredSize() 
Method in class com.myphysicslab.graphlab.Graph
 Specifies a preferred size of 500 wide by 350 tall.
 getStream(String) 
Method in class com.myphysicslab.graphlab.MyFrame

 getStreamKeys() 
Method in class com.myphysicslab.graphlab.MyFrame

 getTableXMin() 
Method in interface com.myphysicslab.graphlab.EquationDefiner
 Returns the starting
x
value for the table view of the equations.
 getTableXMin() 
Method in class com.myphysicslab.graphlab.EnviroMathLab

 getTableXStep() 
Method in interface com.myphysicslab.graphlab.EquationDefiner
 Returns the
x
step (increment amount) for the table view of the equations.
 getTableXStep() 
Method in class com.myphysicslab.graphlab.EnviroMathLab

 getText() 
Method in class com.myphysicslab.graphlab.Table
 Returns a text representation of the table, suitable for putting on the clipboard.
 getThickness() 
Method in class com.myphysicslab.graphlab.Graph
 Returns the thickness for drawing lines or dots.
 getTransferData(DataFlavor) 
Method in class com.myphysicslab.graphlab.ImageSelection
 Returns the
Image
if the flavor requested is
DataFlavor.imageFlavor
.
 getTransferDataFlavors() 
Method in class com.myphysicslab.graphlab.ImageSelection
 Returns supported flavors, which in this case is only
DataFlavor.imageFlavor
.
 getVersion() 
Method in class com.myphysicslab.graphlab.FunctionLab
 Returns a
String
of version information for this applet and java version.
 getVersion() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns a string identifying the version of this applet, and the java version.
 getVersion() 
Method in class com.myphysicslab.graphlab.DifferenceEqLab
 Returns a
String
of version information for this applet and java version.
 getXMax() 
Method in interface com.myphysicslab.graphlab.EquationDefiner
 Returns maximum
x
value (right side of graph).
 getXMax() 
Method in class com.myphysicslab.graphlab.EnviroMathLab

 getXMin() 
Method in interface com.myphysicslab.graphlab.EquationDefiner
 Returns minimum
x
value (left side of graph).
 getXMin() 
Method in class com.myphysicslab.graphlab.EnviroMathLab

 getXName() 
Method in interface com.myphysicslab.graphlab.EquationDefiner
 Returns the string that represents the independent variable (usually X).
 getXName() 
Method in class com.myphysicslab.graphlab.EnviroMathLab

 getXName() 
Method in class com.myphysicslab.graphlab.DifferenceEqLab

 getXValue() 
Method in class com.myphysicslab.graphlab.StandardEquationIterator

 getXValue() 
Method in class com.myphysicslab.graphlab.EquationIterator
 Returns the current
x
value, which is the independent variable.
 getXValue() 
Method in class com.myphysicslab.graphlab.DiffEqEquationIterator

 getYMax() 
Method in interface com.myphysicslab.graphlab.EquationDefiner
 Returns maximum
y
value (top side of graph).
 getYMax() 
Method in class com.myphysicslab.graphlab.EnviroMathLab

 getYMin() 
Method in interface com.myphysicslab.graphlab.EquationDefiner
 Returns minimum
y
value (bottom side of graph).
 getYMin() 
Method in class com.myphysicslab.graphlab.EnviroMathLab

 getYValue(int) 
Method in class com.myphysicslab.graphlab.StandardEquationIterator

 getYValue(int) 
Method in class com.myphysicslab.graphlab.EquationIterator
 Returns the current
y
value of the desired equation.
 getYValue(int) 
Method in class com.myphysicslab.graphlab.DiffEqEquationIterator
 Returns the current value of the desired equation.
 graph 
Static variable in class com.myphysicslab.graphlab.EnviroMathLab
 Provides the graph view of the equations.
 Graph  class com.myphysicslab.graphlab.Graph.
 Displays a graph of several equations which are
specified via an
EquationDefiner
.
 Graph(EquationDefiner, boolean) 
Constructor for class com.myphysicslab.graphlab.Graph
 Creates a new graph showing the equations from the
specified
EquationDefiner
.
I
 ImageSelection  class com.myphysicslab.graphlab.ImageSelection.
 Holds an image while on the clipboard.
 ImageSelection(Image) 
Constructor for class com.myphysicslab.graphlab.ImageSelection
 Creates a new
ImageSelection
to hold the
given Image
while it is on the clipboard.
 init() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Initializes this applet by creating the user interface
and other objects needed.
 initCondA 
Variable in class com.myphysicslab.graphlab.DifferenceEqLab
 The
TextField
where the user can enter the initial condition
for the corresponding equation.
 initCondB 
Variable in class com.myphysicslab.graphlab.DifferenceEqLab
 The
TextField
where the user can enter the initial condition
for the corresponding equation.
 initCondC 
Variable in class com.myphysicslab.graphlab.DifferenceEqLab
 The
TextField
where the user can enter the initial condition
for the corresponding equation.
 isActive() 
Method in class com.myphysicslab.graphlab.MyFrame

 isDataFlavorSupported(DataFlavor) 
Method in class com.myphysicslab.graphlab.ImageSelection
 Returns
true
if specified flavor is supported.
 isFocusable() 
Method in class com.myphysicslab.graphlab.TraceButtons
 Specifies that this component is focusable, so that it can receive key
events which are needed for the trace feature.
 isFocusable() 
Method in class com.myphysicslab.graphlab.Graph
 Specifies that this component is focusable, so that it can receive key
events which are needed for the trace feature.
 isFocusTraversable() 
Method in class com.myphysicslab.graphlab.TraceButtons
 Specifies that this component is focusable, so that it can receive key
events which are needed for the trace feature.
 isFocusTraversable() 
Method in class com.myphysicslab.graphlab.Graph
 Specifies that this component is focusable.
K
 keyPressed(KeyEvent) 
Method in class com.myphysicslab.graphlab.TraceKeyListener
 Sends key event information to the
Graph
for use in the trace feature, by calling the method Graph.moveTrace(java.lang.String)
.
L
 LINES 
Static variable in class com.myphysicslab.graphlab.Graph
 Specifies whether dots or lines are drawn.
 lostOwnership(Clipboard, Transferable) 
Method in class com.myphysicslab.graphlab.ImageSelection
 Used to notify this object when it is OK to release clipboard data,
here it is an empty method.
M
 main(String[]) 
Static method in class com.myphysicslab.graphlab.FunctionLab
 When run as an application, instead of as an applet, this is the
first method to be called.
 main(String[]) 
Static method in class com.myphysicslab.graphlab.DifferenceEqLab

 main(String[]) 
Static method in class com.myphysicslab.graphlab.arithmetic.TestDiffEqParser
 Show a few examples of arithmetic.
 main(String[]) 
Static method in class com.myphysicslab.graphlab.arithmetic.TestArithmeticParser
 Show a few examples of arithmetic.
 main(String[]) 
Static method in class com.myphysicslab.graphlab.arithmetic.ShowDiffEqParser
 Show a few examples of arithmetic.
 main(String[]) 
Static method in class com.myphysicslab.graphlab.arithmetic.ShowArithmeticParser
 Show a few examples of arithmetic.
 makeButtonPanel(boolean) 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns a
Container
with various controls for the applet.
 makeCopyGraphButton() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns a "copy graph"
Button
, which copies the graph
to the clipboard when clicked.
 makeCopyTableButton() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns a "copy table"
Button
, which copies the table
to the clipboard when clicked.
 makeDisplayButton() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns a "display"
Button
, which updates the graph and table when clicked.
 makeDotChoice() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns a
Choice
that controls whether the Graph
displays lines or dots.
 makeEquationArea() 
Method in class com.myphysicslab.graphlab.FunctionLab

 makeEquationArea() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns a
Container
with items allowing the user to specify equations.
 makeEquationArea() 
Method in class com.myphysicslab.graphlab.DifferenceEqLab

 makeEquationIterator(double, double) 
Method in class com.myphysicslab.graphlab.FunctionLab

 makeEquationIterator(double, double) 
Method in interface com.myphysicslab.graphlab.EquationDefiner
 Creates an
EquationIterator
which starts at the given xMin
, and
increments by xStep
.
 makeEquationIterator(double, double) 
Method in class com.myphysicslab.graphlab.DifferenceEqLab

 makeGraph() 
Method in class com.myphysicslab.graphlab.FunctionLab

 makeGraph() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns a
Graph
object for displaying equations.
 makeGraph() 
Method in class com.myphysicslab.graphlab.DifferenceEqLab

 makeGraphParams() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns a
Container
with items allowing the user to set graph parameters.
 makeHelpButton() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns a "help"
Button
, which will display the help card when clicked.
 makeHelpCard() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns a
Container
displaying the help text and a "back" button.
 makeMainCard() 
Method in class com.myphysicslab.graphlab.FunctionLab

 makeMainCard() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns a
Container
with the main user interface components of this applet,
such as equation area, graph parameters, graph, buttons, trace output, table.
 makeMainCard() 
Method in class com.myphysicslab.graphlab.DifferenceEqLab

 makeMainCard(boolean) 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns a
Container
with the main user interface components of this applet,
such as equation area, graph parameters, graph, buttons, trace output, table.
 makeTable() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns an instance of Table for displaying equations.
 makeTableFrame() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns a
Container
with the table header and table.
 makeTableHead() 
Method in class com.myphysicslab.graphlab.FunctionLab

 makeTableHead() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns a
Container
with headings for the columns of the table.
 makeTableHead() 
Method in class com.myphysicslab.graphlab.DifferenceEqLab

 makeThicknessChoice() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns a
Choice
that controls the thickness of the Graph
.
 makeTraceOutput() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns a
Container
with Label
s for
displaying trace information.
 makeVersionLabel() 
Method in class com.myphysicslab.graphlab.EnviroMathLab
 Returns a
Label
with version information
about this applet.
 MEDIUM 
Static variable in class com.myphysicslab.graphlab.Graph
 Specifies thickness for drawing dots or lines.
 MinusAssembler  class com.myphysicslab.graphlab.arithmetic.MinusAssembler.
 Pop two numbers from the stack and push the result of
subtracting the top number from the one below it.
 MinusAssembler() 
Constructor for class com.myphysicslab.graphlab.arithmetic.MinusAssembler

 minusTerm() 
Method in class com.myphysicslab.graphlab.arithmetic.ArithmeticParser
 Returns a parser that for the grammar rule:
minusTerm = '' term.
mouseClicked(MouseEvent) 
Method in class com.myphysicslab.graphlab.TraceButtons
This method does nothing, but is needed to implement
MouseListener
interface.
mouseClicked(MouseEvent) 
Method in class com.myphysicslab.graphlab.TableButtons
This method does nothing, but is needed to implement
MouseListener
interface.
mouseClicked(MouseEvent) 
Method in class com.myphysicslab.graphlab.Graph
This method does nothing, but is needed as part of the MouseListener interface.
mouseEntered(MouseEvent) 
Method in class com.myphysicslab.graphlab.TraceButtons
This method does nothing, but is needed to implement
MouseListener
interface.
mouseEntered(MouseEvent) 
Method in class com.myphysicslab.graphlab.TableButtons
This method does nothing, but is needed to implement
MouseListener
interface.
mouseEntered(MouseEvent) 
Method in class com.myphysicslab.graphlab.Graph
This method does nothing, but is needed as part of the MouseListener interface.
mouseExited(MouseEvent) 
Method in class com.myphysicslab.graphlab.TraceButtons
When the mouse exits the TraceButtons
region,
this method unhighlights any highlighted buttons.
mouseExited(MouseEvent) 
Method in class com.myphysicslab.graphlab.TableButtons
If the mouse moves out of the area of the TableButtons
this dehighlights the active button and
interrupts the TableScrollThread
to stop scrolling the Table
.
mouseExited(MouseEvent) 
Method in class com.myphysicslab.graphlab.Graph
This method does nothing, but is needed as part of the MouseListener interface.
mousePressed(MouseEvent) 
Method in class com.myphysicslab.graphlab.TraceButtons
When the mouse is pressed
this method highlights the appropriate button,
and calls Graph.moveTrace(java.lang.String)
with an
argument of "up", "down", "left",
or "right"
,
depending on which button was pressed.
mousePressed(MouseEvent) 
Method in class com.myphysicslab.graphlab.TableButtons
When the mouse is pressed on a button,
this starts a TableScrollThread
to scroll the
Table
; also highlights the button being pressed.
mousePressed(MouseEvent) 
Method in class com.myphysicslab.graphlab.Graph
Finds nearest point on nearest equation to the selected point, and sets
the trace feature to that point.
mouseReleased(MouseEvent) 
Method in class com.myphysicslab.graphlab.TraceButtons
When the mouse is released
this method unhighlights any highlighted buttons.
mouseReleased(MouseEvent) 
Method in class com.myphysicslab.graphlab.TableButtons
When the mouse is released
this dehighlights the active button and
interrupts the TableScrollThread
to stop scrolling the Table
.
mouseReleased(MouseEvent) 
Method in class com.myphysicslab.graphlab.Graph
This method does nothing, but is needed as part of the MouseListener interface.
moveTrace(String) 
Method in class com.myphysicslab.graphlab.Graph
Moves the trace left or right (changes x
value)
or up/down (changes which equation is being traced).
MyFrame  class com.myphysicslab.graphlab.MyFrame.
MyFrame
is only used when running as an application; it provides
a window to run in, and the methods needed to support running
the applet as though it were in a browser.
MyFrame(Applet) 
Constructor for class com.myphysicslab.graphlab.MyFrame
Creates a new MyFrame
to display the specified Applet
.
MyWindowAdapter  class com.myphysicslab.graphlab.MyWindowAdapter.
A listener for window events, such
as when a window is closed or deactivated.
MyWindowAdapter(Applet) 
Constructor for class com.myphysicslab.graphlab.MyWindowAdapter
Creates a new window listener which will modify the given Applet
.
N
 NegationAssembler  class com.myphysicslab.graphlab.arithmetic.NegationAssembler.
 Pop one number from the stack and push its negation.
 NegationAssembler() 
Constructor for class com.myphysicslab.graphlab.arithmetic.NegationAssembler

 negTerm() 
Method in class com.myphysicslab.graphlab.arithmetic.ArithmeticParser
 Returns a parser that for the grammar rule:
negTerm = '' regTerm.
next() 
Method in class com.myphysicslab.graphlab.StandardEquationIterator
next() 
Method in class com.myphysicslab.graphlab.EquationIterator
Advances the EquationIterator
to the next x
value.
next() 
Method in class com.myphysicslab.graphlab.DiffEqEquationIterator
NumAssembler  class com.myphysicslab.graphlab.arithmetic.NumAssembler.
Replace the top token in the stack with the token's
Double value.
NumAssembler() 
Constructor for class com.myphysicslab.graphlab.arithmetic.NumAssembler
nValue 
Static variable in class com.myphysicslab.graphlab.arithmetic.DiffEqParser
Current value of variable n
.
P
 paint(Graphics) 
Method in class com.myphysicslab.graphlab.TraceButtons
 Draws the trace buttons, one of which might be currently highlighted.
 paint(Graphics) 
Method in class com.myphysicslab.graphlab.TableButtons
 Draws the buttons, one of which might be currently highlighted.
 paint(Graphics) 
Method in class com.myphysicslab.graphlab.Graph
 Displays the graph in the given
Graphics
environment.
 paint(Graphics) 
Method in class com.myphysicslab.graphlab.BorderedContainer

 phrase() 
Method in class com.myphysicslab.graphlab.arithmetic.DiffEqParser
 Returns a parser for the grammar rule:
phrase = super.phrase  diffEqSymbol.
phrase() 
Method in class com.myphysicslab.graphlab.arithmetic.ArithmeticParser
Returns a parser that for the grammar rule:
phrase = '(' expression ')'  Num  function '(' expression ')'  constants  variables.
PlusAssembler  class com.myphysicslab.graphlab.arithmetic.PlusAssembler.
Pop two numbers from the stack and push their sum.
PlusAssembler() 
Constructor for class com.myphysicslab.graphlab.arithmetic.PlusAssembler
plusTerm() 
Method in class com.myphysicslab.graphlab.arithmetic.ArithmeticParser
Returns a parser that for the grammar rule:
plusTerm = '+' term.
Q
 qualifies(Object) 
Method in class com.myphysicslab.graphlab.arithmetic.SpecificNum
 Returns true if an assembly's next element is a number equal to our specific number.
R
 randomExpansion(int, int) 
Method in class com.myphysicslab.graphlab.arithmetic.SpecificNum
 Create a set with one random number (between 0 and
100).
 recalc() 
Method in class com.myphysicslab.graphlab.Table
 Recalculates the table based on current settings for equations and
parameters
tableXMin, tableXStep
.
 regTerm() 
Method in class com.myphysicslab.graphlab.arithmetic.ArithmeticParser
 Returns a parser that for the grammar rule:
regTerm = factor (timesFactor  divideFactor)*.
requestResume() 
Method in class com.myphysicslab.graphlab.TableScrollThread
Clears a flag that put this thread into a "suspended" state,
allowing the thread to resume its activities.
requestSuspend() 
Method in class com.myphysicslab.graphlab.TableScrollThread
Sets a flag that will cause this thread to be enter a "suspended"
state where it continuously calls Object.wait(long)
until
the flag is turned off by calling TableScrollThread.requestResume()
.
run() 
Method in class com.myphysicslab.graphlab.TableScrollThread
Calls the Table.scrollUp()
or Table.scrollDown()
methods
to scroll the Table
up or down.
S
 scrollDown() 
Method in class com.myphysicslab.graphlab.Table
 Scrolls the table down one line.
 scrollUp() 
Method in class com.myphysicslab.graphlab.Table
 Scrolls the table up one line.
 setDrawMode(int) 
Method in class com.myphysicslab.graphlab.Graph
 Sets the graph to draw lines or dots.
 setStream(String, InputStream) 
Method in class com.myphysicslab.graphlab.MyFrame

 setTableXMin(double) 
Method in interface com.myphysicslab.graphlab.EquationDefiner
 Sets the starting
x
value for the table view of the equations.
 setTableXMin(double) 
Method in class com.myphysicslab.graphlab.EnviroMathLab

 setTableXMin(double) 
Method in class com.myphysicslab.graphlab.DifferenceEqLab

 setThickness(int) 
Method in class com.myphysicslab.graphlab.Graph
 Sets the thickness for drawing lines or dots.
 setTrace(double, double) 
Method in interface com.myphysicslab.graphlab.EquationDefiner
 Sets only the text display of the trace numbers; the trace indicator in the
graph is done automatically when the graph is repainted (if a trace is active).
 setTrace(double, double) 
Method in class com.myphysicslab.graphlab.EnviroMathLab

 ShowArithmeticParser  class com.myphysicslab.graphlab.arithmetic.ShowArithmeticParser.
 Show how to use the
ArithmeticParser
class.
 ShowArithmeticParser() 
Constructor for class com.myphysicslab.graphlab.arithmetic.ShowArithmeticParser

 ShowDiffEqParser  class com.myphysicslab.graphlab.arithmetic.ShowDiffEqParser.
 Show how to use the
DiffEqParser
class.  ShowDiffEqParser() 
Constructor for class com.myphysicslab.graphlab.arithmetic.ShowDiffEqParser

 showDocument(URL) 
Method in class com.myphysicslab.graphlab.MyFrame

 showDocument(URL, String) 
Method in class com.myphysicslab.graphlab.MyFrame

 showStatus(String) 
Method in class com.myphysicslab.graphlab.MyFrame

 SpecificNum  class com.myphysicslab.graphlab.arithmetic.SpecificNum.
 A SpecificNum matches a specific integer number from a token assembly.
 SpecificNum(int) 
Constructor for class com.myphysicslab.graphlab.arithmetic.SpecificNum

 StandardEquationIterator  class com.myphysicslab.graphlab.StandardEquationIterator.
 An
EquationIterator
for equations of a single x
variable.
 StandardEquationIterator(String[], double, double) 
Constructor for class com.myphysicslab.graphlab.StandardEquationIterator
 Constructs a
StandardEquationIterator
with the given equations, starting
the x
value at the given xMin
.
 start() 
Static method in class com.myphysicslab.graphlab.arithmetic.DiffEqParser
 Returns a parser that will recognize an arithmetic
expression.
 start() 
Static method in class com.myphysicslab.graphlab.arithmetic.ArithmeticParser
 Returns a parser that will recognize an arithmetic
expression.
T
 table 
Static variable in class com.myphysicslab.graphlab.EnviroMathLab
 Provides the table view of the equations.
 Table  class com.myphysicslab.graphlab.Table.
 Displays a table view of several equations which are
specified via an
EquationDefiner
.  Table(EquationDefiner) 
Constructor for class com.myphysicslab.graphlab.Table
 Creates a new
Table
showing the equations from the
specified EquationDefiner
.
 TableButtons  class com.myphysicslab.graphlab.TableButtons.
 Displays triangleshaped up and down buttons (similar to scroll bar buttons)
and responds to mouse events by starting a
TableScrollThread
to scroll the
Table
.  TableButtons(Table) 
Constructor for class com.myphysicslab.graphlab.TableButtons
 Creates new
TableButtons
that will scroll the
specified Table
.
 TableScrollThread  class com.myphysicslab.graphlab.TableScrollThread.
 A special
Thread
to assist with scrolling in the Table
.
 TableScrollThread(Table, boolean) 
Constructor for class com.myphysicslab.graphlab.TableScrollThread
 Creates a new
TableScrollThread
which will scroll
the specified table in the specified direction (either up or down).
 tableXMin 
Variable in class com.myphysicslab.graphlab.EnviroMathLab
 Controls the starting value in the table.
 tableXStep 
Variable in class com.myphysicslab.graphlab.EnviroMathLab
 Controls the increment used in the table.
 term() 
Method in class com.myphysicslab.graphlab.arithmetic.ArithmeticParser
 Returns a parser that for the grammar rule:
term = negTerm  unaryPlusTerm  regTerm.
TestArithmeticParser  class com.myphysicslab.graphlab.arithmetic.TestArithmeticParser.
TestArithmeticParser() 
Constructor for class com.myphysicslab.graphlab.arithmetic.TestArithmeticParser
TestDiffEqParser  class com.myphysicslab.graphlab.arithmetic.TestDiffEqParser.
TestDiffEqParser() 
Constructor for class com.myphysicslab.graphlab.arithmetic.TestDiffEqParser
THIN 
Static variable in class com.myphysicslab.graphlab.Graph
Specifies thickness for drawing dots or lines.
TimesAssembler  class com.myphysicslab.graphlab.arithmetic.TimesAssembler.
Pop two numbers from the stack and push the result of
multiplying the top number by the one below it.
TimesAssembler() 
Constructor for class com.myphysicslab.graphlab.arithmetic.TimesAssembler
timesFactor() 
Method in class com.myphysicslab.graphlab.arithmetic.ArithmeticParser
Returns a parser that for the grammar rule:
timesFactor = factor  '*' factor.
TraceButtons  class com.myphysicslab.graphlab.TraceButtons.
Displays four triangular buttons for the user to control the trace feature.
TraceButtons(Graph) 
Constructor for class com.myphysicslab.graphlab.TraceButtons
Creates new TraceButtons
which will operate the
trace feature on the given Graph
.
TraceKeyListener  class com.myphysicslab.graphlab.TraceKeyListener.
Interprets keystrokes as part of the trace feature, sending
information about key events to the Graph
.
TraceKeyListener(Graph) 
Constructor for class com.myphysicslab.graphlab.TraceKeyListener
Creates a new TraceKeyListener
which sends
information about key events to the given Graph
.
traceX 
Variable in class com.myphysicslab.graphlab.EnviroMathLab
Displays the coordinates of the current trace point, which is
selected by the user clicking in the graph or using the trace buttons.
traceY 
Variable in class com.myphysicslab.graphlab.EnviroMathLab
Displays the coordinates of the current trace point, which is
selected by the user clicking in the graph or using the trace buttons.
U
 unaryPlusTerm() 
Method in class com.myphysicslab.graphlab.arithmetic.ArithmeticParser
 Returns a parser that for the grammar rule:
unaryPlusTerm = '+' regTerm.
unvisitedString(Vector) 
Method in class com.myphysicslab.graphlab.arithmetic.SpecificNum
Returns a textual description of this parser.
Utility  class com.myphysicslab.graphlab.Utility.
Provides a method for formatting numbers.
uValue 
Static variable in class com.myphysicslab.graphlab.arithmetic.DiffEqParser
Current value of u(n1)
V
 value(String, double) 
Static method in class com.myphysicslab.graphlab.arithmetic.ArithmeticParser
 Returns the value of the arithmetic expression given in the
string, when
x
is the xValue
passed in.
 value(String, int, double, double, double) 
Static method in class com.myphysicslab.graphlab.arithmetic.DiffEqParser
 Returns the value of an arithmetic expression,
based on the passedin values of
n, u(n1), v(n1), and w(n1)
.
 VariableAssembler  class com.myphysicslab.graphlab.arithmetic.VariableAssembler.
 The stack should have a token (such as
x
) indicating what
variable is desired; we pop that and push the
desired variable.  VariableAssembler() 
Constructor for class com.myphysicslab.graphlab.arithmetic.VariableAssembler

 variables() 
Method in class com.myphysicslab.graphlab.arithmetic.DiffEqParser
 Overrides the
variables
from ArithmeticParser
,
returns a parser that for the grammar rule:
variables = 'n'.
variables() 
Method in class com.myphysicslab.graphlab.arithmetic.ArithmeticParser
Returns a parser that for the grammar rule:
variables = 'x'.
version 
Variable in class com.myphysicslab.graphlab.EnviroMathLab
Current version number of this applet.
vValue 
Static variable in class com.myphysicslab.graphlab.arithmetic.DiffEqParser
Current value of v(n1)
W
 windowActivated(WindowEvent) 
Method in class com.myphysicslab.graphlab.MyWindowAdapter

 windowClosing(WindowEvent) 
Method in class com.myphysicslab.graphlab.MyWindowAdapter
 Signals that the window is closing;
it calls
destroy
method on the applet and
then calls System.exit()
.
 windowDeactivated(WindowEvent) 
Method in class com.myphysicslab.graphlab.MyWindowAdapter

 windowDeiconified(WindowEvent) 
Method in class com.myphysicslab.graphlab.MyWindowAdapter

 windowIconified(WindowEvent) 
Method in class com.myphysicslab.graphlab.MyWindowAdapter

 workOn(Assembly) 
Method in class com.myphysicslab.graphlab.arithmetic.VariableAssembler
 The stack should have a token (such as
x
) indicating what
variable is desired; we pop that and push the
desired variable.
 workOn(Assembly) 
Method in class com.myphysicslab.graphlab.arithmetic.TimesAssembler
 Pop two numbers from the stack and push the result of
multiplying the top number by the one below it.
 workOn(Assembly) 
Method in class com.myphysicslab.graphlab.arithmetic.PlusAssembler
 Pop two numbers from the stack and push their sum.
 workOn(Assembly) 
Method in class com.myphysicslab.graphlab.arithmetic.NumAssembler
 Replace the top token in the stack with the token's
Double value.
 workOn(Assembly) 
Method in class com.myphysicslab.graphlab.arithmetic.NegationAssembler
 Pop one number from the stack and push its negation.
 workOn(Assembly) 
Method in class com.myphysicslab.graphlab.arithmetic.MinusAssembler
 Pop two numbers from the stack and push the result of
subtracting the top number from the one below it.
 workOn(Assembly) 
Method in class com.myphysicslab.graphlab.arithmetic.FunctionAssembler
 The stack should have a number on top, and the name of
the function to apply below that; pop those and push
the result of applying the function to the number.
 workOn(Assembly) 
Method in class com.myphysicslab.graphlab.arithmetic.ExpAssembler
 Pop two numbers from the stack and push the result of
exponentiation the lower number to the upper one.
 workOn(Assembly) 
Method in class com.myphysicslab.graphlab.arithmetic.DivideAssembler
 Pop two numbers from the stack and push the result of
dividing the top number into the one below it.
 workOn(Assembly) 
Method in class com.myphysicslab.graphlab.arithmetic.DiffEqVariableAssembler
 The stack should have a token
n
indicating what
variable is desired; we pop that and push the
value of that variable.
 workOn(Assembly) 
Method in class com.myphysicslab.graphlab.arithmetic.DiffEqSymbolAssembler
 The stack should have a token
u, v,
or w,
indicating what
difference equation value is desired; we pop that and push the
desired difference equation value.
 workOn(Assembly) 
Method in class com.myphysicslab.graphlab.arithmetic.ConstantAssembler
 The stack should have a token indicating what
constant is desired (
pi
or e
);
we pop that and push the
desired constant.
 wValue 
Static variable in class com.myphysicslab.graphlab.arithmetic.DiffEqParser
 Current value of
w(n1)
X
 x 
Variable in class com.myphysicslab.graphlab.DoublePair

 xmax 
Variable in class com.myphysicslab.graphlab.EnviroMathLab
 Controls the region that the graph displays
 xmin 
Variable in class com.myphysicslab.graphlab.EnviroMathLab
 Controls the region that the graph displays
 xValue 
Static variable in class com.myphysicslab.graphlab.arithmetic.ArithmeticParser
 The current value of the
x
variable.
Y
 y 
Variable in class com.myphysicslab.graphlab.DoublePair

 ymax 
Variable in class com.myphysicslab.graphlab.EnviroMathLab
 Controls the region that the graph displays
 ymin 
Variable in class com.myphysicslab.graphlab.EnviroMathLab
 Controls the region that the graph displays
A B C D E F G I K L M N P Q R S T U V W X Y
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV
NEXT
FRAMES
NO FRAMES