A B C D E F G H I J L M N O P R S T U V W X Y Z

A

a - Variable in class edu.hws.jcm.draw.DrawGeometric
Value of x1.
ABS - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
actionPerformed(ActionEvent) - Method in class edu.hws.jcm.awt.Controller
Simply calls compute when the Controller hears an ActionEvent.
actionPerformed(ActionEvent) - Method in class edu.hws.jcm.awt.Animator
Respond to button clicks.
actionPerformed(ActionEvent) - Method in class edu.hws.jcm.awt.MessagePopup
Respond when user clicks OK.
actionPerformed(ActionEvent) - Method in class edu.hws.jcm.draw.LimitControlPanel
Handle a click on one of the standard buttons.
actionPerformed(ActionEvent) - Method in class edu.hws.jcm.functions.TableFunctionInput
React when user clicks one of the buttons or presses return in one of the input boxes.
add(Component) - Method in class edu.hws.jcm.draw.LimitControlPanel
Redefine this method from the Component class to make it a synonym for addComponent(c);
add(Drawable) - Method in class edu.hws.jcm.draw.DisplayCanvas
Add the specified Drawable item to the first CoordinateRect in this DisplayCanvas.
add(Drawable) - Method in class edu.hws.jcm.draw.CoordinateRect
Add a drawable item to the CoordinateRect.
add(Drawable, int) - Method in class edu.hws.jcm.draw.DisplayCanvas
Add a Drawable item to one of the CoordinateRects associated with the Canvas.
add(MathObject) - Method in class edu.hws.jcm.data.Parser
Register the MathObject with the Parser, associating it with its name.
add(MathObject) - Method in class edu.hws.jcm.data.ParserContext
Add a new MathObject to the symbol table.
add(MathObject) - Method in class edu.hws.jcm.data.SymbolTable
Adds sym to the SymbolTable, associating it with its name.
add(Object) - Method in class edu.hws.jcm.awt.Controller
Add an object to be controlled by this controller.
add(String, MathObject) - Method in class edu.hws.jcm.data.SymbolTable
Adds the given MathObject, sym, to the symbol table, associating it with the given name (which is probably the name of the symbol or that name transformed to lower case, but it doesn't have to be).
add(Tieable) - Method in class edu.hws.jcm.awt.Tie
Add item to the tie, and sync it with the items that are already in the Tie.
addButtons(int) - Method in class edu.hws.jcm.draw.LimitControlPanel
Add the buttons in buttonSet to the panel, if they are not already there.
addCase(int) - Method in class edu.hws.jcm.data.Cases
Add a new case value to the list stored in this object.
addColumn() - Method in class edu.hws.jcm.awt.DataTableInput
Add a column at the right side of the table, with all cells initially empty.
addColumn(String) - Method in class edu.hws.jcm.awt.DataTableInput
Add a column with the specified name at the right side of the table, with all cells initially empty.
addCommand(int) - Method in class edu.hws.jcm.data.ExpressionProgram
Add a command code to the program, where code is one of the opCode constants that are public final members of this class, from CUBERT to PLUS.
addCommandObject(ExpressionCommand) - Method in class edu.hws.jcm.data.ExpressionProgram
Adds com as the next command in the program.
addComponent(Component) - Method in class edu.hws.jcm.draw.LimitControlPanel
Add a component to the panel.
addComponentPair(Component, Component) - Method in class edu.hws.jcm.draw.LimitControlPanel
Add two components to the panel.
addConstant(double) - Method in class edu.hws.jcm.data.ExpressionProgram
Add the number d as the next command in the program.
addControl(int) - Method in class edu.hws.jcm.awt.Animator
Add one of the possible control buttons or pop-up menus to the Animator.
addCoordinateRect(CoordinateRect) - Method in class edu.hws.jcm.draw.DisplayCanvas
Add the specified CoordinateRect to this DisplayCanvas, filling the entire canvas, and with background color equal to the background color of the canvas.
addCoordinateRect(CoordinateRect, double, double, double, double, Color) - Method in class edu.hws.jcm.draw.DisplayCanvas
Add a CoordinateRect to the canvas, occupying a specified region of the canvas.
addCoords(CoordinateRect) - Method in class edu.hws.jcm.draw.LimitControlPanel
Add a CoordinateRect to be controlled by this LimitControlPanel.
addCoords(DisplayCanvas) - Method in class edu.hws.jcm.draw.LimitControlPanel
Add the first CoordinateRect from the canvas to be controlled by this LimitControlPanel.
addIntervals(int, double, double) - Method in class edu.hws.jcm.functions.TableFunction
Add points to the table.
addNewCoordinateRect(double, double, double, double) - Method in class edu.hws.jcm.draw.DisplayCanvas
Add a newly created CoordinateRect covering the specified section of the canvas.
addNewCoordinateRect(double, double, double, double, Color) - Method in class edu.hws.jcm.draw.DisplayCanvas
Add a newly created CoordinateRect covering the specified section of the canvas, with the specfied background color.
addOptions(int) - Method in class edu.hws.jcm.data.Parser
Add the options in the option set newOptions to this Parser's option set.
addPoint(double, double) - Method in class edu.hws.jcm.functions.TableFunction
Add a point with the specified x and y coordinates.
addPoints(double[], double[]) - Method in class edu.hws.jcm.functions.TableFunction
Add points to the table.
addRange(VariableInput, VariableInput) - Method in class edu.hws.jcm.draw.LimitControlPanel
Add two VariableInputs to the panel.
addRows(int) - Method in class edu.hws.jcm.awt.DataTableInput
Add the specified number of empty rows at the bottom of the table.
addTo(Parser) - Method in class edu.hws.jcm.awt.VariableInput
A convenience method that registers this VariableInput's variable with Parser p (but only if both p and the name of the variable are non-null).
addTo(Parser) - Method in class edu.hws.jcm.awt.VariableSlider
A convenience method that registers this VariableSlider's variable with p (but only if both p and the name of the variable are non-null).
addVariablesToParser(Parser) - Method in class edu.hws.jcm.awt.DataTableInput
Add a row number variable (from the getRowNumberVariable() method) and a column variable for each column (from the getColumnVariable() method) to the parser.
adjustmentValueChanged(AdjustmentEvent) - Method in class edu.hws.jcm.awt.Controller
Simply calls compute when the Controller hears an AdjustmantEvent.
ALL_BUTTONS - Static variable in class edu.hws.jcm.draw.LimitControlPanel
A constant that can be used in the addButton() method to add all possible buttons to the LimitControlPanel.
AND - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
Animator - class edu.hws.jcm.awt.Animator.
An Animator can change a value continuously, without user intervention, by running a separate Thread.
Animator() - Constructor for class edu.hws.jcm.awt.Animator
Create a default Animator.
Animator(int) - Constructor for class edu.hws.jcm.awt.Animator
Create an Animator containing the specified control.
Animator(int, int) - Constructor for class edu.hws.jcm.awt.Animator
Create an Animator containing specified controls.
Animator(int, int, Value, Value, Value) - Constructor for class edu.hws.jcm.awt.Animator
Create an Animator with specified controls, orienation, range limits and number of intervals
appendOutputString(ExpressionProgram, int, StringBuffer) - Method in interface edu.hws.jcm.data.ExpressionCommand
The ExpressionCommand occurs in the program prog at the index indicated by myIndex.
appendOutputString(ExpressionProgram, int, StringBuffer) - Method in class edu.hws.jcm.data.Constant
Append the print string for this Constant to the buffer.
appendOutputString(ExpressionProgram, int, StringBuffer) - Method in class edu.hws.jcm.data.ConditionalExpression
Append the string representation of the expression (including the boolean condition) to the buffer.
appendOutputString(ExpressionProgram, int, StringBuffer) - Method in class edu.hws.jcm.functions.FunctionParserExtension
Append a string representation of the function and its arguments to the buffer
appendOutputString(int, StringBuffer) - Method in class edu.hws.jcm.data.ExpressionProgram
Add a string representing part of the expression to the output buffer.
apply(StackOfDouble, Cases) - Method in interface edu.hws.jcm.data.ExpressionCommand
This routine is called when an ExpressionCommand object is encountered during the evaluation of an ExpressionProgram.
apply(StackOfDouble, Cases) - Method in class edu.hws.jcm.data.Constant
Apply the Constant to the stack.
apply(StackOfDouble, Cases) - Method in class edu.hws.jcm.data.ConditionalExpression
Apply this ConditionalExpression to the stack.
apply(StackOfDouble, Cases) - Method in class edu.hws.jcm.functions.FunctionParserExtension
Evaluate the function applied to argument values popped from the stack, and leave the result on the stack.
apply(StackOfDouble, Cases) - Method in class edu.hws.jcm.functions.TableFunction
Override method apply() from interface FunctionParserExtension, to handle cases properly.
apply(StackOfDouble, Cases) - Method in class edu.hws.jcm.functions.ExpressionFunction
Find the value of the function applied to arguments popped from the stack, and push the result back onto the stack.
apply(StackOfDouble, Cases) - Method in class edu.hws.jcm.functions.WrapperFunction
Evaluate the function applied to argument values popped from the stack, and leave the result on the stack.
applyCommandCode(int) - Method in class edu.hws.jcm.data.ExpressionProgram
Apply the stack operation represented by code (a number < 0) to the stack.
ARCCOS - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
ARCSIN - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
ARCTAN - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
ARROWS - Static variable in class edu.hws.jcm.draw.VectorField
One of the possible styles for displaying a VectorField: as a direction field shown as arrows of equal length.
Axes - class edu.hws.jcm.draw.Axes.
A set of horizontal and vertical axes that look OK and have reasonable, labeled tick marks.
Axes() - Constructor for class edu.hws.jcm.draw.Axes
Creates axes with no names on the axes.
Axes(String, String) - Constructor for class edu.hws.jcm.draw.Axes
Creates axes with given names on the axes.

B

b - Variable in class edu.hws.jcm.draw.DrawGeometric
Value of y1.
BACK_AND_FORTH - Static variable in class edu.hws.jcm.awt.Animator
Represents a loop style in which the animation is cycled back and forth.
backgroundColor - Variable in class edu.hws.jcm.draw.DrawString
If backgroundColor is non-null, then a rectangle of this color is filled as a background for the string;
baseString - Variable in class edu.hws.jcm.draw.DrawString
String, possibly with \n and #'s.
BOOLEANS - Static variable in class edu.hws.jcm.data.Parser
An option that can be set for this parser.
BOTTOM - Static variable in class edu.hws.jcm.draw.Axes
A constant that can be used in the setYAxisPosition() method to indicate the placement of the y-axs.
BOTTOM_CENTER - Static variable in class edu.hws.jcm.draw.DrawString
Specify string location in rect
BOTTOM_LEFT - Static variable in class edu.hws.jcm.draw.DrawString
Specify string location in rect
BOTTOM_RIGHT - Static variable in class edu.hws.jcm.draw.DrawString
Specify string location in rect
BRACES - Static variable in class edu.hws.jcm.data.Parser
An option that can be set for this parser.
BRACKETS - Static variable in class edu.hws.jcm.data.Parser
An option that can be set for this parser.
buttons - Variable in class edu.hws.jcm.draw.LimitControlPanel
Set of installed buttons.

C

c - Variable in class edu.hws.jcm.draw.DrawGeometric
Value of x2.
cancelEdit() - Method in class edu.hws.jcm.functions.TableFunctionInput
Discards the internal pointer to the edit function (specified by startEdit()), if any.
canvas - Variable in class edu.hws.jcm.draw.Drawable
The canvas on which this Drawable is drawn.
CASE_SENSITIVE - Static variable in class edu.hws.jcm.data.Parser
An option that can be set for this parser.
Cases - class edu.hws.jcm.data.Cases.
An object of type Cases stores a list of "case values" that is generated while an expression is being evaluated using the routine Expression.getValuesWithCases().
Cases() - Constructor for class edu.hws.jcm.data.Cases
 
CEILING - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
CENTER - Static variable in class edu.hws.jcm.draw.Axes
A constant that can be used in the setXAxisPosition() and setYAxisPosition() methods to indicate the placement of the axes.
CENTER - Static variable in class edu.hws.jcm.draw.DrawString
For specifying justification of lines in multiline strings.
CENTER_CENTER - Static variable in class edu.hws.jcm.draw.DrawString
Specify string location in rect
CENTER_LEFT - Static variable in class edu.hws.jcm.draw.DrawString
Specify string location in rect
CENTER_RIGHT - Static variable in class edu.hws.jcm.draw.DrawString
Specify string location in rect
changed - Variable in class edu.hws.jcm.draw.CoordinateRect
Set to true when one of the limits or the gap has changed.
check() - Method in class edu.hws.jcm.awt.Tie
If this Tie contains more than one item, find the newest one and sync all the items with that item.
checkInput() - Method in class edu.hws.jcm.awt.Controller
Call checkInput() of each InputObject.
checkInput() - Method in class edu.hws.jcm.awt.VariableInput
Check whether the contents are valid, and change the value of the associated variable if the new contents do not match the current value.
checkInput() - Method in class edu.hws.jcm.awt.ExpressionInput
Get the expression from the box, maybe throw a JBCError if a ParseError occurs.
checkInput() - Method in class edu.hws.jcm.awt.Animator
Part of the IputObject interface.
checkInput() - Method in class edu.hws.jcm.awt.VariableSlider
From the InputObject interface.
checkInput() - Method in interface edu.hws.jcm.awt.InputObject
Check and possibly change the value associated with this InputObject.
checkInput() - Method in class edu.hws.jcm.draw.DisplayCanvas
This is generally called by a Controller.
checkInput() - Method in class edu.hws.jcm.draw.CoordinateRect
When this is called, the CoordinateRect will call the checkInput method of any Drawable it contains that is also an InputObject.
checkInput() - Method in class edu.hws.jcm.draw.DraggablePoint
This method is required by the InputObject interface.
checkInput() - Method in class edu.hws.jcm.draw.MouseTracker
Set the values of the associated variables.
checkInput() - Method in class edu.hws.jcm.draw.LimitControlPanel
Check the input boxes in this panel.
CIRCUMSCRIBED - Static variable in class edu.hws.jcm.draw.RiemannSumRects
Summation method type.
clamp - Variable in class edu.hws.jcm.draw.DrawString
If true, the string is clamped to lie within the CoordinateRect.
CLAMPED_VECTORS - Static variable in class edu.hws.jcm.draw.VectorField
One of the possible styles for displaying a VectorField: as a vector field where a vector is shown as an arrow from (x,y) to (x+xFunc(x,y),y+xFunc(x,y)), except that a maximum length is imposed.
clampX - Variable in class edu.hws.jcm.draw.MouseTracker
If thie is true, then the value of the variable associated with the x-ccordinate of the mouse is clamped to lie within the xmin and xmax of the coordinate rect.
clampX(double) - Method in class edu.hws.jcm.draw.DraggablePoint
Clamp the x-value of the point to the constant x, so that the point is constrained to a vertical line.
clampX(Function) - Method in class edu.hws.jcm.draw.DraggablePoint
Clamp the x-value of the point to the function f, so that the point is constrained to move along the graph of x = f(y).
clampX(Value) - Method in class edu.hws.jcm.draw.DraggablePoint
Clamp the x-value of the point to v.
clampY - Variable in class edu.hws.jcm.draw.MouseTracker
If thie is true, then the value of the variable associated with the y-ccordinate of the mouse is clamped to lie within the ymin and ymax of the coordinate rect.
clampY(double) - Method in class edu.hws.jcm.draw.DraggablePoint
Clamp the y-value of the point to the constant y, so that the point is constrained to a horizontal line.
clampY(Function) - Method in class edu.hws.jcm.draw.DraggablePoint
Clamp the y-value of the point to the function f, so that the point is constrained to move along the graph of y = f(x).
clampY(Value) - Method in class edu.hws.jcm.draw.DraggablePoint
Clamp the y-value of the point to v.
clear() - Method in class edu.hws.jcm.awt.DataTableInput
Remove all rows from the table, leaving just one empty row.
clear() - Method in class edu.hws.jcm.data.Cases
Remove all the cases that have been added with addCase().
clearErrorMessage() - Method in class edu.hws.jcm.awt.Controller
Clear the error message.
clearErrorMessage() - Method in interface edu.hws.jcm.awt.ErrorReporter
Clear the error reprort, if there is one.
clearErrorMessage() - Method in class edu.hws.jcm.awt.MessagePopup
Clear the error message and close the window.
clearErrorMessage() - Method in class edu.hws.jcm.draw.DisplayCanvas
Clear the error message, if any, that is currently displayed on the canvas.
clearRestoreBuffer() - Method in class edu.hws.jcm.draw.CoordinateRect
A CoordinateRect can store its current limits in a buffer.
color - Variable in class edu.hws.jcm.draw.DrawGeometric
Color of the shappe.
color - Variable in class edu.hws.jcm.draw.DrawBorder
A non-null Color, giving the color of the bortder.
color - Variable in class edu.hws.jcm.draw.DrawString
Color of string.
compileDerivative(ExpressionProgram, int, ExpressionProgram, Variable) - Method in interface edu.hws.jcm.data.ExpressionCommand
The ExpressionCommand occurs in the program prog at the index indicated by myIndex.
compileDerivative(ExpressionProgram, int, ExpressionProgram, Variable) - Method in class edu.hws.jcm.data.Constant
Add a commands to deriv to evaluate the derivative of this Constant with respect to the variable.
compileDerivative(ExpressionProgram, int, ExpressionProgram, Variable) - Method in class edu.hws.jcm.data.ConditionalExpression
Add commands to deriv that evaluate the derivative of this conditional expression with respect to the variable wrt.
compileDerivative(ExpressionProgram, int, ExpressionProgram, Variable) - Method in class edu.hws.jcm.data.Variable
Add a command to deriv to evaluate the derivative of this Variable with respect to the Variable wrt.
compileDerivative(ExpressionProgram, int, ExpressionProgram, Variable) - Method in class edu.hws.jcm.functions.FunctionParserExtension
The function object occurs as a command at index myIndex in prog.
compileDerivative(int, ExpressionProgram, Variable) - Method in class edu.hws.jcm.data.ExpressionProgram
The command at position index in the program represents a subexpression of the whole expression.
Computable - interface edu.hws.jcm.awt.Computable.
A Computable is an object that performs some sort of computation or action when its compute() method is called.
computables - Variable in class edu.hws.jcm.awt.Controller
Computable objects controlled by this controller.
compute() - Method in class edu.hws.jcm.awt.Controller
When an contoller computes, it first calls checkInput() for any InputOjects that it controls (including those in sub-controllers).
compute() - Method in interface edu.hws.jcm.awt.Computable
Perform the computation or action associated with this Computable object.
compute() - Method in class edu.hws.jcm.awt.DisplayLabel
The compute method recalculates the displayed Values and changes the text of the label to show the new values.
compute() - Method in class edu.hws.jcm.draw.DisplayCanvas
This is generally called by a Controller.
compute() - Method in class edu.hws.jcm.draw.VectorField
Recompute data for the vector field and make sure that the area of the display canvas that shows the vector field is redrawn.
compute() - Method in class edu.hws.jcm.draw.DrawGeometric
Recompute the values that define the size/postion of the DrawGeometric.
compute() - Method in class edu.hws.jcm.draw.CoordinateRect
When this is called, the CoordinateRect will call the compute method of any Drawable it contains that is also a Computable.
compute() - Method in class edu.hws.jcm.draw.ParametricCurve
Recompute data for the graph and make sure that the area of the display canvas that shows the graph is redrawn.
compute() - Method in class edu.hws.jcm.draw.DrawString
The compute method sets up the array of strings that is actually displayed.
compute() - Method in class edu.hws.jcm.draw.RiemannSumRects
This is generally called by a Controller.
compute() - Method in class edu.hws.jcm.draw.Graph1D
Recompute data for the graph and make sure that the area of the display canvas that shows the graph is redrawn.
compute() - Method in class edu.hws.jcm.draw.ScatterPlot
Recompute the data for the scatter plot.
ComputeButton - class edu.hws.jcm.awt.ComputeButton.
A compute button is a button that can have an associated Controller.
ComputeButton() - Constructor for class edu.hws.jcm.awt.ComputeButton
Create a Compute button labeled "Compute!".
ComputeButton(String) - Constructor for class edu.hws.jcm.awt.ComputeButton
Create a Compute button displaying the given text.
ConditionalExpression - class edu.hws.jcm.data.ConditionalExpression.
A "conditional expression" is an expression using the "?" operator, such as "(x > 0)? x : -x" or "x <> 3 ? 1 / (x - 3)".
ConditionalExpression(ExpressionProgram, ExpressionProgram) - Constructor for class edu.hws.jcm.data.ConditionalExpression
Create a ConditionalExpression object containing the two given expressions.
Constant - class edu.hws.jcm.data.Constant.
A Constant is a Value that represents a constant real number.
Constant(double) - Constructor for class edu.hws.jcm.data.Constant
Create an unnamed Constant with the given value and null name.
Constant(String, double) - Constructor for class edu.hws.jcm.data.Constant
Create a Constant with the given name and value.
context - Variable in class edu.hws.jcm.data.ParseError
The parsing context that was in effect at the time the error occurred.
continueDrag(MouseEvent) - Method in class edu.hws.jcm.draw.DraggablePoint
Continue a drag operation begun in startDrag().
continueDrag(MouseEvent) - Method in interface edu.hws.jcm.draw.Draggable
Continue a drag that was started in startDrag().
Controller - class edu.hws.jcm.awt.Controller.
Controllers are the focus of all the action in the JCM system.
Controller() - Constructor for class edu.hws.jcm.awt.Controller
Create a Controller.
convertInput(String) - Method in class edu.hws.jcm.awt.VariableInput
Convert a string into a real value.
CoordinateRect - class edu.hws.jcm.draw.CoordinateRect.
A CoordinateRect represents a rectagular region in the xy-plane, specified by values xmin,xmax,ymin,ymax.
CoordinateRect() - Constructor for class edu.hws.jcm.draw.CoordinateRect
Create a CoordinateRect with default limits: -5, 5, -5, 5.
CoordinateRect(double, double, double, double) - Constructor for class edu.hws.jcm.draw.CoordinateRect
Create a CoordinateRect with specified limits.
coords - Variable in class edu.hws.jcm.draw.Drawable
The CoordinateRect for the rectagular area where this Drawable is drawn.
coords - Variable in class edu.hws.jcm.draw.LimitControlPanel
The first CoordinateRect tied to this LimitControlPanel.
copyDataFrom(TableFunction) - Method in class edu.hws.jcm.functions.TableFunction
Copy data from another TableFunction, except that the name of the funcion is not duplicated.
copyExpression(int, ExpressionProgram) - Method in class edu.hws.jcm.data.ExpressionProgram
The command at position index in the program represents a subexpression of the whole expression.
copyOfCurrentFunction() - Method in class edu.hws.jcm.functions.TableFunctionInput
Create a new TableFunction containing the data that is currently in the TableFunctionInput panel, and return a pointer to that new function.
CORRELATION - Static variable in class edu.hws.jcm.draw.ScatterPlot
A constant that can be used in the getValueObject() method to indicate which statistic the object should represent.
COS - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
COT - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
CROSS - Static variable in class edu.hws.jcm.draw.DrawGeometric
Specifies a cross centered on the point (x1,y1).
CROSS - Static variable in class edu.hws.jcm.draw.DraggablePoint
A style constant that specifies the visual appearance of a DraggablePoint to be a cross.
Crosshair - class edu.hws.jcm.draw.Crosshair.
A Crosshair is a small cross, 15 pixels wide and high, that is drawn in a CoordinateRect at a specified point.
Crosshair(Value, Function) - Constructor for class edu.hws.jcm.draw.Crosshair
Create a cross that appears on the graph of the function y=f(x) at the point with coordinates (x,f(x)).
Crosshair(Value, Value) - Constructor for class edu.hws.jcm.draw.Crosshair
Create a cross that appears at the point with coordinates (x,y).
CSC - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
CUBERT - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
CURRENT_METHOD - Static variable in class edu.hws.jcm.draw.RiemannSumRects
For use in getValueObject(), to indicate whatever summation method is currently set for drawing.

D

d - Variable in class edu.hws.jcm.draw.DrawGeometric
Value of y2.
data - Variable in class edu.hws.jcm.data.ParserContext
The string that is being parsed.
DATACT - Static variable in class edu.hws.jcm.draw.ScatterPlot
A constant that can be used in the getValueObject() method to indicate which statistic the object should represent.
DataTableInput - class edu.hws.jcm.awt.DataTableInput.
A DataTableInput lets the user input a grid of real numbers arranged in rows and columns.
DataTableInput() - Constructor for class edu.hws.jcm.awt.DataTableInput
Create a DataTableInput with no columns.
DataTableInput(String, int) - Constructor for class edu.hws.jcm.awt.DataTableInput
Create a table with the specified number of columns, named "A", "B", etc.
DataTableInput(String, String[]) - Constructor for class edu.hws.jcm.awt.DataTableInput
Create a table with the specified column names.
DEFAULT_OPTIONS - Static variable in class edu.hws.jcm.data.Parser
The default options set that is used for a newly created Parser, if none is specified in the Constructor.
deleteCurrentRow() - Method in class edu.hws.jcm.awt.DataTableInput
Delete the row that contains the cell that the user is editing.
dependsOn(int, Variable) - Method in class edu.hws.jcm.data.ExpressionProgram
The command at position index in the program represents a subexpression of the whole expression.
dependsOn(Variable) - Method in class edu.hws.jcm.awt.ExpressionInput.EI
 
dependsOn(Variable) - Method in interface edu.hws.jcm.data.ExpressionCommand
Return true if this command depends on the value of x, false otherwise.
dependsOn(Variable) - Method in class edu.hws.jcm.data.Constant
Retrun false, since the value of this Constant is independent of the value of x.
dependsOn(Variable) - Method in interface edu.hws.jcm.data.Expression
Checks whether the expression has any dependence on the variable x.
dependsOn(Variable) - Method in class edu.hws.jcm.data.ConditionalExpression
Returns true if x occurs in either the trueCase or the falseCase expression.
dependsOn(Variable) - Method in class edu.hws.jcm.data.SimpleFunction
Return true if the definition of this function depends in some way on the variable x.
dependsOn(Variable) - Method in interface edu.hws.jcm.data.Function
Return true if the defintion of this function depends in some way on the variable x.
dependsOn(Variable) - Method in class edu.hws.jcm.data.ExpressionProgram
Checks whether the expression as a whole has any dependence on the variable x.
dependsOn(Variable) - Method in class edu.hws.jcm.data.Variable
Check whether the value of this variable depends on the value of x.
dependsOn(Variable) - Method in class edu.hws.jcm.functions.TableFunction
Returns false.
dependsOn(Variable) - Method in class edu.hws.jcm.functions.ExpressionFunction
Return true if the definition of this function depends in some way on the variable x.
dependsOn(Variable) - Method in class edu.hws.jcm.functions.WrapperFunction
Return true if the definition of this function depends in some way on the variable x.
derivative(int) - Method in class edu.hws.jcm.data.SimpleFunction
Return the derivative of the function with repect to argument number wrt, where arguments are numbered starting from 1.
derivative(int) - Method in interface edu.hws.jcm.data.Function
Return the derivative of the function with repect to argument number wrt.
derivative(int) - Method in class edu.hws.jcm.functions.TableFunction
Compute the derivative of this function.
derivative(int) - Method in class edu.hws.jcm.functions.ExpressionFunction
Return the derivative of the function with repect to argument number wrt, where the arguments are numbered 1, 2, 3,....
derivative(int) - Method in class edu.hws.jcm.functions.WrapperFunction
Return the derivative of the function with repect to argument number wrt, where arguments are numbered starting from 1.
derivative(Variable) - Method in class edu.hws.jcm.awt.ExpressionInput.EI
 
derivative(Variable) - Method in class edu.hws.jcm.data.Constant
Return the derivative of this Constant with respect to the variable wrt.
derivative(Variable) - Method in interface edu.hws.jcm.data.Expression
Return an Expression that represents the derivative of this expression with respect to the variable wrt.
derivative(Variable) - Method in class edu.hws.jcm.data.SimpleFunction
Return the derivative of the function with respect to the variable x.
derivative(Variable) - Method in interface edu.hws.jcm.data.Function
Return the derivative of the function with respect to the variable x.
derivative(Variable) - Method in class edu.hws.jcm.data.ExpressionProgram
Compute the derivative of this expression with respect to the Variable wrt.
derivative(Variable) - Method in class edu.hws.jcm.data.Variable
Return the derivative of this Variable with respect to the Variable wrt.
derivative(Variable) - Method in class edu.hws.jcm.functions.TableFunction
Returns null.
derivative(Variable) - Method in class edu.hws.jcm.functions.ExpressionFunction
Return the derivative of the function with respect to the variable x.
derivative(Variable) - Method in class edu.hws.jcm.functions.WrapperFunction
Return the derivative of the function with respect to the variable x (where x is NOT one of the parameters of the function).
DISK - Static variable in class edu.hws.jcm.draw.DraggablePoint
A style constant that specifies the visual appearance of a DraggablePoint to be a disk.
DisplayCanvas - class edu.hws.jcm.draw.DisplayCanvas.
A DisplayCanvas is a drawing area that can contain one or more CoordinateRects.
DisplayCanvas() - Constructor for class edu.hws.jcm.draw.DisplayCanvas
Create a DisplayCanvas with a white background containing no CoordinateRects.
DisplayCanvas(CoordinateRect) - Constructor for class edu.hws.jcm.draw.DisplayCanvas
Create a DisplayCanvas with a white background and containing the specified CoordinateRect.
DisplayLabel - class edu.hws.jcm.awt.DisplayLabel.
A DisplayLabel is a label that can display numbers embedded in strings.
DisplayLabel() - Constructor for class edu.hws.jcm.awt.DisplayLabel
Create a label with no expressions set up to display a single number.
DisplayLabel(String, Value) - Constructor for class edu.hws.jcm.awt.DisplayLabel
Convenience method for making a DisplayLabel with just one value to display.
DisplayLabel(String, Value[]) - Constructor for class edu.hws.jcm.awt.DisplayLabel
Create a DisplayLabel to display one or more values.
DIVIDE - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
doCompute() - Method in class edu.hws.jcm.awt.Controller
Compute the Computables in this controller and its sub-controllers.
doDraw(Graphics) - Method in class edu.hws.jcm.draw.CoordinateRect
Draw all the Drawable items.
doParse(Parser, ParserContext) - Method in class edu.hws.jcm.awt.DataTableInput
Required by the ParserExtension interface and not meant to be called directly.
doParse(Parser, ParserContext) - Method in interface edu.hws.jcm.data.ParserExtension
Parses the part of an expression string associated with this ParserExtension.
doParse(Parser, ParserContext) - Method in class edu.hws.jcm.functions.FunctionParserExtension
If this ParserExtension is registered with a parser and the parser encounters the name of the function in the string it is parsing, then the parser will call this routine.
doParse(Parser, ParserContext) - Method in class edu.hws.jcm.functions.SummationParser
When the name of this ParserExtension is encountered by a parser with which the extension is registered, the parser calls this routine to parse the summation subexpression.
doRedraw() - Method in class edu.hws.jcm.draw.DisplayCanvas
Should be called whenever the contents of the canvas have changed and so it needs to need to be redrawn.
doRedraw(CoordinateRect) - Method in class edu.hws.jcm.draw.DisplayCanvas
To be called when the contents of one of the CordinateRects have changed and so it needs to need to be redrawn.
doRedraw(int) - Method in class edu.hws.jcm.draw.DisplayCanvas
To be called when the contents of one of the CordinateRects have changed and so it needs to need to be redrawn.
doTies() - Method in class edu.hws.jcm.awt.Controller
Check the Ties in this controller and its sub-controllers.
Draggable - interface edu.hws.jcm.draw.Draggable.
An interface that can be implemented by an object that can be dragged with the mouse.
DraggablePoint - class edu.hws.jcm.draw.DraggablePoint.
A DraggablePoint can be added to a DisplayCanvas, where it appears as a small disk, square, or cross.
DraggablePoint() - Constructor for class edu.hws.jcm.draw.DraggablePoint
Create a DraggablePoint with default values for style, radius, color.
DraggablePoint(int) - Constructor for class edu.hws.jcm.draw.DraggablePoint
Create a DraggablePoint with specified visual style.
draw(Graphics, boolean) - Method in class edu.hws.jcm.draw.Drawable
Draw this drawable in the graphics context g.
draw(Graphics, boolean) - Method in class edu.hws.jcm.draw.VectorField
Draw the vector field (possibly recomputing the data if the CoordinateRect has changed).
draw(Graphics, boolean) - Method in class edu.hws.jcm.draw.DrawGeometric
Do the drawing.
draw(Graphics, boolean) - Method in class edu.hws.jcm.draw.DrawBorder
Draw the border in the given graphics context.
draw(Graphics, boolean) - Method in class edu.hws.jcm.draw.ParametricCurve
Draw the graph (possibly recomputing the data if the CoordinateRect has changed).
draw(Graphics, boolean) - Method in class edu.hws.jcm.draw.Axes
Draw the axes.
draw(Graphics, boolean) - Method in class edu.hws.jcm.draw.DrawString
Draws the string.
draw(Graphics, boolean) - Method in class edu.hws.jcm.draw.Grid
Draws the grid if an update is required.
draw(Graphics, boolean) - Method in class edu.hws.jcm.draw.Panner
Override the abstract draw() method from the Drawable class.
draw(Graphics, boolean) - Method in class edu.hws.jcm.draw.RiemannSumRects
Draw the Rieman sum rects.
draw(Graphics, boolean) - Method in class edu.hws.jcm.draw.DraggablePoint
This method, from the Drawable interface, draws the point.
draw(Graphics, boolean) - Method in class edu.hws.jcm.draw.MouseTracker
A MouseTracker doesn't actually draw anything, but this method is required in a Drawable object.
draw(Graphics, boolean) - Method in class edu.hws.jcm.draw.Graph1D
Draw the graph (possibly recomputing the data if the CoordinateRect has changed).
draw(Graphics, boolean) - Method in class edu.hws.jcm.draw.ScatterPlot
Draw the data points and regression line.
draw(Graphics, boolean) - Method in class edu.hws.jcm.functions.TableFunctionGraph
Override the draw() method from class Drawable to draw the function.
draw(Graphics, CoordinateRect) - Method in interface edu.hws.jcm.draw.DrawTemp
Draw this item in the specified graphics context, possibly using information from the specified CoordinateRect.
draw(Graphics, int, int) - Method in class edu.hws.jcm.draw.CoordinateRect
Draw in rect with upperleft corner (0,0) and specified width,height.
draw(Graphics, int, int, int, int) - Method in class edu.hws.jcm.draw.CoordinateRect
Draw in specified rect.
Drawable - class edu.hws.jcm.draw.Drawable.
A Drawable object can be added to a CoordinateRect, which is itself in a DisplayCanvas.
Drawable() - Constructor for class edu.hws.jcm.draw.Drawable
 
DrawBorder - class edu.hws.jcm.draw.DrawBorder.
A DrawBorder object is just a simple border around the edges of its CoordinateRect, with a specified width, in pixels, and a specified color.
DrawBorder() - Constructor for class edu.hws.jcm.draw.DrawBorder
Create a black border that is one pixel thick.
DrawBorder(Color, int) - Constructor for class edu.hws.jcm.draw.DrawBorder
Create a border with the spcified color and width.
DrawGeometric - class edu.hws.jcm.draw.DrawGeometric.
A DrawGeometric object is a geometic figure such as a line or rectangle that can be drawn in a CoordinateRect.
DrawGeometric() - Constructor for class edu.hws.jcm.draw.DrawGeometric
Create a DrawGeometric object.
DrawGeometric(int, Value, Value, int, int) - Constructor for class edu.hws.jcm.draw.DrawGeometric
Create a DrawGeometric with a specified shape and values.
DrawGeometric(int, Value, Value, Value, Value) - Constructor for class edu.hws.jcm.draw.DrawGeometric
Create a DrawGeometric with the specified shape and values for x1,x2,y1,y2 Any of the shapes makes sense in this context.
drawItems - Variable in class edu.hws.jcm.draw.CoordinateRect
Drawable items contained in this CoordinateRect
DrawString - class edu.hws.jcm.draw.DrawString.
A DrawString object displays a string, possibly multi-line, in a DisplayCanvas, inside the rectangular region of a CoordinateRect.
DrawString() - Constructor for class edu.hws.jcm.draw.DrawString
Create a DrawString object that initially has no string to draw.
DrawString(String) - Constructor for class edu.hws.jcm.draw.DrawString
Create a DrawString for drawing a black string in the top left corner of the coordinate rect.
DrawString(String, int) - Constructor for class edu.hws.jcm.draw.DrawString
Create a DrawString for drawing a black string in the position specified.
DrawString(String, int, Value[]) - Constructor for class edu.hws.jcm.draw.DrawString
Create a DrawString for drawing a black string in the specified position.
DrawString(String, int, Value, Value, Value[]) - Constructor for class edu.hws.jcm.draw.DrawString
Create a string that is displayed at the reference point (xPos,yPos); The positioning constant, pos, gives the positioning relative to this point, if xPos or yPos is non-null.
DrawTemp - interface edu.hws.jcm.draw.DrawTemp.
An object that implements this interface can draw itself, using information from a CoordinateRect (in which it presumably appears).
drawTemp(DrawTemp) - Method in class edu.hws.jcm.draw.DisplayCanvas
Draws the specified item in the first CoordinateRect in this canvas.
drawTemp(DrawTemp, int) - Method in class edu.hws.jcm.draw.DisplayCanvas
Draws the specified item in the specified CoordinateRect in this canvas.

E

edu.hws.jcm.awt - package edu.hws.jcm.awt
 
edu.hws.jcm.data - package edu.hws.jcm.data
 
edu.hws.jcm.draw - package edu.hws.jcm.draw
 
edu.hws.jcm.functions - package edu.hws.jcm.functions
 
END_OF_STRING - Static variable in class edu.hws.jcm.data.ParserContext
One of the possible token types returned by look() and next().
EQ - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
EQUALIZE - Static variable in class edu.hws.jcm.draw.LimitControlPanel
A constant that can be used in the addButton() method to add a button to the LimitControlPanel.
equalizeAxes() - Method in class edu.hws.jcm.draw.CoordinateRect
Reset limits, if necessary, so scales on the axes are the same.
equals(Cases) - Method in class edu.hws.jcm.data.Cases
Test whether c contains exactly the same list of case values as this Cases object does.
errorCleared() - Method in class edu.hws.jcm.awt.Controller
Should be called by the ErrorReporter if the ErrorReporter clears the error itself.
errorMessage - Variable in class edu.hws.jcm.awt.Controller
If non-null, this is an error message that has been reported and not yet cleared.
errorMessage - Variable in class edu.hws.jcm.awt.VariableInput
Error message from the most recent time checkInput() as called.
errorMessage - Variable in class edu.hws.jcm.awt.ExpressionInput
Error message from the most recent time the input was checked by a call to checkInput().
errorReporter - Variable in class edu.hws.jcm.awt.Controller
Used for reporting errors that occur in the compute() method of this controller.
errorReporter - Variable in class edu.hws.jcm.draw.LimitControlPanel
For reporting errors in user input.
ErrorReporter - interface edu.hws.jcm.awt.ErrorReporter.
To allow different styles of reporting errors, a Controller uses an ErrorReporter to report any errors that are thrown during its checkInput/compute cycle.
EXP - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
expr - Variable in class edu.hws.jcm.awt.ExpressionInput
The Expression associate with this input box.
Expression - interface edu.hws.jcm.data.Expression.
An Expression represents a mathematical expression such as "x+1" or "3" or "sin(x*ln(x)-3*abs(x/4))".
EXPRESSION - Static variable in class edu.hws.jcm.awt.VariableInput
A constant for use in the setInputStyle() method.
ExpressionCommand - interface edu.hws.jcm.data.ExpressionCommand.
An ExpressionCommand can occur as a command in an ExpressionProgram.
ExpressionFunction - class edu.hws.jcm.functions.ExpressionFunction.
An ExpressionFunction is a Function that is created from an expression and a list of variables that serve as the parameter(s) of the function.
ExpressionFunction(String, String) - Constructor for class edu.hws.jcm.functions.ExpressionFunction
Constuct a function of one parameter, named "x", by parsing the String, def, to get the definition of the function.
ExpressionFunction(String, String[], String, Parser) - Constructor for class edu.hws.jcm.functions.ExpressionFunction
Constuct a function of one or more parameters by parsing the String, def, to get the definition of the function.
ExpressionFunction(String, Variable[], Expression) - Constructor for class edu.hws.jcm.functions.ExpressionFunction
Construct a function from a list of variables that serve as parameters and an expression that, presumably, can include those variables.
ExpressionInput - class edu.hws.jcm.awt.ExpressionInput.
An ExpressionInput is an input box that allows the user input a mathematical expression.
ExpressionInput.EI - class edu.hws.jcm.awt.ExpressionInput.EI.
The expression associated with an ExpressionInput belongs to this class.
ExpressionInput() - Constructor for class edu.hws.jcm.awt.ExpressionInput
Create a new ExpressionFunction with no associated parser.
ExpressionInput(String, Parser) - Constructor for class edu.hws.jcm.awt.ExpressionInput
Create an ExpressionInputBox with initial contents given by initialValue.
ExpressionProgram - class edu.hws.jcm.data.ExpressionProgram.
An ExprssionProgram represents a mathematical expression such as "3" or "sin(x^2)", stored in the form of a program for a stack machine.
ExpressionProgram() - Constructor for class edu.hws.jcm.data.ExpressionProgram
Default constructor creates an initially empty program.
extent(ExpressionProgram, int) - Method in interface edu.hws.jcm.data.ExpressionCommand
The ExpressionCommand occurs in the program prog at the index indicated by myIndex.
extent(ExpressionProgram, int) - Method in class edu.hws.jcm.data.Constant
Return the number of locations that this Constant uses in the program.
extent(ExpressionProgram, int) - Method in class edu.hws.jcm.data.ConditionalExpression
Assume that this ConditionalExpression object occurs in prog at index myIndex.
extent(ExpressionProgram, int) - Method in class edu.hws.jcm.functions.FunctionParserExtension
Return the number of commands in prog that are part of this function reference, including the space occupied by the commands that compute the values of the function's arguments.
extent(int) - Method in class edu.hws.jcm.data.ExpressionProgram
The command at position index in the program represents a subexpression of the whole expression.

F

FACTORIAL - Static variable in class edu.hws.jcm.data.Parser
An option that can be set for this parser.
FACTORIAL - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
fillColor - Variable in class edu.hws.jcm.draw.DrawGeometric
Rects and ovals are filled with this color, if it is non-null.
findCoordinateRectAt(int, int) - Method in class edu.hws.jcm.draw.DisplayCanvas
Return CoordinateRect that contains the specified pixel, or null if there is none.
findPoint(double) - Method in class edu.hws.jcm.functions.TableFunction
If there is a point in the list with x-coordinate x, then this function returns the index of that point in the list (where the index of the first point is zero).
finishDrag(MouseEvent) - Method in class edu.hws.jcm.draw.DraggablePoint
Finish a drag operation begun in startDrag().
finishDrag(MouseEvent) - Method in interface edu.hws.jcm.draw.Draggable
Finish a draw that was started in startDrag().
finishEdit() - Method in class edu.hws.jcm.functions.TableFunctionInput
If an edit function has been specified (by startEdit()), this function copies the data form the TableFunctionInput into that function, and returns a pointer to that function.
FLOOR - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
font - Variable in class edu.hws.jcm.draw.DrawString
Font for drawing string.
frameColor - Variable in class edu.hws.jcm.draw.DrawString
If frameWidth is greate than zero, then a frame is drawn around the string in this color.
frameWidth - Variable in class edu.hws.jcm.draw.DrawString
If frameWidth is greater than zero, then a frame of this width is drawn around the string in the color given by frameColor.
Function - interface edu.hws.jcm.data.Function.
A Function is a mathematical real-valued function of zero or more real-valued arguments.
FunctionParserExtension - class edu.hws.jcm.functions.FunctionParserExtension.
An object belonging to a concrete subclass of FunctionParserExtesion is a mathematical function that can be registered with a Parser and then used in strings that are parsed by that parser.
FunctionParserExtension() - Constructor for class edu.hws.jcm.functions.FunctionParserExtension
 

G

gatherInputs() - Method in class edu.hws.jcm.awt.Controller
Calles notifyControllerOnChange(this).
gatherInputs() - Method in class edu.hws.jcm.awt.JCMPanel
This method will set all the input objects in this JCMPanel and in sub-JCMPanels, as well as any other input objects that have been added to the panels' Controllers, to notify the Controller of this JCMPanel when they change.
GE - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
get(String) - Method in class edu.hws.jcm.data.Parser
Get the MathObject that has been registered with the parser under the given name.
get(String) - Method in class edu.hws.jcm.data.ParserContext
Get the MathObject associated with name in the symbol table.
get(String) - Method in class edu.hws.jcm.data.SymbolTable
Look up the object with the given name, if any.
getArity() - Method in class edu.hws.jcm.data.SimpleFunction
Return the number of arguments of this function.
getArity() - Method in interface edu.hws.jcm.data.Function
Return the number of arguments of this function.
getArity() - Method in class edu.hws.jcm.functions.TableFunction
Returns the arity of the function, which is 1.
getArity() - Method in class edu.hws.jcm.functions.ExpressionFunction
Return the number of arguments of this function.
getArity() - Method in class edu.hws.jcm.functions.WrapperFunction
Return the number of arguments of this function.
getAutoAddRows() - Method in class edu.hws.jcm.awt.DataTableInput
Get the value of the autoAddRows property, which determines whether empty rows are automatically added to the bottom of the table when needed.
getAutoChangeLimits() - Method in class edu.hws.jcm.draw.ScatterPlot
The return value indicates whether the limits on the CoordinateRect are automatically adjusted when the data is recomputed.
getAxesColor() - Method in class edu.hws.jcm.draw.Axes
Get the color that is used for drawing the axes, when they are drawn in their true position.
getBackgroundColor() - Method in class edu.hws.jcm.draw.DrawString
Get the color that is used to fill a rectangle on which the string is drawn.
getBaseText() - Method in class edu.hws.jcm.awt.DisplayLabel
Return the basic text, including the #'s where Values are inserted in the displayed text.
getBlankBackground() - Method in class edu.hws.jcm.awt.DataTableInput
Returns the color that is used for blank areas in the table, below the rows of cells.
getButton(int) - Method in class edu.hws.jcm.draw.LimitControlPanel
Get a Button corresponding to one of the six button types defined by the constants SET_LIMITS, EQUALIZE, ZOOM_IN, ZOOM_OUT, SAVE, and RESTORE in this class.
getCellBackground() - Method in class edu.hws.jcm.awt.DataTableInput
Returns the color that is used as a background for cells in the table.
getCellContents(int, int) - Method in class edu.hws.jcm.awt.DataTableInput
Get the number in the specified row and column.
getClamp() - Method in class edu.hws.jcm.draw.DrawString
Returns true if the string is set to be clamped to lie within the CoordinateRect.
getClampX() - Method in class edu.hws.jcm.draw.MouseTracker
Get the "clampX" property of the MouseTracker.
getClampY() - Method in class edu.hws.jcm.draw.MouseTracker
Get the "clampY" property of the MouseTracker.
getColor() - Method in class edu.hws.jcm.draw.VectorField
Get the color that is used to draw the vector field.
getColor() - Method in class edu.hws.jcm.draw.DrawGeometric
Get the non-null color that is used for drawing the shape.
getColor() - Method in class edu.hws.jcm.draw.DrawBorder
Get the color of the border.
getColor() - Method in class edu.hws.jcm.draw.ParametricCurve
Get the color that is used to draw the graph.
getColor() - Method in class edu.hws.jcm.draw.DrawString
Get the non-null color that is used for drawing the string.
getColor() - Method in class edu.hws.jcm.draw.Grid
Access method which returns the Color of the grid lines.
getColor() - Method in class edu.hws.jcm.draw.RiemannSumRects
Get the current color used to draw the rectangles
getColor() - Method in class edu.hws.jcm.draw.DraggablePoint
Get the color used for drawing the point.
getColor() - Method in class edu.hws.jcm.draw.Graph1D
Get the color that is used to draw the graph.
getColor() - Method in class edu.hws.jcm.functions.TableFunctionGraph
Get the non-null color that is used for drawing the graph.
getColumnCount() - Method in class edu.hws.jcm.awt.DataTableInput
Get the number of columns in the table.
getColumnName(int) - Method in class edu.hws.jcm.awt.DataTableInput
Get the name of column number i, where columns are numbered starting from zero.
getColumnVariable(int) - Method in class edu.hws.jcm.awt.DataTableInput
Return a column variable for the specified column, where columns are numbered starting from 1.
getControl(int) - Method in class edu.hws.jcm.awt.Animator
Get one of controls associated with the Animator.
getController() - Method in class edu.hws.jcm.awt.JCMPanel
Return the controller associated with this JCMPanel.
getCoordinateRect() - Method in class edu.hws.jcm.draw.DisplayCanvas
Get the first CoordinateRect in this canvas.
getCoordinateRect(int) - Method in class edu.hws.jcm.draw.DisplayCanvas
Get the i-th CoordinateRect in this DisplayCanvas.
getCurrentRowNumber() - Method in class edu.hws.jcm.awt.DataTableInput
Return the current row number.
getDataColor() - Method in class edu.hws.jcm.draw.ScatterPlot
Get the color that is used to draw the points in the data.
getDefinitionString() - Method in class edu.hws.jcm.functions.ExpressionFunction
Return the expression that defines this function, as a string.
getDrawable(int) - Method in class edu.hws.jcm.draw.CoordinateRect
Get the i-th Drawable in this Rect, or null if i is less than zero or greater than or equal to the number of items.
getDrawableCount() - Method in class edu.hws.jcm.draw.CoordinateRect
Returns the number of Drawable items that are in this CoordinateRect.
getEmptyCellValue() - Method in class edu.hws.jcm.awt.DataTableInput
Get the value that is represented by an empty cell.
getErrorBackground() - Method in class edu.hws.jcm.draw.DisplayCanvas
Get color that is used as a background when the canvas displays an error message.
getErrorForeground() - Method in class edu.hws.jcm.draw.DisplayCanvas
Get color that is used for the text when the canvas displays an error message.
getErrorMessage() - Method in class edu.hws.jcm.awt.VariableInput
Get error message from previous call to checkInput().
getErrorMessage() - Method in class edu.hws.jcm.awt.ExpressionInput
Get error message from previous call to checkInput().
getErrorMessage() - Method in interface edu.hws.jcm.awt.ErrorReporter
Get the error message that is currently being displayed, or return null if there is no error message.
getErrorMessage() - Method in class edu.hws.jcm.awt.MessagePopup
Get the currently displayed error message.
getErrorMessage() - Method in class edu.hws.jcm.draw.DisplayCanvas
Get the error message that is currently displayed on the canvas.
getErrorReporter() - Method in class edu.hws.jcm.awt.Controller
Get the ErrorReporter for this Controller.
getErrorReporter() - Method in class edu.hws.jcm.draw.LimitControlPanel
Get the ErrorReporter that is used to report errors in the user's input.
getExpression() - Method in class edu.hws.jcm.awt.ExpressionInput
Get the Expression associated with this ExpressionInput.
getFillColor() - Method in class edu.hws.jcm.draw.DrawGeometric
Get the color that is used for filling ovals and rects.
getFont() - Method in class edu.hws.jcm.draw.DrawString
Return the font that is used for drawing the string.
getFrameColor() - Method in class edu.hws.jcm.draw.DrawString
Get the color that is used to draw a frame around the string.
getFrameWidth() - Method in class edu.hws.jcm.draw.DrawString
Get the width, in pixels, of the frame that is drawn around the string.
getFuction() - Method in class edu.hws.jcm.draw.RiemannSumRects
Returns the function whose Riemann sums are computed.
getFunction() - Method in class edu.hws.jcm.draw.Graph1D
Get the (possibly null) function whose graph is drawn.
getFunction() - Method in class edu.hws.jcm.functions.WrapperFunction
Return the function that is currently wrapped in this WrapperFunction.
getFunction() - Method in class edu.hws.jcm.functions.TableFunctionGraph
Get the TableFunction whose graph is drawn by this TableFunctionGraph.
getFunction(Variable) - Method in class edu.hws.jcm.awt.ExpressionInput
Get a function of one variable whose value at a real number x is computed by assigning x to the variable v and then returning the value of the expression associated with this ExpressionInput.
getFunction(Variable[]) - Method in class edu.hws.jcm.awt.ExpressionInput
Get a function of one or more variables whose value at arguments x1, x2, ...
getGap() - Method in class edu.hws.jcm.draw.CoordinateRect
Get the gap, in pixels, between the edges of the CoordinateRect and the limits specified by xmin, xmax, ymin, and ymax.
getGhostColor() - Method in class edu.hws.jcm.draw.DraggablePoint
Get the "ghostColor" of the point.
getGridColor() - Method in class edu.hws.jcm.awt.DataTableInput
Returns the color that is used for the lines between cells in the table.
getH() - Method in class edu.hws.jcm.draw.DrawGeometric
Get the horizontal offset from (x1,y1).
getHandleMouseZooms() - Method in class edu.hws.jcm.draw.DisplayCanvas
Get the "handleMouseZooms" property of this DisplayCanvas, which determines whether the canvas reacts to mouse events by zooming the CoordinateRect that is clicked.
getHeight() - Method in class edu.hws.jcm.draw.CoordinateRect
Get the height in pixels of this CoordinateRect in the DisplayCanvas that contains it.
getInputStyle() - Method in class edu.hws.jcm.awt.VariableInput
Return the input style, which determines what types of things are allowed in the input box.
getInsets() - Method in class edu.hws.jcm.awt.JCMPanel
Called by the system to determine how much of a gap to leave on each edge of the panel.
getInsets() - Method in class edu.hws.jcm.functions.TableFunctionInput
Leave a 3-pixel gap around the edges of the panel.
getIntegerValued() - Method in class edu.hws.jcm.awt.VariableSlider
Return a boolean which is true if the VariableSlider restricts ranges of values to integers, false otherwise.
getInteractive() - Method in class edu.hws.jcm.functions.TableFunctionGraph
Get the value of the interactive property, which is true if the user can modify the function by dragging the points from the table.
getIntervalCount() - Method in class edu.hws.jcm.draw.RiemannSumRects
Get the number of intervals used.
getIntervals() - Method in class edu.hws.jcm.awt.Animator
Get the Value object that specifies the number of frames in the animation.
getIntervals() - Method in class edu.hws.jcm.draw.ParametricCurve
Get the value object, possibly null, that determines the number of points on the curve.
getJustification() - Method in class edu.hws.jcm.draw.DrawString
Get the justification that is used for a multiple-line string.
getLabelBackground() - Method in class edu.hws.jcm.awt.DataTableInput
Returns the color that is used as a background for row numbers and column titles.
getLabelColor() - Method in class edu.hws.jcm.draw.Axes
Get the color that is used for drawing the labels on the x- and y-axes.
getLeft() - Method in class edu.hws.jcm.draw.CoordinateRect
Get the left edge of this CoordinateRect in the DisplayCanvas that contains it.
getLightAxesColor() - Method in class edu.hws.jcm.draw.Axes
Get the color that is used for drawing an axis, when it is drawn along an edge of the CoordinateRect instead of in its proper x- or y-position.
getLimits() - Method in interface edu.hws.jcm.awt.Limits
Return a 4-element array containing xmin, xmax, ymin, and ymax.
getLimits() - Method in class edu.hws.jcm.draw.CoordinateRect
Get an array containing the limits on the CoordinateRect in the order xmin, xmax, ymin, ymax.
getLimits() - Method in class edu.hws.jcm.draw.LimitControlPanel
Get the values in the xmin, xmax, ymin, and ymax input boxes.
getLineColor() - Method in class edu.hws.jcm.draw.ScatterPlot
Get the color that is used to draw the regression line.
getLineWidth() - Method in class edu.hws.jcm.draw.DrawGeometric
Get the width, in pixels, of lines that are drawn.
getListenForDrags() - Method in class edu.hws.jcm.draw.MouseTracker
Gets the "listenForDrags" property of the MouseTracker, which determines if the MouseTracker responds to both clicks and drags, or only to clicks.
getLoopStyle() - Method in class edu.hws.jcm.awt.Animator
Get the loop style, which determines what happens when the final frame of the animation is reached.
getMax() - Method in class edu.hws.jcm.awt.VariableInput
Return the maximum value that will be accepted in this VariableInput box.
getMax() - Method in class edu.hws.jcm.awt.Animator
Get the Value object that specifies the final value of the Animator.
getMax() - Method in class edu.hws.jcm.awt.VariableSlider
Get the Value object that gives the value of the variable when the slider is at the right (or top) of the scrollbar.
getMethod() - Method in class edu.hws.jcm.draw.RiemannSumRects
Return the current method used to find the rectangle sums
getMillisPerFrame() - Method in class edu.hws.jcm.awt.Animator
Get the nominal number of milliseconds per frame.
getMin() - Method in class edu.hws.jcm.awt.VariableInput
Return the minimum value that will be accepted in this VariableInput box.
getMin() - Method in class edu.hws.jcm.awt.Animator
Get the Value object that specifies the starting value of the Animator.
getMin() - Method in class edu.hws.jcm.awt.VariableSlider
Get the Value object that gives the value of the variable when the slider is at the left (or bottom) of the scrollbar.
getMissingValueIsError() - Method in class edu.hws.jcm.draw.ScatterPlot
The return value indicates whether missing data is considered to be an error.
getName() - Method in class edu.hws.jcm.awt.DataTableInput
Get the name of the DataInputTable (which might be null).
getName() - Method in class edu.hws.jcm.data.StandardFunction
Return the name of this StandardFunction oject.
getName() - Method in class edu.hws.jcm.data.Constant
Return the name of this Constant.
getName() - Method in interface edu.hws.jcm.data.MathObject
Get the name of this object.
getName() - Method in class edu.hws.jcm.functions.FunctionParserExtension
Get the name of this MathObject.
getName() - Method in class edu.hws.jcm.functions.SummationParser
Get the name, which will be used in place of "sum" in expressions.
getNonEmptyRowCount() - Method in class edu.hws.jcm.awt.DataTableInput
Return the number of rows in the table, ignoring empty rows at the bottom of the table.
getNumSize() - Method in class edu.hws.jcm.awt.DisplayLabel
Return the desired maximum number of characters in displayed numbers.
getNumSize() - Method in class edu.hws.jcm.draw.DrawString
Return the desired maximum number of characters in displayed numbers.
getOffset() - Method in class edu.hws.jcm.draw.DrawString
Get the distance of the bounding box of the string from the reference point where it is drawn.
getOnChange() - Method in class edu.hws.jcm.awt.Animator
Get the Controller that is notified (by calling its compute() method) whenever the frame changes.
getOnChange() - Method in class edu.hws.jcm.draw.CoordinateRect
Get the controller that is notified when the limits on this CoordinateRect change.
getOnChange() - Method in class edu.hws.jcm.functions.TableFunctionInput
Get the Controller that is notified when the user edits the data in this panel.
getOnDrag() - Method in class edu.hws.jcm.functions.TableFunctionGraph
Get the Computable that is notified as the user drags a point.
getOnFinishDrag() - Method in class edu.hws.jcm.draw.Panner
Get the Controller that is notified when the user finishs a drag.
getOnFinishDrag() - Method in class edu.hws.jcm.functions.TableFunctionGraph
Get the Computable that is notified when the user finishes dragging a point.
getOnTextChange() - Method in class edu.hws.jcm.awt.VariableInput
Return the Controller, if any, that is notified when the text in this input box changes
getOnTextChange() - Method in class edu.hws.jcm.awt.ExpressionInput
Return the Controller, if any, that is notified whenever the text in this input box changes
getOnUserAction() - Method in class edu.hws.jcm.awt.ComputeButton
Return the controlller whose compute() method is called when the user clicks this button.
getOnUserAction() - Method in class edu.hws.jcm.awt.VariableInput
Return the Controller, if any, that is notified when the user presses return in this text-input box.
getOnUserAction() - Method in class edu.hws.jcm.awt.ExpressionInput
Return the Controller, if any, that is notified when the user presses return in this text-input box.
getOnUserAction() - Method in class edu.hws.jcm.awt.VariableSlider
Return the Controller, if any, that is notified when the user adjusts the position of the scroll bar.
getOnUserAction() - Method in class edu.hws.jcm.draw.Panner
Get the Controller that is notified when the user moves the mouse during a drag.
getOnUserAction() - Method in class edu.hws.jcm.draw.MouseTracker
Get the Controller that responds when a user mouse action is detected by this MouseTracker.
getOnUserAction(Controller) - Method in class edu.hws.jcm.draw.DraggablePoint
Get the Controller that is notified when the user drags the point.
getOpCode() - Method in class edu.hws.jcm.data.StandardFunction
Return the operation code for this standard function.
getOrientation() - Method in class edu.hws.jcm.awt.Animator
Get the constant, VERTICAL or HORIZONTAL, that was used to specify whether the components in the animator are arranged veritcally or horizontally.
getOutlineColor() - Method in class edu.hws.jcm.draw.RiemannSumRects
Get the color that is used to draw outlines around the rects.
getPixelHeight() - Method in class edu.hws.jcm.draw.CoordinateRect
Return the height of one pixel in this coordinate system.
getPixelSpacing() - Method in class edu.hws.jcm.draw.VectorField
Get the value of the pixelSpacing property, which determines the grid spacing for the vector field.
getPixelWidth() - Method in class edu.hws.jcm.draw.CoordinateRect
Return the width of one pixel in this coordinate system.
getPointCount() - Method in class edu.hws.jcm.functions.TableFunction
Gets the number of points in the table.
getPositioning() - Method in class edu.hws.jcm.draw.DrawString
Return the positioning, as set by setPositioning().
getPreferredSize() - Method in class edu.hws.jcm.awt.VariableSlider
Modify getPreferredSize to return a width of 200, if the scrollbar is horzontal, or a height of 200, if it is vertical.
getPreferredSize() - Method in class edu.hws.jcm.awt.DisplayLabel
Return the preferred size of this DisplayLabel.
getPreferredSize() - Method in class edu.hws.jcm.draw.DisplayCanvas
This has been overridden to return a default size of 350-by-350 pixels.
getPreferredSize() - Method in class edu.hws.jcm.draw.LimitControlPanel
Compute the preferred size of this panel.
getRadius() - Method in class edu.hws.jcm.draw.DraggablePoint
Get the radius used for drawing the point.
getRowNumberVariable() - Method in class edu.hws.jcm.awt.DataTableInput
Get a variable that represents the current row number in the table, as set by the setCurrentRowNumber() method.
getSerialNumber() - Method in class edu.hws.jcm.awt.VariableInput
Return this object's serial number, which increases whenever the value of the associated variable changes.
getSerialNumber() - Method in class edu.hws.jcm.awt.DataTableInput
Get the serial number of the table.
getSerialNumber() - Method in class edu.hws.jcm.awt.Animator
Part of the Tieable interface.
getSerialNumber() - Method in class edu.hws.jcm.awt.VariableSlider
Return this object's serial number, which is increased every time the value changes.
getSerialNumber() - Method in interface edu.hws.jcm.awt.Tieable
Get the serial number associated with this Tieable.
getSerialNumber() - Method in class edu.hws.jcm.draw.CoordinateRect
Return the serial number of the CoordinateRect, which is incremented each time the limits change.
getSerialNumber() - Method in class edu.hws.jcm.draw.LimitControlPanel
Part of the Tieable interface, and not meant to be called directly.
getShowColumnTitles() - Method in class edu.hws.jcm.awt.DataTableInput
Test whether the column name is shown at the top of each column.
getShowPoints() - Method in class edu.hws.jcm.functions.TableFunctionGraph
Get the showPoints property, which determines whether the points from the table that defines the function are visible as little disks.
getShowRegressionLine() - Method in class edu.hws.jcm.draw.ScatterPlot
The return value tells whether a regression line is drawn.
getShowRowNumbers() - Method in class edu.hws.jcm.awt.DataTableInput
Test whether row numbers are shown.
getString() - Method in class edu.hws.jcm.draw.DrawString
Get a copy of the display string (with \n's #'s, not with substitued values.)
getStyle() - Method in class edu.hws.jcm.draw.VectorField
Get the style in which the vector field is displayed.
getStyle() - Method in class edu.hws.jcm.draw.DraggablePoint
Get the visual style of the point, which must be one of the constants DraggablePoint.DISK, DraggablePoint.SQUARE, or DraggablePoint.CROSS.
getStyle() - Method in class edu.hws.jcm.functions.TableFunction
Get the style of this TableFunction, which specifies how values are interpolated between points on the curve.
getTable() - Method in class edu.hws.jcm.draw.ScatterPlot
Get the DataTableInput from which the plotted data is obtained.
getThrowErrors() - Method in class edu.hws.jcm.awt.VariableInput
Return the value of the throwErrors property.
getThrowErrors() - Method in class edu.hws.jcm.awt.ExpressionInput
Return the value of the throwErrors property, which determines whether errors can be thrown when checkInput() is called.
getThrowErrors() - Method in class edu.hws.jcm.awt.DataTableInput
Get the value of the throwErrors property, which determines whether an error is thrown when an attempt is made to refer to the value of a cell that contains an invalid string.
getTMax() - Method in class edu.hws.jcm.draw.ParametricCurve
Get the Value object, possibly null, that gives the right endpoint of the domain of the parameter.
getTMin() - Method in class edu.hws.jcm.draw.ParametricCurve
Get the Value object, possibly null, that gives the left endpoint of the domain of the parameter.
getTop() - Method in class edu.hws.jcm.draw.CoordinateRect
Get the top edge of this CoordinateRect in the DisplayCanvas that contains it.
getUndefinedWhenNotDragging() - Method in class edu.hws.jcm.draw.MouseTracker
Gets the "undefinedWhenNotDragging" property of the MouseTracker.
getUndefinedWhenNotRunning() - Method in class edu.hws.jcm.awt.Animator
Get the value of the undefinedWhenNotRunning property.
getUseOffscreenCanvas() - Method in class edu.hws.jcm.draw.DisplayCanvas
Set the "useOffscreenCanvas" property of this DisplayCanvas.
getUseTwoColumnsIfPossible() - Method in class edu.hws.jcm.draw.LimitControlPanel
Get the value of the "useTwoColumnsIfPossible" property of this panel.
getV() - Method in class edu.hws.jcm.draw.DrawGeometric
Get the vertical offset from (x1,y1).
getVal() - Method in class edu.hws.jcm.awt.VariableInput
Return the value of the associated variable, which might not reflect the value of the contents of the input box.
getVal() - Method in class edu.hws.jcm.awt.ExpressionInput
Return the current value of the expression associated with this ExpressionInput.
getVal() - Method in class edu.hws.jcm.awt.ExpressionInput.EI
 
getVal() - Method in class edu.hws.jcm.awt.Animator
Get the current value of the Animator.
getVal() - Method in class edu.hws.jcm.awt.VariableSlider
Get the value of this VariableSlider.
getVal() - Method in class edu.hws.jcm.data.ValueMath
Get the value of this object.
getVal() - Method in class edu.hws.jcm.data.Constant
Return the value of this Constant.
getVal() - Method in class edu.hws.jcm.data.ExpressionProgram
Run the ExprssionProgram and return the value that it computes.
getVal() - Method in interface edu.hws.jcm.data.Value
Gets the current value of this object.
getVal(double) - Method in class edu.hws.jcm.functions.TableFunction
Get the value of the function at x, using interpolation if x lies between two x-coordinates in the list of points that define the function.
getVal(double[]) - Method in class edu.hws.jcm.data.SimpleFunction
Find the value of the function at the argument values argument[0], argument[1]....
getVal(double[]) - Method in interface edu.hws.jcm.data.Function
Find the value of the function at the argument values given by arguments[0], arguments[1], ...
getVal(double[]) - Method in class edu.hws.jcm.functions.TableFunction
Get the value of the function at the specified parameter value.
getVal(double[]) - Method in class edu.hws.jcm.functions.ExpressionFunction
Find the value of the function at the argument values given by arguments[0], arguments[1], ...
getVal(double[]) - Method in class edu.hws.jcm.functions.WrapperFunction
Find the value of the function at the argument value argument[0], ....
getValueAsVariable() - Method in class edu.hws.jcm.awt.Animator
Get a variable whose value is always equal to the value of the animator.
getValueAsVariable(String) - Method in class edu.hws.jcm.awt.Animator
Get a variable whose value is always equal to the value of the animator.
getValueObject(int) - Method in class edu.hws.jcm.draw.CoordinateRect
Get a Value object representing one of the limits on this CoordinateRect.
getValueObject(int) - Method in class edu.hws.jcm.draw.RiemannSumRects
Gets a Value object that gives the value of the Riemann sum for the specified method.
getValueObject(int) - Method in class edu.hws.jcm.draw.ScatterPlot
Get a Value that represents a statistic about the data that is shown in the scatter plot.
getValues() - Method in class edu.hws.jcm.awt.DisplayLabel
Get the array of Value objects whose values are displayed in this DisplayLabel.
getValues() - Method in class edu.hws.jcm.draw.DrawString
Return the array of values that are substituted for #'s in the string.
getValueWithCases(Cases) - Method in class edu.hws.jcm.awt.ExpressionInput.EI
 
getValueWithCases(Cases) - Method in class edu.hws.jcm.data.Constant
Return the value of the Constant.
getValueWithCases(Cases) - Method in interface edu.hws.jcm.data.Expression
Compute and return the value of this expression.
getValueWithCases(Cases) - Method in class edu.hws.jcm.data.ExpressionProgram
Run the ExprssionProgram and return the value that it computes.
getValueWithCases(double[], Cases) - Method in class edu.hws.jcm.data.SimpleFunction
Find the value of the function at the argument values argument[0], argument[1]....
getValueWithCases(double[], Cases) - Method in interface edu.hws.jcm.data.Function
Find the value of the function at the argument values given by arguments[0], arguments[1], ...
getValueWithCases(double[], Cases) - Method in class edu.hws.jcm.functions.TableFunction
Get the value of the function at the specified parameter value.
getValueWithCases(double[], Cases) - Method in class edu.hws.jcm.functions.ExpressionFunction
Find the value of the function at the argument values given by arguments[0], arguments[1], ...
getValueWithCases(double[], Cases) - Method in class edu.hws.jcm.functions.WrapperFunction
Find the value of the function at the argument values argument[0],....
getVariable() - Method in class edu.hws.jcm.awt.VariableInput
Get the associated variable for the VariableInput box.
getVariable() - Method in class edu.hws.jcm.awt.VariableSlider
Return the variable associated with this VariableSlider.
getVisible() - Method in class edu.hws.jcm.draw.Drawable
Return true if this Drawable is visible, false if it is hidden.
getWidth() - Method in class edu.hws.jcm.draw.DrawBorder
Get the width of the border, in pixels.
getWidth() - Method in class edu.hws.jcm.draw.CoordinateRect
Get the width in pixels of this CoordinateRect in the DisplayCanvas that contains it.
getX(int) - Method in class edu.hws.jcm.functions.TableFunction
Get the x-coordinate in the i-th point, where the first point is number zero.
getX1() - Method in class edu.hws.jcm.draw.DrawGeometric
Get the value that gives the x-coordinate of the first point that determines the shape.
getX2() - Method in class edu.hws.jcm.draw.DrawGeometric
Get the value that gives the x-coordinate of the second point that determines the shape.
getXAxisPosition() - Method in class edu.hws.jcm.draw.Axes
Get the positioning constant that tells where the x-axis is drawn.
getXFunction() - Method in class edu.hws.jcm.draw.VectorField
Get the (possibly null) function that gives the x-component of the vector field.
getXFunction() - Method in class edu.hws.jcm.draw.ParametricCurve
Get the (possibly null) function that gives the x-coordinate of the curve.
getXLabel() - Method in class edu.hws.jcm.draw.Axes
Get the label that appears on the x-axis.
getXmax() - Method in class edu.hws.jcm.draw.CoordinateRect
Get the maximum x-coordinate.
getXmin() - Method in class edu.hws.jcm.draw.CoordinateRect
Get the mimimum x-coordinate.
getXPos() - Method in class edu.hws.jcm.draw.DrawString
Return the Value object that gives the x-coordinate of the reference point of this string.
getXSP() - Method in class edu.hws.jcm.draw.Grid
Access method to return the x spacing used between grid lines.
getXVar() - Method in class edu.hws.jcm.draw.DraggablePoint
Get the variable that represents the current x-value of the point.
getXVar() - Method in class edu.hws.jcm.draw.MouseTracker
Get the variable whose value represents the x-coordinate of the MouseTracker.
getY(int) - Method in class edu.hws.jcm.functions.TableFunction
Get the y-coordinate in the i-th point, where the first point is number zero.
getY1() - Method in class edu.hws.jcm.draw.DrawGeometric
Get the value that gives the y-coordinate of the first point that determines the shape.
getY2() - Method in class edu.hws.jcm.draw.DrawGeometric
Get the value that gives the y-coordinate of the second point that determines the shape.
getYAxisPosition() - Method in class edu.hws.jcm.draw.Axes
Get the positioning constant that tells where the y-axis is drawn.
getYFunction() - Method in class edu.hws.jcm.draw.VectorField
Get the (possibly null) function that gives the y-component of the vector field.
getYFunction() - Method in class edu.hws.jcm.draw.ParametricCurve
Get the (possibly null) function that gives the y-coordinate of the curve.
getYLabel() - Method in class edu.hws.jcm.draw.Axes
Get the label that appears on the y-axis.
getYmax() - Method in class edu.hws.jcm.draw.CoordinateRect
Get the maximum x-coordinate.
getYmin() - Method in class edu.hws.jcm.draw.CoordinateRect
Get the mimimum y-coordinate.
getYPos() - Method in class edu.hws.jcm.draw.DrawString
Return the Value object that gives the y-coordinate of the reference point of this string.point of this string.
getYSP() - Method in class edu.hws.jcm.draw.Grid
Access method to return the y spacing used between grid lines
getYVar() - Method in class edu.hws.jcm.draw.DraggablePoint
Get the variable that represents the current y-value of the point.
getYVar() - Method in class edu.hws.jcm.draw.MouseTracker
Get the variable whose value represents the y-coordinate of the MouseTracker.
Graph1D - class edu.hws.jcm.draw.Graph1D.
A Graph1D represents the graph of a function of one variable, to be displayed in a given CoordinateRect.
Graph1D() - Constructor for class edu.hws.jcm.draw.Graph1D
Create a Graph1D with no function to graph.
Graph1D(Function) - Constructor for class edu.hws.jcm.draw.Graph1D
Create a graph of the specified function.
Grid - class edu.hws.jcm.draw.Grid.
A Grid object draws a graph paper-like grid on a Canvas.
Grid() - Constructor for class edu.hws.jcm.draw.Grid
Create a Grid object with x and y spacing 1.0.
Grid(double, double) - Constructor for class edu.hws.jcm.draw.Grid
Create a Grid object with spacing specified.
GT - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.

H

h - Variable in class edu.hws.jcm.draw.DrawGeometric
Integer that gives horizontal pixel offset from x1.
hasChanged - Variable in class edu.hws.jcm.awt.VariableInput
This is set to true if the text in the box has been changed since the last time the value of the variable was checked by checkInput().
hasChanged - Variable in class edu.hws.jcm.awt.ExpressionInput
True if the contents of the box have not changed since the last time the input was checked (by a call to checkInput()).
HORIZONTAL - Static variable in class edu.hws.jcm.awt.Animator
Indicates that the components in the Animator panel are to be in a horizontal row.

I

IDENTIFIER - Static variable in class edu.hws.jcm.data.ParserContext
One of the possible token types returned by look() and next().
INFINITE_LINE_ABSOLUTE - Static variable in class edu.hws.jcm.draw.DrawGeometric
Specifies a line that extends through the points (x1,y1) and (x2,y2) and beyond.
INFINITE_LINE_RELATIVE - Static variable in class edu.hws.jcm.draw.DrawGeometric
Specifies an infinite line through (x1,y1) and (x1+x2,y1+y2), or through (x1,y1) and (x1+h,y1+v) if x2,y2 are null.
InputObject - interface edu.hws.jcm.awt.InputObject.
An InputObject represents some sort of value that can be changed by, for example, user interaction with a GUI element.
inputs - Variable in class edu.hws.jcm.awt.Controller
InputObjects controlled by this controller.
inputStyle - Variable in class edu.hws.jcm.awt.VariableInput
One of the constant values EXPRESSION, REAL, or INTEGER, specifying the style of input.
INSCRIBED - Static variable in class edu.hws.jcm.draw.RiemannSumRects
Summation method type.
insertRow() - Method in class edu.hws.jcm.awt.DataTableInput
Insert a row before the row that contains the cell that the user is editing.
INTEGER - Static variable in class edu.hws.jcm.awt.VariableInput
A constant for use in the setInputStyle() method.
integerValued - Variable in class edu.hws.jcm.awt.VariableSlider
If this is true, then the value of the variable associated with this slider is an integer.
INTERCEPT - Static variable in class edu.hws.jcm.draw.ScatterPlot
A constant that can be used in the getValueObject() method to indicate which statistic the object should represent.
intervals - Variable in class edu.hws.jcm.awt.VariableSlider
The number of possible value of the scrollbar (Unless integerValued is true.)
isEmpty() - Method in class edu.hws.jcm.data.StackOfDouble
Return true if and only if the stack contains no items.
items - Variable in class edu.hws.jcm.awt.Tie
The Tieables in this Tie.
items - Variable in class edu.hws.jcm.draw.LimitControlPanel
Vector of components and component pairs that have been added to this panel, including at least the xmin, xmax, ymin, ymax input boxes.
itemStateChanged(ItemEvent) - Method in class edu.hws.jcm.awt.Controller
Simply calls compute when the Controller hears an ItemEvent.
itemStateChanged(ItemEvent) - Method in class edu.hws.jcm.awt.Animator
Respond to clicks on pop-up menus.
itemStateChanged(ItemEvent) - Method in class edu.hws.jcm.functions.TableFunctionInput
React when user clicks on a point in the list of points or clicks one of the radio buttons for specifying the style of the function.

J

JCMError - exception edu.hws.jcm.awt.JCMError.
JCMErrors can be generated by objects belonging to various classes in edu.hws.jcm.awt and edu.hws.jcm.draw.
JCMError(String) - Constructor for class edu.hws.jcm.awt.JCMError
Create a JCMError with the given error message and no associated object.
JCMError(String, Object) - Constructor for class edu.hws.jcm.awt.JCMError
Create a JCMError with the given error message and associated object.
JCMPanel - class edu.hws.jcm.awt.JCMPanel.
A JCMPanel is a Panel with an associated Controller.
JCMPanel() - Constructor for class edu.hws.jcm.awt.JCMPanel
Create a JCMPanel that uses a BorderLayout with horizontal and veritcal gaps of 3 pixels.
JCMPanel(int) - Constructor for class edu.hws.jcm.awt.JCMPanel
Create a JCMPanel that uses a BorderLayout with horizontal and vertical gaps of "gap" pixels.
JCMPanel(int, int) - Constructor for class edu.hws.jcm.awt.JCMPanel
Create a JCMPanel that uses a GridLayout with the specified number of rows and columns and with horizontal and veritcal gaps of 3 pixels between components.
JCMPanel(int, int, int) - Constructor for class edu.hws.jcm.awt.JCMPanel
Create a JCMPanel that uses a GridLayout with the specified number of rows and columns and with horizontal and vertical gaps of "gap" pixels.
JCMPanel(LayoutManager) - Constructor for class edu.hws.jcm.awt.JCMPanel
Create a JCMPanel that uses a given layout manager.
justification - Variable in class edu.hws.jcm.draw.DrawString
Left, right, or center justification of lines in the text.

L

LE - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
LEFT - Static variable in class edu.hws.jcm.draw.Axes
A constant that can be used in the setXAxisPosition() method to indicate the placement of the x-axis.
LEFT - Static variable in class edu.hws.jcm.draw.DrawString
For specifying justification of lines in multiline strings.
LEFTENDPOINT - Static variable in class edu.hws.jcm.draw.RiemannSumRects
Summation method type.
LimitControlPanel - class edu.hws.jcm.draw.LimitControlPanel.
A LimitControlPanel has four input boxes for specifying the xmin, xmax, ymin, and ymax of a CoodinateRect.
LimitControlPanel() - Constructor for class edu.hws.jcm.draw.LimitControlPanel
Create a LimitControlPanel containing input boxes labeled "xmin", "xmax", "ymin", "ymax" and a SET_LIMITS button.
LimitControlPanel(int, boolean) - Constructor for class edu.hws.jcm.draw.LimitControlPanel
Create a LimitControlPanel containing input boxes labeled "xmin", "xmax", "ymin", "ymax" and whatever buttons are in the set specified by the first parameter.
LimitControlPanel(String, String, String, String, int, boolean) - Constructor for class edu.hws.jcm.draw.LimitControlPanel
Create a LimitControlPanel containing input boxes labeled with the given names and containing whatever buttons are in the set buttonsToAdd.
Limits - interface edu.hws.jcm.awt.Limits.
The Limits interface is implemented by edu.hws.jcm.data.CoordinateRect and by other objects that can be "Tied" to a CoordinateRect, such as LimitControlPanel.
LINE_ABSOLUTE - Static variable in class edu.hws.jcm.draw.DrawGeometric
Specifies a line segment from (x1,y1) to (x2,y2).
LINE_CENTERED - Static variable in class edu.hws.jcm.draw.DrawGeometric
Specifies a line segment centered on (x1,y1).
LINE_RELATIVE - Static variable in class edu.hws.jcm.draw.DrawGeometric
Specifies a line segment from (x1,y1) to (x1+x2,y1+y2), or to (x1+h,y1+v) if x2,y2 are null.
LINES - Static variable in class edu.hws.jcm.draw.VectorField
One of the possible styles for displaying a VectorField: as a direction field shown as tangent lines.
lineWidth - Variable in class edu.hws.jcm.draw.DrawGeometric
The width, in pixels, of lines, including the outlines of rects and ovals.
listenForDrags - Variable in class edu.hws.jcm.draw.MouseTracker
If true, the MouseTracker responds to both clicks and drags.
LN - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
LOG10 - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
LOG2 - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
look() - Method in class edu.hws.jcm.data.ParserContext
Look ahead at the next token in the data string, without consuming it.
LOOP - Static variable in class edu.hws.jcm.awt.Animator
Represents a loop style in which the animation is played repeatedly.
LOOP_CHOICE - Static variable in class edu.hws.jcm.awt.Animator
Used to add a component to the Animator Panel; can be used in a constructor or in the addControl() method.
LT - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.

M

makeEmpty() - Method in class edu.hws.jcm.data.StackOfDouble
Clear all items from the stack.
mark() - Method in class edu.hws.jcm.data.ParserContext
MathObjects added to the symbol table after a call to mark() will be removed by a later, matching call to revert().
MathObject - interface edu.hws.jcm.data.MathObject.
A MathObject is just an object that has setName and getName methods.
max - Variable in class edu.hws.jcm.awt.VariableSlider
The Values that specify the range of values represented by the slider.
maxVal - Variable in class edu.hws.jcm.awt.VariableSlider
The values found for min and max the last time checkInput() was called.
maxValue - Variable in class edu.hws.jcm.awt.VariableInput
Largest allowable value.
MessagePopup - class edu.hws.jcm.awt.MessagePopup.
The class MessagePopup represents a Window that pops up to display an error message.
MessagePopup(Component) - Constructor for class edu.hws.jcm.awt.MessagePopup
Create a MessagePopup with the give source component.
MIDPOINT - Static variable in class edu.hws.jcm.draw.RiemannSumRects
Summation method type.
min - Variable in class edu.hws.jcm.awt.VariableSlider
The Values that specify the range of values represented by the slider.
MINUS - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
minVal - Variable in class edu.hws.jcm.awt.VariableSlider
The values found for min and max the last time checkInput() was called.
minValue - Variable in class edu.hws.jcm.awt.VariableInput
Smallest allowable value.
MISSINGCT - Static variable in class edu.hws.jcm.draw.ScatterPlot
A constant that can be used in the getValueObject() method to indicate which statistic the object should represent.
mouseClicked(MouseEvent) - Method in class edu.hws.jcm.draw.Panner
Responds to a mouse-click.
mouseClicked(MouseEvent) - Method in class edu.hws.jcm.draw.MouseTracker
Empty method, required by MouseListener interface.
mouseClicked(MouseEvent) - Method in class edu.hws.jcm.functions.TableFunctionGraph
Empty method, required by the MouseListener interface.
mouseClicked(MouseEvent) - Method in class edu.hws.jcm.functions.TableFunctionInput
Empty method, required by the MouseListener interface.
mouseDragged(MouseEvent) - Method in class edu.hws.jcm.draw.Panner
Responds to a mouse-drag.
mouseDragged(MouseEvent) - Method in class edu.hws.jcm.draw.MouseTracker
Responds when the user drags the mouse.
mouseDragged(MouseEvent) - Method in class edu.hws.jcm.functions.TableFunctionGraph
Method required by the MouseListener interface.
mouseDragged(MouseEvent) - Method in class edu.hws.jcm.functions.TableFunctionInput
Method required by the MouseListener interface.
mouseEntered(MouseEvent) - Method in class edu.hws.jcm.draw.Panner
Responds to a mouse-enter event.
mouseEntered(MouseEvent) - Method in class edu.hws.jcm.draw.MouseTracker
Empty method, required by MouseMotionListener interface.
mouseEntered(MouseEvent) - Method in class edu.hws.jcm.functions.TableFunctionGraph
Empty method, required by the MouseMotionListener interface.
mouseEntered(MouseEvent) - Method in class edu.hws.jcm.functions.TableFunctionInput
Empty method, required by the MouseMotionListener interface.
mouseExited(MouseEvent) - Method in class edu.hws.jcm.draw.Panner
Responds to a mouse-exit event.
mouseExited(MouseEvent) - Method in class edu.hws.jcm.draw.MouseTracker
Empty method, required by MouseMotionListener interface.
mouseExited(MouseEvent) - Method in class edu.hws.jcm.functions.TableFunctionGraph
Empty method, required by the MouseMotionListener interface.
mouseExited(MouseEvent) - Method in class edu.hws.jcm.functions.TableFunctionInput
Empty method, required by the MouseMotionListener interface.
mouseMoved(MouseEvent) - Method in class edu.hws.jcm.draw.Panner
Responds when mouse moves.
mouseMoved(MouseEvent) - Method in class edu.hws.jcm.draw.MouseTracker
Empty method, required by MouseMotionListener interface.
mouseMoved(MouseEvent) - Method in class edu.hws.jcm.functions.TableFunctionGraph
Empty method, required by the MouseMotionListener interface.
mouseMoved(MouseEvent) - Method in class edu.hws.jcm.functions.TableFunctionInput
Empty method, required by the MouseMotionListener interface.
mousePressed(MouseEvent) - Method in class edu.hws.jcm.draw.Panner
Responds to a mouse-press.
mousePressed(MouseEvent) - Method in class edu.hws.jcm.draw.MouseTracker
Responds when the user clicks the mouse in the rectangular area occupied by the CoordinateRect that contains this MouseTracker.
mousePressed(MouseEvent) - Method in class edu.hws.jcm.functions.TableFunctionGraph
Method required by the MouseListener interface.
mousePressed(MouseEvent) - Method in class edu.hws.jcm.functions.TableFunctionInput
Method required by the MouseListener interface.
mouseReleased(MouseEvent) - Method in class edu.hws.jcm.draw.Panner
Responds to a mouse-release.
mouseReleased(MouseEvent) - Method in class edu.hws.jcm.draw.MouseTracker
Responds when the user releases the mouse.
mouseReleased(MouseEvent) - Method in class edu.hws.jcm.functions.TableFunctionGraph
Method required by the MouseListener interface.
mouseReleased(MouseEvent) - Method in class edu.hws.jcm.functions.TableFunctionInput
Method required by the MouseListener interface.
MouseTracker - class edu.hws.jcm.draw.MouseTracker.
A MouseTracker can be added to a CoordinateRect in a DisplayCanvas to respond to user mouse actions in the rectangular area occupied by the CoordinateRect.
MouseTracker() - Constructor for class edu.hws.jcm.draw.MouseTracker
Create a MouseTracker that responds to both clicks and drags.
MouseTracker(boolean, boolean) - Constructor for class edu.hws.jcm.draw.MouseTracker
Creates a mouse tracker.

N

name - Variable in class edu.hws.jcm.functions.FunctionParserExtension
The name of this MathObject, possibly null.
NE - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
needsRedraw() - Method in class edu.hws.jcm.draw.Drawable
This routine should be called if the appearance of the Drawable changes so that the rectangular area that it occupies has to be redrawn.
needsValueCheck - Variable in class edu.hws.jcm.awt.VariableSlider
This is set to true when checkInput() is called to indicate that the min and max values must be checked the next time getVal() is called.
NEXT_BUTTON - Static variable in class edu.hws.jcm.awt.Animator
Used to add a component to the Animator Panel; can be used in a constructor or in the addControl() method.
next() - Method in class edu.hws.jcm.awt.Animator
Advance the animation by one frame.
next() - Method in class edu.hws.jcm.data.ParserContext
Consume one token from the string.
NO_DIGITS_IN_IDENTIFIERS - Static variable in class edu.hws.jcm.data.Parser
An option that can be set for this parser.
NO_UNDERSCORE_IN_IDENTIFIERS - Static variable in class edu.hws.jcm.data.Parser
An option that can be set for this parser.
NOT - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
notifyControllerOnChange(Controller) - Method in class edu.hws.jcm.awt.Controller
Method required by InputObject interface; in this class, calls the same method recursively on any input objects controlled by this controller.
notifyControllerOnChange(Controller) - Method in class edu.hws.jcm.awt.VariableInput
Method required by InputObject interface; in this class, it simply calls setOnUserAction(c).
notifyControllerOnChange(Controller) - Method in class edu.hws.jcm.awt.ExpressionInput
Method required by InputObject interface; in this class, it simply calls setOnUserAction(c).
notifyControllerOnChange(Controller) - Method in class edu.hws.jcm.awt.Animator
Method required by the InputObject interface.
notifyControllerOnChange(Controller) - Method in class edu.hws.jcm.awt.VariableSlider
Method required by InputObject interface; in this class, it simply calls setOnUserAction(c).
notifyControllerOnChange(Controller) - Method in interface edu.hws.jcm.awt.InputObject
This method was introduced to provide a common interface for setting a Controller that is to be notified when there is a change in the InputObject.
notifyControllerOnChange(Controller) - Method in class edu.hws.jcm.draw.DisplayCanvas
Method required by InputObject interface; in this class, calls the same method recursively on any CoordinateRects contained in this DisplayCanvas.
notifyControllerOnChange(Controller) - Method in class edu.hws.jcm.draw.CoordinateRect
Method required by InputObject interface; in this class, it calls the same method recursively on any input objects containted in this CoordinateRect.
notifyControllerOnChange(Controller) - Method in class edu.hws.jcm.draw.DraggablePoint
Method required by InputObject interface; in this class, it simply calls setOnUserAction(c).
notifyControllerOnChange(Controller) - Method in class edu.hws.jcm.draw.MouseTracker
Method required by InputObject interface; in this class, it simply calls setOnUserAction(c).
notifyControllerOnChange(Controller) - Method in class edu.hws.jcm.draw.LimitControlPanel
Method required by CheckInput interface.
NUMBER - Static variable in class edu.hws.jcm.data.ParserContext
One of the possible token types returned by look() and next().
numSize - Variable in class edu.hws.jcm.awt.DisplayLabel
Desired maximum number of characters in displayed numbers.
numSize - Variable in class edu.hws.jcm.draw.DrawString
Maximum number of characters desired in numbers; actual number might actually be larger.
NumUtils - class edu.hws.jcm.data.NumUtils.
This class provides a few static functions for converting real numbers to strings and strings to real numbers.
NumUtils() - Constructor for class edu.hws.jcm.data.NumUtils
 

O

object - Variable in class edu.hws.jcm.awt.JCMError
Object, possibly null, associated with this error.
offset - Variable in class edu.hws.jcm.draw.DrawString
If absolute positioning is used, then this gives a gap between the string and edge of rect.
oldPosition - Variable in class edu.hws.jcm.awt.VariableSlider
This is the position of the scrollbar the last time getVal() or setVal() was called.
ONCE - Static variable in class edu.hws.jcm.awt.Animator
Represents a loop style in which the animation is played once.
onChange - Variable in class edu.hws.jcm.draw.CoordinateRect
If non-null, this is the Controller that is notified when the limits change.
onUserAction - Variable in class edu.hws.jcm.draw.MouseTracker
If this is non-null, then its compute() method is called when the user clicks the mouse and, if listenForDrags is also true, when the user drags and releases the mouse.
OPCHARS - Static variable in class edu.hws.jcm.data.ParserContext
One of the possible token types returned by look() and next().
OPTIONAL_PARENS - Static variable in class edu.hws.jcm.data.Parser
An option that can be set for this parser.
OPTIONAL_SPACES - Static variable in class edu.hws.jcm.data.Parser
An option that can be set for this parser.
OPTIONAL_STARS - Static variable in class edu.hws.jcm.data.Parser
An that can be set for this parser.
options - Variable in class edu.hws.jcm.data.Parser
The set of options that have been enabled for this parser.
options - Variable in class edu.hws.jcm.data.ParserContext
The options from the Parser.
OR - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
OVAL_ABSOLUTE - Static variable in class edu.hws.jcm.draw.DrawGeometric
Specifies an oval that just fits in the rectangle with corners at (x1,y1) and (x2,y2).
OVAL_CENTERED - Static variable in class edu.hws.jcm.draw.DrawGeometric
Specifies an oval that just fits inside the rect specified by RECT_CENTERED.
OVAL_RELATIVE - Static variable in class edu.hws.jcm.draw.DrawGeometric
Specifies an oval that just fits inside the rect specified by RECT_RELATIVE.

P

paint(Graphics) - Method in class edu.hws.jcm.draw.DisplayCanvas
Draw the contents of the DisplayCanvas.
paint(Graphics) - Method in class edu.hws.jcm.draw.LimitControlPanel
Draw the input box labels.
Panner - class edu.hws.jcm.draw.Panner.
When a Panner object is added to a CoordinateRect, it becomes possible to "grab" the coordinate rectangle and pan it (that is, slide it around by moving it with the mouse).
Panner() - Constructor for class edu.hws.jcm.draw.Panner
Create a Panner object that will let the user pan the CoordinateRect that contains the Panner by right-clicking and dragging (or, on Macintosh, command-clicking).
Panner(int) - Constructor for class edu.hws.jcm.draw.Panner
Create a Panner object that will let the user click-and-drag to pan the CoordinateRect that contains the Panner.
ParametricCurve - class edu.hws.jcm.draw.ParametricCurve.
A ParametricCurve is defined by two functions, x(t) and y(t) of a variable, t, for t in a specified interval.
ParametricCurve() - Constructor for class edu.hws.jcm.draw.ParametricCurve
Create a ParametricCurve with nothing to graph.
ParametricCurve(Function, Function) - Constructor for class edu.hws.jcm.draw.ParametricCurve
Create a parametric curve with x and y coordinates given by the specified functions of the parameter t.
ParametricCurve(Function, Function, Value, Value, Value) - Constructor for class edu.hws.jcm.draw.ParametricCurve
Create a parametric curve with the specified values.
parent - Variable in class edu.hws.jcm.awt.Controller
The parent of this controller, if any.
parse(String) - Method in class edu.hws.jcm.data.Parser
Parse the string str and create the corresponding expression.
ParseError - exception edu.hws.jcm.data.ParseError.
Represents a syntax error that is found while a string is being parsed.
ParseError(String, ParserContext) - Constructor for class edu.hws.jcm.data.ParseError
Create a new ParseError with a given error message and parsing context.
parseExpression(ParserContext) - Method in class edu.hws.jcm.data.Parser
Called as part of the parsing process.
parseFactor(ParserContext) - Method in class edu.hws.jcm.data.Parser
Called as part of the parsing process.
parseLogical(String) - Method in class edu.hws.jcm.data.Parser
Parse the String, str, and create a corresponding logical-valued expression.
parseLogicalExpression(ParserContext) - Method in class edu.hws.jcm.data.Parser
Called as part of the parsing process.
parseLogicalFactor(ParserContext) - Method in class edu.hws.jcm.data.Parser
Called as part of the parsing process.
parseLogicalTerm(ParserContext) - Method in class edu.hws.jcm.data.Parser
Called as part of the parsing process.
parsePrimary(ParserContext) - Method in class edu.hws.jcm.data.Parser
Called as part of the parsing process.
parser - Variable in class edu.hws.jcm.awt.ExpressionInput
A parser for parsing the user's input expression.
Parser - class edu.hws.jcm.data.Parser.
A Parser can take a string and compile it into an ExpressionProgram.
Parser() - Constructor for class edu.hws.jcm.data.Parser
Construct a Parser with no parent and with the default options, BOOLEANS and STANDARD_FUNCTIONS.
Parser(int) - Constructor for class edu.hws.jcm.data.Parser
Create a Parser with the spedified option set and with no parent.
Parser(Parser) - Constructor for class edu.hws.jcm.data.Parser
Create a Parser with the specified parent.
Parser(Parser, int) - Constructor for class edu.hws.jcm.data.Parser
Create a Parser with the specified parent.
ParserContext - class edu.hws.jcm.data.ParserContext.
A ParserContext holds all the state data for a parsing operation, including the string that is being parsed, a pointer to the current position in that string, and the most recently parsed token from the string.
ParserContext(String, int, SymbolTable) - Constructor for class edu.hws.jcm.data.ParserContext
Create a ParserContext for parsing the data String, using the specified options and symbol table.
parseRelation(ParserContext) - Method in class edu.hws.jcm.data.Parser
Called as part of the parsing process.
ParserExtension - interface edu.hws.jcm.data.ParserExtension.
A ParserExtension can be defined to add new capabilities to a standard Parser.
parseTerm(ParserContext) - Method in class edu.hws.jcm.data.Parser
Called as part of the parsing process.
PAUSE_BUTTON - Static variable in class edu.hws.jcm.awt.Animator
Used to add a component to the Animator Panel; can be used in a constructor or in the addControl() method.
pause() - Method in class edu.hws.jcm.awt.Animator
Pause the animation, if it is running.
PIECEWISE_LINEAR - Static variable in class edu.hws.jcm.functions.TableFunction
If the style of the function is set to PIECEWISE_LINEAR, then linear interpolation is used to find the value of the functions for x-values between the points that define the function.
pixelToX(int) - Method in class edu.hws.jcm.draw.CoordinateRect
Convert a horizontal pixel coordinate into an x-coordinate.
pixelToY(int) - Method in class edu.hws.jcm.draw.CoordinateRect
Convert a vertical pixel coordinate into a y-coordinate.
PLUS - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
pop() - Method in class edu.hws.jcm.data.StackOfDouble
Remove and return the top item on the stack.
pos - Variable in class edu.hws.jcm.data.ParserContext
Current position in that string, indicating how many characters have been consumed.
position - Variable in class edu.hws.jcm.draw.DrawString
one of the constants defined in this class for specifying position
POWER - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
PREV_BUTTON - Static variable in class edu.hws.jcm.awt.Animator
Used to add a component to the Animator Panel; can be used in a constructor or in the addControl() method.
prev() - Method in class edu.hws.jcm.awt.Animator
Advance the animation BACK one frame.
processActionEvent(ActionEvent) - Method in class edu.hws.jcm.awt.ComputeButton
This is called by the system when the user clicks the button.
processActionEvent(ActionEvent) - Method in class edu.hws.jcm.awt.VariableInput
Overridden to call onUserAction.compute() if onUserAction is non-null.
processActionEvent(ActionEvent) - Method in class edu.hws.jcm.awt.ExpressionInput
Overridden to call onUserAction.compute() if onUserAction is non-null.
processAdjustmentEvent(AdjustmentEvent) - Method in class edu.hws.jcm.awt.VariableSlider
Overridden to call onUserAction.compute() if onUserAction is non-null.
processComponentEvent(ComponentEvent) - Method in class edu.hws.jcm.draw.LimitControlPanel
Recompute component locations when the panel is resized.
processContainerEvent(ContainerEvent) - Method in class edu.hws.jcm.awt.JCMPanel
Called by the system when a component is added to or removed from this panel.
processKeyEvent(KeyEvent) - Method in class edu.hws.jcm.awt.VariableInput
Override processKeyEvent to only allow characters that are legal in this VariableInput.
processKeyEvent(KeyEvent) - Method in class edu.hws.jcm.awt.ExpressionInput
Override processKeyEvent to only allow characters that are legal in expressions.
processMouseEvent(MouseEvent) - Method in class edu.hws.jcm.draw.DisplayCanvas
This has been overridden to handle the mouse zoom feature.
processMouseMotionEvent(MouseEvent) - Method in class edu.hws.jcm.draw.DisplayCanvas
This has been overridden to handle the mouse zoom feature.
processTextEvent(TextEvent) - Method in class edu.hws.jcm.awt.VariableInput
Overridden to call onUserAction.compute() if onUserAction is non-null.
processTextEvent(TextEvent) - Method in class edu.hws.jcm.awt.ExpressionInput
Overridden to call onUserAction.compute() if onUserAction is non-null.
prog - Variable in class edu.hws.jcm.data.ParserContext
The ExpressionProgram that is being generated as the string is parsed.
push(double) - Method in class edu.hws.jcm.data.StackOfDouble
Add x to top of stack.

R

readFromStream(Reader) - Method in class edu.hws.jcm.awt.DataTableInput
Read data for table from the specified Reader.
REAL - Static variable in class edu.hws.jcm.awt.VariableInput
A constant for use in the setInputStyle() method.
realToString(double) - Static method in class edu.hws.jcm.data.NumUtils
Return a string representation of the real number x occupying, if possible, at most 10 spaces.
realToString(double, int) - Static method in class edu.hws.jcm.data.NumUtils
Goal is to return a reasonable string representation of x, using at most width spaces.
RECT_ABSOLUTE - Static variable in class edu.hws.jcm.draw.DrawGeometric
Specifies a rectangle with corners at (x1,y1) and (x2,y2).
RECT_CENTERED - Static variable in class edu.hws.jcm.draw.DrawGeometric
Specifies a Rectangle centered on (x1,y1).
RECT_RELATIVE - Static variable in class edu.hws.jcm.draw.DrawGeometric
Specifies a rectangle with one corner at (x1,y1), and with width given by x2, or h if if x2 is null, and with height given by y2, or by v if y2 is null.
redefine(String) - Method in class edu.hws.jcm.functions.ExpressionFunction
Set the definition of this function by parsing the given string, using a default parser.
redefine(String, Parser) - Method in class edu.hws.jcm.functions.ExpressionFunction
Set the definition of this function, using the specified parser (or a default parser if parser is null).
releaseResources() - Method in class edu.hws.jcm.draw.DisplayCanvas
Release the memory used the by the off-screen image, if any, that is used for double-buffering.
remove(Drawable) - Method in class edu.hws.jcm.draw.CoordinateRect
Remove the given Drawable item, if present in this CoordinateRect.
remove(Object) - Method in class edu.hws.jcm.awt.Controller
Remove the object from the controller (if present).
remove(String) - Method in class edu.hws.jcm.data.Parser
Deregister the MathObject with the given name, if there is one registered with the Parser.
remove(String) - Method in class edu.hws.jcm.data.SymbolTable
Remove the object with the given name from the symbol table, but NOT from the parent symbol table.
removeAllPoints() - Method in class edu.hws.jcm.functions.TableFunction
Remove all points.
removeFromParent() - Method in class edu.hws.jcm.awt.Controller
If this controller has a parent, remove it from its parent.
removePointAt(int) - Method in class edu.hws.jcm.functions.TableFunction
Removes the i-th point from the list of points.
reportError(String) - Method in class edu.hws.jcm.awt.Controller
Report the specified error message.
RESTORE - Static variable in class edu.hws.jcm.draw.LimitControlPanel
A constant that can be used in the addButton() method to add a button to the LimitControlPanel.
restore() - Method in class edu.hws.jcm.draw.CoordinateRect
A CoordinateRect can store its current limits in a buffer.
revert() - Method in class edu.hws.jcm.data.ParserContext
 
revertEditFunction() - Method in class edu.hws.jcm.functions.TableFunctionInput
If a function has been specified using startEdit(), and neither finishEdit() nor cancelEdit have been called, then this method will discard the current data in and replace it with data from the edit function.
RiemannSumRects - class edu.hws.jcm.draw.RiemannSumRects.
A RiemannSumRects calculates a Riemann sum for a function.
RiemannSumRects() - Constructor for class edu.hws.jcm.draw.RiemannSumRects
Construct a RiemannSumRects object that initially has nothing to draw and that is set up to use the default number of intervals, 5.
RiemannSumRects(Function, Value) - Constructor for class edu.hws.jcm.draw.RiemannSumRects
Construct a new RiemannSumRects object.
RIGHT - Static variable in class edu.hws.jcm.draw.Axes
A constant that can be used in the setXAxisPosition() method to indicate the placement of the x-axis.
RIGHT - Static variable in class edu.hws.jcm.draw.DrawString
For specifying justification of lines in multiline strings.
RIGHTENDPOINT - Static variable in class edu.hws.jcm.draw.RiemannSumRects
Summation method type.
ROUND - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
run() - Method in class edu.hws.jcm.awt.Animator
The method that is run by the animation thread.

S

SAVE - Static variable in class edu.hws.jcm.draw.LimitControlPanel
A constant that can be used in the addButton() method to add a button to the LimitControlPanel.
SCALED_LINES - Static variable in class edu.hws.jcm.draw.VectorField
One of the possible styles for displaying a VectorField: as a field of tangent lines where the length of the line is proportional to the length of the vector.
SCALED_VECTORS - Static variable in class edu.hws.jcm.draw.VectorField
One of the possible styles for displaying a VectorField: as a vector field where a vector is shown as an arrow with length proportional to the length of the vector.
ScatterPlot - class edu.hws.jcm.draw.ScatterPlot.
A ScatterPlot graphs data taken from a DataTableInput.
ScatterPlot() - Constructor for class edu.hws.jcm.draw.ScatterPlot
Default constructor.
ScatterPlot(DataTableInput) - Constructor for class edu.hws.jcm.draw.ScatterPlot
Create a scatter plot to plot data from the specified table.
ScatterPlot(DataTableInput, Expression, Expression) - Constructor for class edu.hws.jcm.draw.ScatterPlot
Create scatter plot to plot specified expressions using data from a table.
ScatterPlot(DataTableInput, int, int) - Constructor for class edu.hws.jcm.draw.ScatterPlot
Create a scatter plot to plot data from two specified columns in a table.
SEC - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
serialNumber - Variable in class edu.hws.jcm.awt.VariableInput
This serial number is increased each time the value of the variable changes.
serialNumber - Variable in class edu.hws.jcm.awt.VariableSlider
This increases every time the value of the variable changes.
serialNumber - Variable in class edu.hws.jcm.draw.LimitControlPanel
This is increased when the user changes the limits.
SET_LIMITS - Static variable in class edu.hws.jcm.draw.LimitControlPanel
A constant that can be used in the addButton() method to add a button to the LimitControlPanel.
setAutoAddRows(boolean) - Method in class edu.hws.jcm.awt.DataTableInput
If the value of autoAddRows is true, then an empty row is added to the table automatically when the user attempts to move down from the last row of the table, provided that the last row is non-empty (so there can only be one auto-added row at a time).
setAutoChangeLimits(boolean) - Method in class edu.hws.jcm.draw.ScatterPlot
If the parameter is true, then the limits on the CoordinateRect that contains this ScatterPlot are automatically adjusted whenever the data is recomputed.
setAxesColor(Color) - Method in class edu.hws.jcm.draw.Axes
Set the color that is used for drawing the axes, when they are drawn in their true position.
setBackgroundColor(Color) - Method in class edu.hws.jcm.draw.DrawString
Set the color that is used to fill a rectangle on which the string is drawn.
setBlankBackground(Color) - Method in class edu.hws.jcm.awt.DataTableInput
Get the color to be used as a background blank areas in the table, below the rows of cells.
setCellBackground(Color) - Method in class edu.hws.jcm.awt.DataTableInput
Set the color to be used as a background for cells in the table.
setCellContents(int, int, double) - Method in class edu.hws.jcm.awt.DataTableInput
Put the given real number, val, in the cell in the specified row and column, where rows are numbered starting from 1 and columns are numbered starting from zero.
setClamp(boolean) - Method in class edu.hws.jcm.draw.DrawString
Set the "clamp" property of the DrawString.
setClampX(boolean) - Method in class edu.hws.jcm.draw.MouseTracker
Set the "clampX" property of the MouseTracker.
setClampY(boolean) - Method in class edu.hws.jcm.draw.MouseTracker
Set the "clampY" property of the MouseTracker.
setColor(Color) - Method in class edu.hws.jcm.draw.VectorField
Set the color to be used for drawing the vector field.
setColor(Color) - Method in class edu.hws.jcm.draw.DrawGeometric
Set the color that is used for drawing the shape.
setColor(Color) - Method in class edu.hws.jcm.draw.DrawBorder
Set the color of the border to the specified color.
setColor(Color) - Method in class edu.hws.jcm.draw.ParametricCurve
Set the color to be used for drawing the graph.
setColor(Color) - Method in class edu.hws.jcm.draw.DrawString
Set the color for the string.
setColor(Color) - Method in class edu.hws.jcm.draw.Grid
Method to set the Color used to draw grid lines.
setColor(Color) - Method in class edu.hws.jcm.draw.RiemannSumRects
Set the color used to draw the rectangles.
setColor(Color) - Method in class edu.hws.jcm.draw.DraggablePoint
Set the color to be used for drawing the point.
setColor(Color) - Method in class edu.hws.jcm.draw.Graph1D
Set the color to be used for drawing the graph.
setColor(Color) - Method in class edu.hws.jcm.functions.TableFunctionGraph
Set the color that is used for drawing the graph.
setColumnName(int, String) - Method in class edu.hws.jcm.awt.DataTableInput
Set the name of column number i, where columns are numbered starting from zero.
setColumns(int, int) - Method in class edu.hws.jcm.draw.ScatterPlot
Specify that the data to be plotted should be taken from the specified columns in the table.
setCurrentRowNumber(int) - Method in class edu.hws.jcm.awt.DataTableInput
Set the current row in the table.
setDataColor(Color) - Method in class edu.hws.jcm.draw.ScatterPlot
Set the color that is used to draw the points in the data.
setEmptyCellValue(double) - Method in class edu.hws.jcm.awt.DataTableInput
Set the value that should be returned when the value of an empty cell is requested.
setErrorBackground(Color) - Method in class edu.hws.jcm.draw.DisplayCanvas
Set color to be used as a background when the canvas displays an error message.
setErrorForeground(Color) - Method in class edu.hws.jcm.draw.DisplayCanvas
Set color to be used for the text when the canvas displays an error message.
setErrorMessage(Controller, String) - Method in interface edu.hws.jcm.awt.ErrorReporter
Report the specifed message as an error.
setErrorMessage(Controller, String) - Method in class edu.hws.jcm.awt.MessagePopup
Show the given message in a dialog box or independent window, depending on whether the source component is contained in a Frame or not.
setErrorMessage(Controller, String) - Method in class edu.hws.jcm.draw.DisplayCanvas
Set an error message to be displayed on the canvas.
setErrorReporter(ErrorReporter) - Method in class edu.hws.jcm.awt.Controller
Set the ErrorReporter used to report errors that occur when the compute() method of this Controller is executed.
setErrorReporter(ErrorReporter) - Method in class edu.hws.jcm.draw.LimitControlPanel
Set the ErrorReporter that is used to report errors in the user's input.
setExpressions(Expression, Expression) - Method in class edu.hws.jcm.draw.ScatterPlot
Specify the data for the the plot is to be obtained by evaluating the two expressions that are given as parameters.
setFillColor(Color) - Method in class edu.hws.jcm.draw.DrawGeometric
Set the color that is used for filling ovals and rects.
setFont(Font) - Method in class edu.hws.jcm.draw.DrawString
Set the font that is used for drawing this string.
setFrameColor(Color) - Method in class edu.hws.jcm.draw.DrawString
Set the color that is used to draw a frame around the string.
setFrameWidth(int) - Method in class edu.hws.jcm.draw.DrawString
Set the width, in pixels, of a frame to draw around the string.
setFunction(Function) - Method in class edu.hws.jcm.draw.RiemannSumRects
Set the function whose Riemann sums are to be computed.
setFunction(Function) - Method in class edu.hws.jcm.draw.Graph1D
Set the function to be graphed.
setFunction(Function) - Method in class edu.hws.jcm.functions.WrapperFunction
Set the function that is contained in this WrapperFunction.
setFunction(TableFunction) - Method in class edu.hws.jcm.functions.TableFunctionGraph
Set the function whose graph is drawn by this TableFunctionGraph.
setFunctions(Function, Function) - Method in class edu.hws.jcm.draw.VectorField
Sets the functions that give the components of the vector field.
setFunctions(Function, Function) - Method in class edu.hws.jcm.draw.ParametricCurve
Sets the functions that gives the coordinates of the curve to be graphed.
setFunctionStyle(int) - Method in class edu.hws.jcm.functions.TableFunctionGraph
Provided as a convenience.
setGap(int) - Method in class edu.hws.jcm.draw.CoordinateRect
Set the gap.
setGhostColor(Color) - Method in class edu.hws.jcm.draw.DraggablePoint
Set the ghoseColor to be used for drawing the point when it location is undefined or is outside the proper limits.
setGridColor(Color) - Method in class edu.hws.jcm.awt.DataTableInput
Get the color to be used for the lines between cells in the table.
setH(int) - Method in class edu.hws.jcm.draw.DrawGeometric
Set the integer that gives the horizontal offset from (x1,y1).
setHandleMouseZooms(boolean) - Method in class edu.hws.jcm.draw.DisplayCanvas
Set the "handleMouseZooms" property of this DisplayCanvas.
setInputStyle(int) - Method in class edu.hws.jcm.awt.VariableInput
Specify what types of things are allowed in the input box.
setInsetGap(int) - Method in class edu.hws.jcm.awt.JCMPanel
Set the size of the "Insets" for this JCMPanel.
setIntegerValued(boolean) - Method in class edu.hws.jcm.awt.VariableSlider
If set to true, restrict the values of the variable associated with this slider to be integers.
setInteractive(boolean) - Method in class edu.hws.jcm.functions.TableFunctionGraph
Set the value of the interactive property, which is true if the user can modify the function by dragging the points from the table.
setIntervalCount(Value) - Method in class edu.hws.jcm.draw.RiemannSumRects
Set the interval count (the RiemannSumRects will be redrawn after this function is called).
setIntervals(int) - Method in class edu.hws.jcm.awt.Animator
A convenience method that simply calls setIntervals(new Constant(d)).
setIntervals(Value) - Method in class edu.hws.jcm.awt.Animator
Set the Value object that specifies the number of frames in the animation.
setIntervals(Value) - Method in class edu.hws.jcm.draw.ParametricCurve
Specify the number of subintervals into which the domain of the parametric curve is divided.
setJustification(int) - Method in class edu.hws.jcm.draw.DrawString
Set the justification to be used if there are multiple lins in the string.
setLabelBackground(Color) - Method in class edu.hws.jcm.awt.DataTableInput
Set the color to be used as a background for row numbers and column titles.
setLabelColor(Color) - Method in class edu.hws.jcm.draw.Axes
Set the color that is used for drawing the labels (usually the names of the variables) on the x- and y-axes.
setLightAxesColor(Color) - Method in class edu.hws.jcm.draw.Axes
Get the color that is used for drawing an axis, when it is drawn along an edge of the CoordinateRect instead of in its proper x- or y-position.
setLimits(double[]) - Method in interface edu.hws.jcm.awt.Limits
Set the current limits.
setLimits(double[]) - Method in class edu.hws.jcm.draw.CoordinateRect
Set the coordinate limits from array; extra elements in array are ignored.
setLimits(double[]) - Method in class edu.hws.jcm.draw.LimitControlPanel
Set the values in the xmin, xmax, ymin, and ymax input boxes.
setLimits(double, double, double, double) - Method in class edu.hws.jcm.draw.CoordinateRect
Set the limits on the CoordinteRect
setLimits(Value, Value) - Method in class edu.hws.jcm.draw.ParametricCurve
Set the Value objects that specify the domain of the paratmeter.
setLineColor(Color) - Method in class edu.hws.jcm.draw.ScatterPlot
Set the color that is used to draw the regression line.
setLineWidth(int) - Method in class edu.hws.jcm.draw.DrawGeometric
Set the width, in pixels, of lines that are drawn.
setListenForDrags(boolean) - Method in class edu.hws.jcm.draw.MouseTracker
Sets the "listenForDrags" property of the MouseTracker.
setLocation(double, double) - Method in class edu.hws.jcm.draw.DraggablePoint
Move the point to (x,y), then "clamp" the value of x or y, if a clamp Value has been set.
setLoopStyle(int) - Method in class edu.hws.jcm.awt.Animator
Set the loop style, which determines what happens when the final frame of the animation is reached.
setMax(double) - Method in class edu.hws.jcm.awt.VariableInput
Specify the largest allowed value for the content of this VariableInput box.
setMax(double) - Method in class edu.hws.jcm.awt.Animator
A convenience method that simply calls setMax(new Constant(d)).
setMax(Value) - Method in class edu.hws.jcm.awt.Animator
Set the Value object that gives the final value of the Animator.
setMax(Value) - Method in class edu.hws.jcm.awt.VariableSlider
Set the value that the variable has when the slider is at the right (or top) of the scrollbar.
setMethod(int) - Method in class edu.hws.jcm.draw.RiemannSumRects
Set the method used to calculate the rectangles.
setMillisPerFrame(int) - Method in class edu.hws.jcm.awt.Animator
Set the nominal number of milliseconds per frame.
setMin(double) - Method in class edu.hws.jcm.awt.VariableInput
Specify the smallest allowed value for the content of this VariableInput box.
setMin(double) - Method in class edu.hws.jcm.awt.Animator
A convenience method that simply calls setMin(new Constant(d)).
setMin(Value) - Method in class edu.hws.jcm.awt.Animator
Set the Value object that gives the starting value of the Animator.
setMin(Value) - Method in class edu.hws.jcm.awt.VariableSlider
Set the value that the variable has when the slider is at the left (or bottom) of the scrollbar.
setMissingValueIsError(boolean) - Method in class edu.hws.jcm.draw.ScatterPlot
If the parameter is true, then a missing data value (an empty cell or an undefined value for one of the expressions) is considered to be an error, and a JCMError is thrown when it is encountered.
setName(String) - Method in class edu.hws.jcm.awt.VariableInput
Set the name of the variable.
setName(String) - Method in class edu.hws.jcm.awt.DataTableInput
Set the name of this DataTableInput.
setName(String) - Method in class edu.hws.jcm.awt.VariableSlider
Set the name of the associated variable.
setName(String) - Method in class edu.hws.jcm.data.StandardFunction
Change the name of this StandardFunction.
setName(String) - Method in class edu.hws.jcm.data.Constant
Set the name of this Constant.
setName(String) - Method in interface edu.hws.jcm.data.MathObject
Set the name of this object.
setName(String) - Method in class edu.hws.jcm.functions.FunctionParserExtension
Set the name of this object.
setName(String) - Method in class edu.hws.jcm.functions.SummationParser
Set the name, which will be used in place of "sum" in expressions.
setNumSize(int) - Method in class edu.hws.jcm.awt.DisplayLabel
Set the desired maximum number of characters in displayed numbers.
setNumSize(int) - Method in class edu.hws.jcm.draw.DrawString
Set the desired maximum number of characters in displayed numbers.
setOffset(int) - Method in class edu.hws.jcm.draw.DrawString
Set the distance of the bounding box of the string from the reference point where it is drawn.
setOnChange(Computable) - Method in class edu.hws.jcm.awt.Animator
Set the Controller that is notified (by calling its compute() method) whenever the frame changes.
setOnChange(Controller) - Method in class edu.hws.jcm.draw.CoordinateRect
Specify a controller to be notified when the limits on this CoordinateRect change.
setOnChange(Controller) - Method in class edu.hws.jcm.functions.TableFunctionInput
Specify a controller whose compute() method will be called whenever the user edits the data in this TableFunctionInput panel.
setOnDrag(Computable) - Method in class edu.hws.jcm.functions.TableFunctionGraph
Specify a controller whose compute() method will be called repeatedly as the user drags one of the points from the table function.
setOnFinishDrag(Computable) - Method in class edu.hws.jcm.functions.TableFunctionGraph
Specify a controller whose compute() method will be called once when the user finishes dragging one of the points from the table function.
setOnFinishDrag(Controller) - Method in class edu.hws.jcm.draw.Panner
Set a Controller that will be notified (by calling its compute method) whenever the user finishes a drag operation.
setOnTextChange(Controller) - Method in class edu.hws.jcm.awt.VariableInput
If the Controller, cm is non-null, then its compute() method will be called whenever the text in this input box changes.
setOnTextChange(Controller) - Method in class edu.hws.jcm.awt.ExpressionInput
If the parameter, c, is non-null, then its compute method will be called whenever the text in this input box changes.
setOnUserAction(Controller) - Method in class edu.hws.jcm.awt.ComputeButton
Set the controller whose compute() method is called when the user clicks this button.
setOnUserAction(Controller) - Method in class edu.hws.jcm.awt.VariableInput
If the Controller, c, is non-null, then its compute() method will be called whenever the user presses the return key while typing in this text-input box.
setOnUserAction(Controller) - Method in class edu.hws.jcm.awt.ExpressionInput
If the parameter c is non-null, then its compute method will be called whenever the user presses the return key while typing in this text-input box.
setOnUserAction(Controller) - Method in class edu.hws.jcm.awt.VariableSlider
If the Controller, c, is non-null, then its compute method will be called whenever the user adjusts the position of the scroll bar.
setOnUserAction(Controller) - Method in class edu.hws.jcm.draw.Panner
Set a Controller that will be notified (by calling its compute method) whenever the user moves the mouse during a drag.
setOnUserAction(Controller) - Method in class edu.hws.jcm.draw.DraggablePoint
Set the Controller that is to be notified when the user drags the point.
setOnUserAction(Controller) - Method in class edu.hws.jcm.draw.MouseTracker
Set a Controller to respond to user mouse actions tracked by this MouseTracker.
setOrientation(int) - Method in class edu.hws.jcm.awt.Animator
Set the orientation of the components in the Animator panel.
setOutlineColor(Color) - Method in class edu.hws.jcm.draw.RiemannSumRects
Set the color that will be used to draw outlines around the rects.
setOwnerData(DisplayCanvas, CoordinateRect) - Method in class edu.hws.jcm.draw.Drawable
Sets the values of member variables canvas and coords.
setOwnerData(DisplayCanvas, CoordinateRect) - Method in class edu.hws.jcm.draw.Panner
Called when this object is added to a DisplayCanvas.
setOwnerData(DisplayCanvas, CoordinateRect) - Method in class edu.hws.jcm.draw.MouseTracker
This is called automatically by CoordinateRect when the MouseTracker is added to the CoordinateRect.
setOwnerData(DisplayCanvas, CoordinateRect) - Method in class edu.hws.jcm.functions.TableFunctionGraph
Sets the values of member variables canvas and coords.
setParensCanBeOptional(boolean) - Method in class edu.hws.jcm.functions.FunctionParserExtension
Call this function with b = true if this is a function of one variable and you want it to behave like a standard function in that parentheses can be optional around the argument of the function.
setParser(Parser) - Method in class edu.hws.jcm.awt.ExpressionInput
Set the parser that is used to parse the user's input strings.
setPixelSpacing(int) - Method in class edu.hws.jcm.draw.VectorField
Set the value of the pixelSpacing property, which determines the grid spacing for the vector field.
setPoints(Value, Value, int, int) - Method in class edu.hws.jcm.draw.DrawGeometric
Set the values that specify a point (x1,y1) and an offset (h,v) from that point.
setPoints(Value, Value, Value, Value) - Method in class edu.hws.jcm.draw.DrawGeometric
Set the Value objects that specify the two points that determine the shape.
setPositioning(int) - Method in class edu.hws.jcm.draw.DrawString
Set the positioning of the string.
setRadius(int) - Method in class edu.hws.jcm.draw.DraggablePoint
Set the radius that determines the size of the point when it is drawn.
setReferencePoint(Value, Value) - Method in class edu.hws.jcm.draw.DrawString
Set the values of the (x,y) coordinates of the reference point for the stirng.
setRestoreBuffer() - Method in class edu.hws.jcm.draw.CoordinateRect
Save current limits in buffer.
setShape(int) - Method in class edu.hws.jcm.draw.DrawGeometric
Set the shape, which should be given as one of the shape constants such as LINE_ABSOLUTE or CROSS.
setShowColumnTitles(boolean) - Method in class edu.hws.jcm.awt.DataTableInput
If set to true, then the column name is shown at the top of each column.
setShowPoints(boolean) - Method in class edu.hws.jcm.functions.TableFunctionGraph
Set the showPoints property, which determines whether the points from the table that defines the function are visible as little disks.
setShowRegressionLine(boolean) - Method in class edu.hws.jcm.draw.ScatterPlot
If the parameter is true, then a regression line for the data is drawn.
setShowRowNumbers(boolean) - Method in class edu.hws.jcm.awt.DataTableInput
If set to true, then the row number is shown at the left of each row.
setStartButtonName(String) - Method in class edu.hws.jcm.awt.Animator
The name of the Start/Stop button is managed by the Animator, so changing it directly makes no sense.
setStopButtonName(String) - Method in class edu.hws.jcm.awt.Animator
The name of the Start/Stop button is managed by the Animator, so changing it directly makes no sense.
setString(String) - Method in class edu.hws.jcm.draw.DrawString
Set the string that is displayed.
setStyle(int) - Method in class edu.hws.jcm.draw.VectorField
Set the style in which the vector field is displayed.
setStyle(int) - Method in class edu.hws.jcm.draw.DraggablePoint
Set the visual style of the point.
setStyle(int) - Method in class edu.hws.jcm.functions.TableFunction
Set the style of this TableFunction, to specify how values are interpolated between points on the curve.
setSyncWith(Tie) - Method in class edu.hws.jcm.draw.CoordinateRect
Set the Tie object that is used to synchronize this CoordinareRect with other objects.
setTable(DataTableInput) - Method in class edu.hws.jcm.draw.ScatterPlot
Specify the table from which the plotted data is to be taken.
setText(String) - Method in class edu.hws.jcm.awt.VariableInput
This overrides the setText() method from the TextField class so that it will also force the contents to be checked the next time the checkInput() method is called.
setText(String) - Method in class edu.hws.jcm.awt.ExpressionInput
Set the text displayed in this input box.
setText(String) - Method in class edu.hws.jcm.awt.DisplayLabel
Set text for display -- text should include as many (single) #'s as there are values to display.
setThrowErrors(boolean) - Method in class edu.hws.jcm.awt.VariableInput
Set the throwErrors property.
setThrowErrors(boolean) - Method in class edu.hws.jcm.awt.ExpressionInput
Set the throwErrors property.
setThrowErrors(boolean) - Method in class edu.hws.jcm.awt.DataTableInput
Set the throwErrors property.
setTMax(Value) - Method in class edu.hws.jcm.draw.ParametricCurve
Set the Value object that gives the right endpoint of the domain of the parameter.
setTMin(Value) - Method in class edu.hws.jcm.draw.ParametricCurve
Set the Value object that gives the left endpoint of the domain of the parameter.
setUndefinedWhenNotDragging(boolean) - Method in class edu.hws.jcm.draw.MouseTracker
Sets the "undefinedWhenNotDragging" property of the MouseTracker.
setUndefinedWhenNotRunning(boolean) - Method in class edu.hws.jcm.awt.Animator
Set the value of the undefinedWhenNotRunning property.
setUseOffscreenCanvas(boolean) - Method in class edu.hws.jcm.draw.DisplayCanvas
Get the "useOffscreenCanvas" property of this DisplayCanvas, which determines whether double-buffering is used.
setUseTwoColumnsIfPossible(boolean) - Method in class edu.hws.jcm.draw.LimitControlPanel
Set to true if you want the components to be shown in two columns (provided the panel is wide enough).
setV(int) - Method in class edu.hws.jcm.draw.DrawGeometric
Set the integer that gives the vertical offset from (x1,y1).
setVal(double) - Method in class edu.hws.jcm.awt.VariableInput
Set the value of the associated variable.
setVal(double) - Method in class edu.hws.jcm.awt.Animator
Set the value of the animation.
setVal(double) - Method in class edu.hws.jcm.awt.VariableSlider
Set the value of the variable to x.
setVal(double) - Method in class edu.hws.jcm.data.Variable
Set the value of this Variable to the specified value.
setValue(Value) - Method in class edu.hws.jcm.awt.DisplayLabel
A convenience method that can be used when the display string contains just a single #.
setValues(Value[]) - Method in class edu.hws.jcm.awt.DisplayLabel
Set the array of Value objects whose values are displayed in this DisplayLabel, and change the display to show the new values.
setValues(Value[]) - Method in class edu.hws.jcm.draw.DrawString
Set the Values that are substituted for (single) #'s in the string.
setVisible(boolean) - Method in class edu.hws.jcm.draw.Drawable
Set the visibility of this Drawable.
setWidth(int) - Method in class edu.hws.jcm.draw.DrawBorder
Set the width of the border to be w pixels.
setX1(Value) - Method in class edu.hws.jcm.draw.DrawGeometric
Set the value that gives the x-coordinate of the first point that determines the shape.
setX2(Value) - Method in class edu.hws.jcm.draw.DrawGeometric
Set the value that gives the x-coordinate of the second point that determines the shape.
setXAxisPosition(int) - Method in class edu.hws.jcm.draw.Axes
Set the positioning constant that tells where the x-axis is drawn.
setXFunction(Function) - Method in class edu.hws.jcm.draw.VectorField
Set the function that gives the x-component of the vector field.
setXFunction(Function) - Method in class edu.hws.jcm.draw.ParametricCurve
Set the function that gives the x-coordinate of the curve to be graphed.
setXLabel(String) - Method in class edu.hws.jcm.draw.Axes
Set the label that appears on the x-axis.
setXSP(double) - Method in class edu.hws.jcm.draw.Grid
Method to set the x spacing between grid lines.
setY(int, double) - Method in class edu.hws.jcm.functions.TableFunction
Set the y-coordinate in the i-th point to y, where the first point is number zero.
setY1(Value) - Method in class edu.hws.jcm.draw.DrawGeometric
Set the value that gives the y-coordinate of the first point that determines the shape.
setY2(Value) - Method in class edu.hws.jcm.draw.DrawGeometric
Set the value that gives the y-coordinate of the second point that determines the shape.
setYAxisPosition(int) - Method in class edu.hws.jcm.draw.Axes
Set the positioning constant that tells where the y-axis is drawn.
setYFunction(Function) - Method in class edu.hws.jcm.draw.VectorField
Set the function that gives the y-component of the vector field.
setYFunction(Function) - Method in class edu.hws.jcm.draw.ParametricCurve
Set the function that gives the y-coordinate of the curve to be graphed.
setYLabel(String) - Method in class edu.hws.jcm.draw.Axes
Set the label that appears on the y-axis.
setYSP(double) - Method in class edu.hws.jcm.draw.Grid
Method to set the y spacing between grid lines.
shape - Variable in class edu.hws.jcm.draw.DrawGeometric
One of the constants such as OVAL_CENTERED, specifying the shape to be drawn
SimpleFunction - class edu.hws.jcm.data.SimpleFunction.
An object belonging to this class is a function of one or more variables.
SimpleFunction(Expression, Variable) - Constructor for class edu.hws.jcm.data.SimpleFunction
Create the function of one variable such that the value of the function at x is obtained by temporarily assigning x as the value of the variable v and then evaluating e.
SimpleFunction(Expression, Variable[]) - Constructor for class edu.hws.jcm.data.SimpleFunction
Create a function.
SIN - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
size() - Method in class edu.hws.jcm.data.StackOfDouble
Return the number of items on the stack.
SLOPE - Static variable in class edu.hws.jcm.draw.ScatterPlot
A constant that can be used in the getValueObject() method to indicate which statistic the object should represent.
SMART - Static variable in class edu.hws.jcm.draw.Axes
A constant that can be used in the setXAxisPosition() and setYAxisPosition() methods to indicate the placement of the axes.
SMOOTH - Static variable in class edu.hws.jcm.functions.TableFunction
If the style of the function is set to SMOOTH, then cubic interpolation is used to find the value of the functions for x-values between the points that define the function.
sourceString - Variable in class edu.hws.jcm.data.ExpressionProgram
If this is non-null, it is used as the print string for this expression in the toString() method.
SPEED_CHOICE - Static variable in class edu.hws.jcm.awt.Animator
Used to add a component to the Animator Panel; can be used in a constructor or in the addControl() method.
SQRT - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
SQUARE - Static variable in class edu.hws.jcm.draw.DraggablePoint
A style constant that specifies the visual appearance of a DraggablePoint to be a square.
StackOfDouble - class edu.hws.jcm.data.StackOfDouble.
A standard stack of values of type double, which can grow to arbitrary size.
StackOfDouble() - Constructor for class edu.hws.jcm.data.StackOfDouble
Create an initially empty stack.
StackOfDouble(int) - Constructor for class edu.hws.jcm.data.StackOfDouble
Create an empty stack that initially has space for initialSize items pre-allocated.
STANDARD_FUNCTIONS - Static variable in class edu.hws.jcm.data.Parser
An option that can be set for this parser.
STANDARDERROR - Static variable in class edu.hws.jcm.draw.ScatterPlot
A constant that can be used in the getValueObject() method to indicate which statistic the object should represent.
StandardFunction - class edu.hws.jcm.data.StandardFunction.
This class exists to associate standard functions, such as sin and abs, with their names.
StandardFunction(int) - Constructor for class edu.hws.jcm.data.StandardFunction
Create a StandardFunction object to represent the standard function with the given operation code, where opCode is one of the codes for standard functions defined in class ExpressionProgram.
StandardFunction(String, int) - Constructor for class edu.hws.jcm.data.StandardFunction
Create a StandardFunction object to represent the standard function with the given operation code, where opCode is one of the codes for stadard functions defined in class ExpressionProgram.
standardFunctionName(int) - Static method in class edu.hws.jcm.data.StandardFunction
Return the usual name for the standard function with the specified opCode.
START_BUTTON - Static variable in class edu.hws.jcm.awt.Animator
Used to add a component to the Animator Panel; can be used in a constructor or in the addControl() method.
START_STOP_BUTTON - Static variable in class edu.hws.jcm.awt.Animator
Used to add a component to the Animator Panel; can be used in a constructor or in the addControl() method.
start() - Method in class edu.hws.jcm.awt.Animator
Start the animation from the first frame, or continue it if it was paused.
startDrag(MouseEvent) - Method in class edu.hws.jcm.draw.DraggablePoint
Check whether a mouse click (as specified in the MouseEvent parameter) is a click on this DraggablePoint.
startDrag(MouseEvent) - Method in interface edu.hws.jcm.draw.Draggable
Tell the object that a drag operation might be beginning.
startEdit(TableFunction) - Method in class edu.hws.jcm.functions.TableFunctionInput
Install a function to be edited.
STEP - Static variable in class edu.hws.jcm.functions.TableFunction
If the style of the function is set to STEP, then the function is piecewise constant, and the value of the function at x is taken from the nearest point in the list of points that define the function.
STEP_LEFT - Static variable in class edu.hws.jcm.functions.TableFunction
If the style of the function is set to STEP_LEFT, then the function is piecewise constant, and the value of the function at x is taken from the nearest point to the left in the list of points that define the function.
STEP_RIGHT - Static variable in class edu.hws.jcm.functions.TableFunction
If the style of the function is set to STEP_RIGHT, then the function is piecewise constant, and the value of the function at x is taken from the nearest point to the right in the list of points that define the function.
STOP_BUTTON - Static variable in class edu.hws.jcm.awt.Animator
Used to add a component to the Animator Panel; can be used in a constructor or in the addControl() method.
stop() - Method in class edu.hws.jcm.awt.Animator
Stop the animation, if it is running or paused.
strings - Variable in class edu.hws.jcm.draw.DrawString
The actual lines to draw, derived from baseString.
stringToReal(String) - Static method in class edu.hws.jcm.data.NumUtils
Return the real number represented by the String s, or return Double.NaN if s does not represent a legal real number.
SummationParser - class edu.hws.jcm.functions.SummationParser.
The SummationParser class makes it possible to use summations such as sum(i,1,5,x^i) in a Parser.
SummationParser() - Constructor for class edu.hws.jcm.functions.SummationParser
 
symbols - Variable in class edu.hws.jcm.data.Parser
The symbol table that contains the MathObjects that have been registered with this parser.
symbols - Variable in class edu.hws.jcm.data.ParserContext
The Parser's symbol table, which is used for looking up tokens of type IDENTIFIER.
SymbolTable - class edu.hws.jcm.data.SymbolTable.
A symbol table contains MathObjects, associating them with their names.
sync(Tie, Tieable) - Method in class edu.hws.jcm.awt.VariableInput
Synchronize serial number and value with newest, unless this VariableInput is itself newest.
sync(Tie, Tieable) - Method in class edu.hws.jcm.awt.Animator
Part of the Tieable interface.
sync(Tie, Tieable) - Method in class edu.hws.jcm.awt.VariableSlider
Change the value and serial number of this object to match those of newest.
sync(Tie, Tieable) - Method in interface edu.hws.jcm.awt.Tieable
This routine is called to tell this Tieable that the serial numbers of the Tieables that have been added to the Tie do not match.
sync(Tie, Tieable) - Method in class edu.hws.jcm.draw.CoordinateRect
Part of the Tieable interface.
sync(Tie, Tieable) - Method in class edu.hws.jcm.draw.LimitControlPanel
Part of the Tieable interface, and not meant to be called directly.
syncWith - Variable in class edu.hws.jcm.draw.CoordinateRect
This contains other Limit objects with which the CoordinateRect is synchronizing.
syncWith - Variable in class edu.hws.jcm.draw.LimitControlPanel
A Tie holding this panel and the CoordinateRects that it controls.

T

TableFunction - class edu.hws.jcm.functions.TableFunction.
A TableFunction is a function that is specified by a table of (x,y)-points.
TableFunction() - Constructor for class edu.hws.jcm.functions.TableFunction
Create a TableFunction with SMOOTH style and no points.
TableFunction(int) - Constructor for class edu.hws.jcm.functions.TableFunction
Create a TableFunction with specified style and no points.
TableFunctionGraph - class edu.hws.jcm.functions.TableFunctionGraph.
A TableFunctionGraph is a Drawable object that can be added to a CoordinateRect (or DisplayCanvas).
TableFunctionGraph() - Constructor for class edu.hws.jcm.functions.TableFunctionGraph
Create a TableFunctionGraph that initially draws no function.
TableFunctionGraph(TableFunction) - Constructor for class edu.hws.jcm.functions.TableFunctionGraph
Create a TableFunctionGraph to draw the specified TableFunction.
TableFunctionInput - class edu.hws.jcm.functions.TableFunctionInput.
A TableInputFunction is a Panel that can be used to define a TableFunction or to edit an existing TableFunction.
TableFunctionInput() - Constructor for class edu.hws.jcm.functions.TableFunctionInput
Create a TableFunctionInput panel.
TAN - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
TangentLine - class edu.hws.jcm.draw.TangentLine.
A Tangent line is a line that is tangent to the graph of a specified function of one argument at a specified value of its argument.
TangentLine(Value, Function) - Constructor for class edu.hws.jcm.draw.TangentLine
Create a tangent line to the graph of a function.
text - Variable in class edu.hws.jcm.awt.DisplayLabel
Unsubstituted text for display.
textValueChanged(TextEvent) - Method in class edu.hws.jcm.awt.Controller
Simply calls compute when the Controller hears a TextEvent.
throwErrors - Variable in class edu.hws.jcm.awt.VariableInput
True if an error should be thrown when checkInput() is calles and the contents do not define a legal number.
throwErrors - Variable in class edu.hws.jcm.awt.ExpressionInput
True if an error should be thrown when checkInput() is called, but the content of the box is not a legal expression.
Tie - class edu.hws.jcm.awt.Tie.
A Tie associates several Tieable objects.
Tie() - Constructor for class edu.hws.jcm.awt.Tie
Create a Tie, initially containing no objects.
Tie(Tieable) - Constructor for class edu.hws.jcm.awt.Tie
Create a Tie initally containing only the object item.
Tie(Tieable, Tieable) - Constructor for class edu.hws.jcm.awt.Tie
Create a Tie initially containing item1 and item2.
Tieable - interface edu.hws.jcm.awt.Tieable.
A Tieable object has an associated serial number.
ties - Variable in class edu.hws.jcm.awt.Controller
Ties that have been added to this controller.
TIMES - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
token - Variable in class edu.hws.jcm.data.ParserContext
The most recently read token type, or NONE if that token has been consumed by a call to next().
tokenObject - Variable in class edu.hws.jcm.data.ParserContext
If the most recently read token was of type IDENTIFIER, then this is the corresponding MathObject from the symbol table, or null if the identifier is not in the symbol table.
tokenString - Variable in class edu.hws.jcm.data.ParserContext
The substring of the parse string that corresponds to the most recently read token.
tokenValue - Variable in class edu.hws.jcm.data.ParserContext
If the most recently read token was of type NUMBER, then this is its numerical value.
TOP - Static variable in class edu.hws.jcm.draw.Axes
A constant that can be used in the setYAxisPosition() method to indicate the placement of the y-axis.
TOP_CENTER - Static variable in class edu.hws.jcm.draw.DrawString
Specify string location in rect
TOP_LEFT - Static variable in class edu.hws.jcm.draw.DrawString
Specify string location in rect
TOP_RIGHT - Static variable in class edu.hws.jcm.draw.DrawString
Specify string location in rect
toString() - Method in class edu.hws.jcm.awt.ExpressionInput.EI
 
toString() - Method in class edu.hws.jcm.data.Constant
Return the print string representing this Constant.
toString() - Method in interface edu.hws.jcm.data.Expression
Get a print string representation of this expression.
toString() - Method in class edu.hws.jcm.data.ExpressionProgram
If a source string has been saved, use it as the print string.
toString() - Method in class edu.hws.jcm.data.Variable
Return a print string representing this variable.
toString() - Method in class edu.hws.jcm.functions.ExpressionFunction
Return a string that describes this function, such as "function f(x,y) given by x^2 - y^2".
TRAPEZOID - Static variable in class edu.hws.jcm.draw.RiemannSumRects
Summation method type.
trim() - Method in class edu.hws.jcm.data.ExpressionProgram
To save space, cut the arrays that holds the program data down to the actual amount of data that they contain.
TRUNC - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
twoColumn - Variable in class edu.hws.jcm.draw.LimitControlPanel
Use two columns for display, if possible.

U

UNARY_MINUS - Static variable in class edu.hws.jcm.data.ExpressionProgram
Code for a unary or binary operator or a standard function.
undefinedWhenNotDragging - Variable in class edu.hws.jcm.draw.MouseTracker
If true, the values of the associated variables are undefined except during the time that the user is clicking and dragging the mouse.
update(Graphics) - Method in class edu.hws.jcm.draw.DisplayCanvas
This has been overridden to implemnt double-buffering.

V

v - Variable in class edu.hws.jcm.draw.DrawGeometric
Integer that gives vertical pixel offset fromy1.
value - Variable in class edu.hws.jcm.data.Constant
The value of this Constant.
Value - interface edu.hws.jcm.data.Value.
An object of type Value has a real-number value that can be retrieved by calling the getVal() method.
ValueMath - class edu.hws.jcm.data.ValueMath.
A ValueMath object is an easy way to create Value objects that are computed from other Value objects.
ValueMath(Function, Value) - Constructor for class edu.hws.jcm.data.ValueMath
Create a ValueMath object whose value is computed as f(x).
ValueMath(Value, Value, char) - Constructor for class edu.hws.jcm.data.ValueMath
Create a ValueMath object whose value is computed by applying an arithmetic operator the values of x and y.
values - Variable in class edu.hws.jcm.awt.DisplayLabel
Value objects whose values will be substituted for #'s in text.
values - Variable in class edu.hws.jcm.draw.DrawString
Values to be substituted for #'s in the baseString.
variable - Variable in class edu.hws.jcm.awt.VariableInput
The Variable that represents the value of this input box.
variable - Variable in class edu.hws.jcm.awt.VariableSlider
The variable associated with this VariableSlider.
Variable - class edu.hws.jcm.data.Variable.
A Variable is a Value object whose value can be changed.
Variable() - Constructor for class edu.hws.jcm.data.Variable
Create an unnamed Variable with initial value 0.
Variable(String) - Constructor for class edu.hws.jcm.data.Variable
Create a Variable with the given name and with initial value zero.
Variable(String, double) - Constructor for class edu.hws.jcm.data.Variable
Create a Variable with the given name and given initial value.
VariableInput - class edu.hws.jcm.awt.VariableInput.
A VariableInput is an input box into which the user can type a real number value, which becomes the value of an associated Variable.
VariableInput() - Constructor for class edu.hws.jcm.awt.VariableInput
Create an unnamed VariableInput with initial contents "0".
VariableInput(String, String) - Constructor for class edu.hws.jcm.awt.VariableInput
Construct a VariableInput with the given name and initial String (which can both be null).
VariableInput(String, String, Parser) - Constructor for class edu.hws.jcm.awt.VariableInput
Create a VariableInput just as in the constructor VariableInput(String,String).
VariableSlider - class edu.hws.jcm.awt.VariableSlider.
A VariableSlider is a slider (implemented as a Scrollbar) whose position represents the value of an associated variable.
VariableSlider() - Constructor for class edu.hws.jcm.awt.VariableSlider
Create a horizontal variable slider with no name and with a default value range of -5 to 5.
VariableSlider(String, Value, Value, Parser) - Constructor for class edu.hws.jcm.awt.VariableSlider
Create a horizontal variable slider with the given name and range of values, and register it with the given parser (but only if both name and p are non-null).
VariableSlider(String, Value, Value, Parser, int, int) - Constructor for class edu.hws.jcm.awt.VariableSlider
Create a variable slider with the given name and range of values, and register it with the given parser (but only if both name and p are non-null).
VariableSlider(Value, Value) - Constructor for class edu.hws.jcm.awt.VariableSlider
Create a horizontal variable slider with no name and with the specified range of values.
VectorField - class edu.hws.jcm.draw.VectorField.
A VectorField displays lines or arrows on a grid of points where the direction and/or lengths are given by two functions (f1(x,y),f2(x,y)).
VectorField() - Constructor for class edu.hws.jcm.draw.VectorField
Create a VectorField object with nothing to graph.
VectorField(Function, Function) - Constructor for class edu.hws.jcm.draw.VectorField
Create a VectorField that will be displayed using the default style, as a direction field of equal-length arrows.
VectorField(Function, Function, int) - Constructor for class edu.hws.jcm.draw.VectorField
Create a VectorField with the specified functions and style.
VERTICAL - Static variable in class edu.hws.jcm.awt.Animator
Indicates that the components in the Animator panel are to be stacked vertically.

W

width - Variable in class edu.hws.jcm.draw.DrawBorder
A non-negative integer giving the width of the border in pixels.
withLabel() - Method in class edu.hws.jcm.awt.VariableInput
Convenience method for creating a component containing this VariableInput together with a label of the form " = ".
withLabel(Color, Color) - Method in class edu.hws.jcm.awt.VariableInput
Convenience method for creating a component containing this VariableInput together with a label of the form "name = ".
WrapperFunction - class edu.hws.jcm.functions.WrapperFunction.
A WrapperFunction contains another function and delegates to it all calls to methods from the Function interface, except for calls to setName() and getName().
WrapperFunction(Function) - Constructor for class edu.hws.jcm.functions.WrapperFunction
Create a WrapperFunction object containing a specified function.

X

x1 - Variable in class edu.hws.jcm.draw.DrawGeometric
One of the Value objects that determine the shape that is drawn.
x2 - Variable in class edu.hws.jcm.draw.DrawGeometric
One of the Value objects that determine the shape that is drawn.
xmax - Variable in class edu.hws.jcm.draw.LimitControlPanel
The input boxes for the x- and y-value ranges.
XMAX - Static variable in class edu.hws.jcm.draw.CoordinateRect
A constant for use with the getValueObject() method to specify which Value is to be returned.
xmin - Variable in class edu.hws.jcm.draw.LimitControlPanel
The input boxes for the x- and y-value ranges.
XMIN - Static variable in class edu.hws.jcm.draw.CoordinateRect
A constant for use with the getValueObject() method to specify which Value is to be returned.
xPos - Variable in class edu.hws.jcm.draw.DrawString
xy-coords for drawing the string.
xToPixel(double) - Method in class edu.hws.jcm.draw.CoordinateRect
Convert an x-coodinate into a horizontal pixel coordinate.

Y

y1 - Variable in class edu.hws.jcm.draw.DrawGeometric
One of the Value objects that determine the shape that is drawn.
y2 - Variable in class edu.hws.jcm.draw.DrawGeometric
One of the Value objects that determine the shape that is drawn.
ymax - Variable in class edu.hws.jcm.draw.LimitControlPanel
The input boxes for the x- and y-value ranges.
YMAX - Static variable in class edu.hws.jcm.draw.CoordinateRect
A constant for use with the getValueObject() method to specify which Value is to be returned.
ymin - Variable in class edu.hws.jcm.draw.LimitControlPanel
The input boxes for the x- and y-value ranges.
YMIN - Static variable in class edu.hws.jcm.draw.CoordinateRect
A constant for use with the getValueObject() method to specify which Value is to be returned.
yPos - Variable in class edu.hws.jcm.draw.DrawString
xy-coords for drawing the string.
yToPixel(double) - Method in class edu.hws.jcm.draw.CoordinateRect
Convert a y-coodinate into a vertical pixel coordinate.

Z

ZOOM_IN - Static variable in class edu.hws.jcm.draw.LimitControlPanel
A constant that can be used in the addButton() method to add a button to the LimitControlPanel.
ZOOM_OUT - Static variable in class edu.hws.jcm.draw.LimitControlPanel
A constant that can be used in the addButton() method to add a button to the LimitControlPanel.
zoomIn() - Method in class edu.hws.jcm.draw.CoordinateRect
Change limits to zoom in by a factor of 2.
zoomInOnPixel(int, int) - Method in class edu.hws.jcm.draw.CoordinateRect
Change limits to zoom in by a factor of 2, centered on a specified point.
zoomOut() - Method in class edu.hws.jcm.draw.CoordinateRect
Change limits to zoom out by a factor of 2.
zoomOutFromPixel(int, int) - Method in class edu.hws.jcm.draw.CoordinateRect
Change limits to zoom out by a factor of 2, centered on a specified point.

A B C D E F G H I J L M N O P R S T U V W X Y Z