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.