- 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.Animator
-
Respond to button clicks.
- 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.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.
- actionPerformed(ActionEvent) - Method in class Evaluator
-
Respond when user clicks a button; not meant to be called directly.
- actionPerformed(ActionEvent) - Method in class FunctionComposition
-
- actionPerformed(ActionEvent) - Method in class GenericGraphApplet
-
Respond when user clicks a button; not meant to be called directly.
- actionPerformed(ActionEvent) - Method in class IntegralCurves
-
- actionPerformed(ActionEvent) - Method in class ScatterPlotApplet
-
Respond when user clicks a button; not meant to be called directly.
- add(Object) - Method in class edu.hws.jcm.awt.Controller
-
Add an object to be controlled by this controller.
- 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.
- 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(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(Drawable) - Method in class edu.hws.jcm.draw.CoordinateRect
-
Add a drawable item to the CoordinateRect.
- add(Drawable) - Method in class edu.hws.jcm.draw.DisplayCanvas
-
Add the specified Drawable item to the first CoordinateRect in this DisplayCanvas.
- 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(Component) - Method in class edu.hws.jcm.draw.LimitControlPanel
-
Redefine this method from the Component class to make it a synonym for addComponent(c);
- addButtons(int) - Method in class edu.hws.jcm.draw.LimitControlPanel
-
Add the buttons in buttonSet to the panel, if they are not
already there.
- addCanvasBorder() - Method in class Derivatives
-
- addCanvasBorder() - Method in class GenericGraphApplet
-
This method is called by setUpMainPanel() to add a border to the canvas (since the border is typically
the last thing that should be added, on top of anything else in the canvas.
- 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.
- AnimatedGraph - Class in <Unnamed>
-
- AnimatedGraph() - Constructor for class AnimatedGraph
-
- Animator - Class in edu.hws.jcm.awt
-
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 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.data.Constant
-
Append the print string for this Constant to the buffer.
- 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(int, StringBuffer) - Method in class edu.hws.jcm.data.ExpressionProgram
-
Add a string representing part of the expression to the output 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
- 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.data.Constant
-
Apply the Constant to the stack.
- 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.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.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.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 in edu.hws.jcm.draw
-
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.
- 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.
- canvas - Variable in class GenericGraphApplet
-
The canvas for displaying axes, graphs, etc.
- CASE_SENSITIVE - Static variable in class edu.hws.jcm.data.Parser
-
An option that can be set for this parser.
- Cases - Class in edu.hws.jcm.data
-
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.Animator
-
Part of the IputObject interface.
- checkInput() - Method in class edu.hws.jcm.awt.Controller
-
Call checkInput() of each InputObject.
- 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 interface edu.hws.jcm.awt.InputObject
-
Check and possibly change the value associated with this 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.VariableSlider
-
From the InputObject interface.
- 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.DisplayCanvas
-
This is generally called by a Controller.
- 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.LimitControlPanel
-
Check the input boxes in this panel.
- checkInput() - Method in class edu.hws.jcm.draw.MouseTracker
-
Set the values of the associated variables.
- 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(Value) - Method in class edu.hws.jcm.draw.DraggablePoint
-
Clamp the x-value of the point to v.
- 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 - 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.
- clampY(Value) - Method in class edu.hws.jcm.draw.DraggablePoint
-
Clamp the y-value of the point to v.
- 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 - 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.
- 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.DrawBorder
-
A non-null Color, giving the color of the bortder.
- color - Variable in class edu.hws.jcm.draw.DrawGeometric
-
Color of the shappe.
- color - Variable in class edu.hws.jcm.draw.DrawString
-
Color of string.
- 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.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 interface edu.hws.jcm.data.ExpressionCommand
-
The ExpressionCommand occurs in the program prog at the index indicated by myIndex.
- 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.
- 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.
- Computable - Interface in edu.hws.jcm.awt
-
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 interface edu.hws.jcm.awt.Computable
-
Perform the computation or action associated with this
Computable object.
- 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 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.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.DisplayCanvas
-
This is generally called by a Controller.
- 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.DrawString
-
The compute method sets up the array of strings that is actually displayed.
- 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.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.RiemannSumRects
-
This is generally called by a Controller.
- compute() - Method in class edu.hws.jcm.draw.ScatterPlot
-
Recompute the data for the scatter plot.
- 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.
- ComputeButton - Class in edu.hws.jcm.awt
-
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.
- computeButton - Variable in class GenericGraphApplet
-
A button that the user presses to recompute the display.
- ConditionalExpression - Class in edu.hws.jcm.data
-
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 in edu.hws.jcm.data
-
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 exception edu.hws.jcm.data.ParseError
-
The parsing context that was in effect
at the time the error occurred.
- continueDrag(MouseEvent) - Method in interface edu.hws.jcm.draw.Draggable
-
Continue a drag that was started in startDrag().
- continueDrag(MouseEvent) - Method in class edu.hws.jcm.draw.DraggablePoint
-
Continue a drag operation begun in startDrag().
- Controller - Class in edu.hws.jcm.awt
-
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 in edu.hws.jcm.draw
-
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.DraggablePoint
-
A style constant that specifies the visual appearance of a DraggablePoint to be a cross.
- CROSS - Static variable in class edu.hws.jcm.draw.DrawGeometric
-
Specifies a cross centered on the point (x1,y1).
- Crosshair - Class in edu.hws.jcm.draw
-
A Crosshair is a small cross, 15 pixels wide and high, that is drawn in
a CoordinateRect at a specified point.
- Crosshair(Value, Value) - Constructor for class edu.hws.jcm.draw.Crosshair
-
Create a cross that appears at the point with coordinates (x,y).
- 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)).
- 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 - 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 in edu.hws.jcm.awt
-
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, String[]) - Constructor for class edu.hws.jcm.awt.DataTableInput
-
Create a table with the specified column names.
- DataTableInput(String, int) - Constructor for class edu.hws.jcm.awt.DataTableInput
-
Create a table with the specified number of columns,
named "A", "B", etc.
- 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.
- defaultFrameSize - Variable in class GenericGraphApplet
-
The default size for the frame when the applet runs a launch button.
- deleteCurrentRow() - Method in class edu.hws.jcm.awt.DataTableInput
-
Delete the row that contains the cell that the user is editing.
- dependsOn(Variable) - Method in class edu.hws.jcm.awt.ExpressionInput.EI
-
- 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.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 interface edu.hws.jcm.data.ExpressionCommand
-
Return true if this command depends on the value of x, false otherwise.
- 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.data.ExpressionProgram
-
Checks whether the expression as a whole has any dependence 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.SimpleFunction
-
Return true if the definition of this function depends
in some way 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.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.TableFunction
-
Returns false.
- 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(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.ExpressionProgram
-
Compute the derivative of this expression with respect to the Variable wrt.
- derivative(int) - Method in interface edu.hws.jcm.data.Function
-
Return the derivative of the function with repect to
argument number wrt.
- derivative(Variable) - Method in interface edu.hws.jcm.data.Function
-
Return the derivative of the function with respect to 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(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 class edu.hws.jcm.data.Variable
-
Return the derivative of this Variable with respect to the
Variable wrt.
- 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(Variable) - Method in class edu.hws.jcm.functions.ExpressionFunction
-
Return the derivative of the function with respect to the
variable x.
- derivative(int) - Method in class edu.hws.jcm.functions.TableFunction
-
Compute the derivative of this function.
- derivative(Variable) - Method in class edu.hws.jcm.functions.TableFunction
-
Returns null.
- 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.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).
- Derivatives - Class in <Unnamed>
-
- Derivatives() - Constructor for class Derivatives
-
- destroy() - Method in class GenericGraphApplet
-
Closes the frame (if any) when the applet is destroyed.
- 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 in edu.hws.jcm.draw
-
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 in edu.hws.jcm.awt
-
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.
- doLoadExample(String) - Method in class AnimatedGraph
-
- doLoadExample(String) - Method in class Derivatives
-
- doLoadExample(String) - Method in class EpsilonDelta
-
- doLoadExample(String) - Method in class FamiliesOfGraphs
-
- doLoadExample(String) - Method in class FunctionComposition
-
- doLoadExample(String) - Method in class GenericGraphApplet
-
This method is called when the user loads an example from the example menu (if any).
- doLoadExample(String) - Method in class IntegralCurves
-
- doLoadExample(String) - Method in class MultiGraph
-
- doLoadExample(String) - Method in class Parametric
-
- doLoadExample(String) - Method in class RiemannSums
-
- doLoadExample(String) - Method in class SecantTangent
-
- doLoadExample(String) - Method in class SimpleGraph
-
- 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(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.
- 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.
- doTies() - Method in class edu.hws.jcm.awt.Controller
-
Check the Ties in this controller and its sub-controllers.
- Draggable - Interface in edu.hws.jcm.draw
-
An interface that can be implemented by an object that can be dragged
with the mouse.
- DraggablePoint - Class in edu.hws.jcm.draw
-
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.Axes
-
Draw the axes.
- 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.
- 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.Drawable
-
Draw this drawable in the graphics context g.
- 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.DrawGeometric
-
Do the drawing.
- draw(Graphics, boolean) - Method in class edu.hws.jcm.draw.DrawString
-
Draws the string.
- 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, 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.Grid
-
Draws the grid if an update is required.
- 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.Panner
-
Override the abstract draw() method from the Drawable class.
- 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.RiemannSumRects
-
Draw the Rieman sum rects.
- 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.draw.VectorField
-
Draw the vector field (possibly recomputing the data if the CoordinateRect has changed).
- draw(Graphics, boolean) - Method in class edu.hws.jcm.functions.TableFunctionGraph
-
Override the draw() method from class Drawable to draw the function.
- Drawable - Class in edu.hws.jcm.draw
-
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 in edu.hws.jcm.draw
-
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 in edu.hws.jcm.draw
-
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, 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.
- DrawGeometric(int, Value, Value, int, int) - Constructor for class edu.hws.jcm.draw.DrawGeometric
-
Create a DrawGeometric with a specified shape and values.
- drawItems - Variable in class edu.hws.jcm.draw.CoordinateRect
-
Drawable items contained in this CoordinateRect
- DrawString - Class in edu.hws.jcm.draw
-
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(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.
- DrawTemp - Interface in edu.hws.jcm.draw
-
An object that implements this interface can draw itself, using information
from a CoordinateRect (in which it presumably appears).
- 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.
- GenericGraphApplet - Class in <Unnamed>
-
GenericGraphApplet serves as a base class for applets that have a DisplayCanvas in the CENTER of
a BorderLayout and that are configurable by a large number of applet parameters.
- GenericGraphApplet() - Constructor for class GenericGraphApplet
-
- 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 interface edu.hws.jcm.data.Function
-
Return the number of arguments of this function.
- getArity() - Method in class edu.hws.jcm.data.SimpleFunction
-
Return the number of arguments of this function.
- 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.TableFunction
-
Returns the arity of the function, which is 1.
- 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.DraggablePoint
-
Get the color used for drawing the point.
- getColor() - Method in class edu.hws.jcm.draw.DrawBorder
-
Get the color of the border.
- 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.DrawString
-
Get the non-null color that is used for drawing the string.
- 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.draw.Grid
-
Access method which returns the Color of the grid lines.
- 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.RiemannSumRects
-
Get the current color used to draw the rectangles
- 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.functions.TableFunctionGraph
-
Get the non-null color that is used for drawing the graph.
- getColorParam(String, Color) - Method in class Evaluator
-
Get The value of an applet parameter that specifies a color.
- getColorParam(String) - Method in class GenericGraphApplet
-
Get The value of an applet parameter that specifies a color.
- getColorParam(String, Color) - Method in class GenericGraphApplet
-
Get The value of an applet parameter that specifies a color.
- 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 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.ExpressionInput
-
Get error message from previous call to checkInput().
- getErrorMessage() - Method in class edu.hws.jcm.awt.MessagePopup
-
Get the currently displayed 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.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(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, ...
- 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.TableFunctionGraph
-
Get the TableFunction whose graph is drawn by this TableFunctionGraph.
- getFunction() - Method in class edu.hws.jcm.functions.WrapperFunction
-
Return the function that is currently wrapped in this WrapperFunction.
- 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.Animator
-
Get the Value object that specifies the final value of the Animator.
- 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.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.Animator
-
Get the Value object that specifies the starting value of the Animator.
- 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.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.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.data.StandardFunction
-
Return the name of this StandardFunction oject.
- 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.
- getNumericParam(String) - Method in class GenericGraphApplet
-
Get The value of an applet parameter that consists of a list of numbers.
- getNumericParam(String, double[]) - Method in class GenericGraphApplet
-
Get The value of an applet parameter that consists of a list of numbers.
- 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.ExpressionInput
-
Return the Controller, if any, that is notified whenever the text
in this input box changes
- 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
- 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.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.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.VariableSlider
-
Return the Controller, if any, that is notified when the user
adjusts the position of the scroll bar.
- getOnUserAction(Controller) - Method in class edu.hws.jcm.draw.DraggablePoint
-
Get the Controller that is notified when the user drags the point.
- 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() - Method in class edu.hws.jcm.draw.Panner
-
Get the Controller that is notified when the user moves the mouse during a drag.
- 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.
- getParameter(String) - Method in class GenericGraphApplet
-
Override the standard applet method getParameter(String) so that when no param value
is provided in the applet tag, and if parameterDefaults is non-null, it will check for a value
the parameterDefaults.
- getParameter(String, String) - Method in class GenericGraphApplet
-
Get the value of an applet parameter, but return a default if the value is null.
- getParameter(String, String) - Method in class ScatterPlotApplet
-
Return the applet parameter with a given param name, but if no
such applet param exists, return a default value instead.
- 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.DisplayLabel
-
Return the preferred size of this DisplayLabel.
- 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.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.Animator
-
Part of the Tieable interface.
- getSerialNumber() - Method in class edu.hws.jcm.awt.DataTableInput
-
Get the serial number of the table.
- getSerialNumber() - Method in interface edu.hws.jcm.awt.Tieable
-
Get the serial number associated with this Tieable.
- 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.VariableSlider
-
Return this object's serial number, which is increased every time the
value changes.
- 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.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.draw.VectorField
-
Get the style in which the vector field is displayed.
- 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.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.
- 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.VariableInput
-
Return the value of the throwErrors property.
- 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.Animator
-
Get the current value of the Animator.
- getVal() - Method in class edu.hws.jcm.awt.ExpressionInput.EI
-
- 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.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.VariableSlider
-
Get the value of this VariableSlider.
- 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(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.data.SimpleFunction
-
Find the value of the function at the argument values
argument[0], argument[1]....
- getVal() - Method in interface edu.hws.jcm.data.Value
-
Gets the current value of this object.
- getVal() - Method in class edu.hws.jcm.data.ValueMath
-
Get the value of this object.
- 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.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.functions.TableFunction
-
Get the value of the function at the specified parameter value.
- 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 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.data.SimpleFunction
-
Find the value of the function at the argument values
argument[0], argument[1]....
- 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.TableFunction
-
Get the value of the function at the specified parameter value.
- 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.CoordinateRect
-
Get the width in pixels of this CoordinateRect in the DisplayCanvas that contains it.
- getWidth() - Method in class edu.hws.jcm.draw.DrawBorder
-
Get the width of the border, in pixels.
- 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.ParametricCurve
-
Get the (possibly null) function that gives the x-coordinate of the curve.
- getXFunction() - Method in class edu.hws.jcm.draw.VectorField
-
Get the (possibly null) function that gives the x-component of the vector field.
- 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.ParametricCurve
-
Get the (possibly null) function that gives the y-coordinate of the curve.
- getYFunction() - Method in class edu.hws.jcm.draw.VectorField
-
Get the (possibly null) function that gives the y-component of the vector field.
- 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 in edu.hws.jcm.draw
-
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 in edu.hws.jcm.draw
-
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.
- 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 in edu.hws.jcm.draw
-
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.
- parameterDefaults - Variable in class GenericGraphApplet
-
A hash table that, if non-null, can hold values for applet params.
- Parametric - Class in <Unnamed>
-
- Parametric() - Constructor for class Parametric
-
- ParametricCurve - Class in edu.hws.jcm.draw
-
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 in edu.hws.jcm.data
-
Represents a syntax error that is found while a string is being parsed.
- ParseError(String, ParserContext) - Constructor for exception 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 in edu.hws.jcm.data
-
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(Parser) - Constructor for class edu.hws.jcm.data.Parser
-
Create a Parser with the specified parent.
- Parser(int) - Constructor for class edu.hws.jcm.data.Parser
-
Create a Parser with the spedified option set and with no parent.
- Parser(Parser, int) - Constructor for class edu.hws.jcm.data.Parser
-
Create a Parser with the specified parent.
- parser - Variable in class GenericGraphApplet
-
The parser which is used for parsing input from the functionInput box.
- ParserContext - Class in edu.hws.jcm.data
-
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 in edu.hws.jcm.data
-
A ParserExtension can be defined to add new capabilities to a
standard Parser.
- parseTableFuncDef(String) - Method in class GenericGraphApplet
-
Create a TableFunction from a string.
- parseTerm(ParserContext) - Method in class edu.hws.jcm.data.Parser
-
Called as part of the parsing process.
- pause() - Method in class edu.hws.jcm.awt.Animator
-
Pause the animation, if it is running.
- 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.
- 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() - Method in class edu.hws.jcm.awt.Animator
-
Advance the animation BACK one frame.
- 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.
- previousContents - Variable in class edu.hws.jcm.awt.ExpressionInput
-
- previousContents - 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().
- 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.ExpressionInput
-
Overridden to call onUserAction.compute() if onUserAction is non-null.
- processActionEvent(ActionEvent) - Method in class edu.hws.jcm.awt.VariableInput
-
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.
- 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.ExpressionInput
-
Overridden to call onUserAction.compute() if onUserAction is non-null.
- processTextEvent(TextEvent) - Method in class edu.hws.jcm.awt.VariableInput
-
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.
- 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 in edu.hws.jcm.draw
-
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, int, int) - Constructor for class edu.hws.jcm.draw.ScatterPlot
-
Create a scatter plot to plot data from two specified columns in a 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.
- ScatterPlotApplet - Class in <Unnamed>
-
A ScatterPlotApplet shows a scatter plot of data from a DataTableInput.
- ScatterPlotApplet() - Constructor for class ScatterPlotApplet
-
- SEC - Static variable in class edu.hws.jcm.data.ExpressionProgram
-
Code for a unary or binary operator or a standard function.
- SecantTangent - Class in <Unnamed>
-
- SecantTangent() - Constructor for class SecantTangent
-
- 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.DraggablePoint
-
Set the color to be used for drawing the point.
- 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.DrawGeometric
-
Set the color that is used for drawing the shape.
- 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.Graph1D
-
Set the color to be used for drawing the graph.
- 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.ParametricCurve
-
Set the color to be used for drawing the graph.
- 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.VectorField
-
Set the color to be used for drawing the vector field.
- 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.Graph1D
-
Set the function to be graphed.
- setFunction(Function) - Method in class edu.hws.jcm.draw.RiemannSumRects
-
Set the function whose Riemann sums are to be computed.
- setFunction(TableFunction) - Method in class edu.hws.jcm.functions.TableFunctionGraph
-
Set the function whose graph is drawn by this TableFunctionGraph.
- setFunction(Function) - Method in class edu.hws.jcm.functions.WrapperFunction
-
Set the function that is contained in this WrapperFunction.
- setFunctions(Function, Function) - Method in class edu.hws.jcm.draw.ParametricCurve
-
Sets the functions that gives the coordinates of the curve to be graphed.
- setFunctions(Function, Function) - Method in class edu.hws.jcm.draw.VectorField
-
Sets the functions that give the components of the vector field.
- 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(Value) - Method in class edu.hws.jcm.awt.Animator
-
Set the Value object that specifies the number of frames in the animation.
- 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.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, double, double, double) - Method in class edu.hws.jcm.draw.CoordinateRect
-
Set the limits on the CoordinteRect
- 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(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(Value) - Method in class edu.hws.jcm.awt.Animator
-
Set the Value object that gives the final value of the Animator.
- setMax(double) - Method in class edu.hws.jcm.awt.Animator
-
A convenience method that simply calls setMax(new Constant(d)).
- setMax(double) - Method in class edu.hws.jcm.awt.VariableInput
-
Specify the largest allowed value for the content of this VariableInput box.
- 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(Value) - Method in class edu.hws.jcm.awt.Animator
-
Set the Value object that gives the starting value of the Animator.
- setMin(double) - Method in class edu.hws.jcm.awt.Animator
-
A convenience method that simply calls setMin(new Constant(d)).
- setMin(double) - Method in class edu.hws.jcm.awt.VariableInput
-
Specify the smallest allowed value for the content of this VariableInput box.
- 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.DataTableInput
-
Set the name of this DataTableInput.
- 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.VariableSlider
-
Set the name of the associated variable.
- 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.data.StandardFunction
-
Change the name of this StandardFunction.
- 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(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.
- 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.
- 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.
- 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.
- 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.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.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.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.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.
- 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.
- 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.MouseTracker
-
This is called automatically by CoordinateRect when the
MouseTracker is added to the CoordinateRect.
- 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.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, Value, Value) - Method in class edu.hws.jcm.draw.DrawGeometric
-
Set the Value objects that specify the two points that determine the shape.
- 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.
- 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.DraggablePoint
-
Set the visual style of the point.
- 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.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.DisplayLabel
-
Set text for display -- text should include as many (single) #'s
as there are values to display.
- 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.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.
- setThrowErrors(boolean) - Method in class edu.hws.jcm.awt.DataTableInput
-
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.VariableInput
-
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.
- setUpBottomPanel() - Method in class AnimatedGraph
-
- setUpBottomPanel() - Method in class EpsilonDelta
-
- setUpBottomPanel() - Method in class FamiliesOfGraphs
-
- setUpBottomPanel() - Method in class GenericGraphApplet
-
This method checks the applet parameter "UseFunctionInput".
- setUpBottomPanel() - Method in class IntegralCurves
-
- setUpBottomPanel() - Method in class MultiGraph
-
- setUpBottomPanel() - Method in class Parametric
-
- setUpCanvas() - Method in class AnimatedGraph
-
- setUpCanvas() - Method in class Derivatives
-
- setUpCanvas() - Method in class EpsilonDelta
-
- setUpCanvas() - Method in class FamiliesOfGraphs
-
- setUpCanvas() - Method in class GenericGraphApplet
-
This method is called by mainPanel() to set up the display canvas and add it to the
main panel.
- setUpCanvas() - Method in class IntegralCurves
-
- setUpCanvas() - Method in class MultiGraph
-
- setUpCanvas() - Method in class Parametric
-
- setUpCanvas() - Method in class RiemannSums
-
- setUpCanvas() - Method in class SecantTangent
-
- setUpCanvas() - Method in class SimpleGraph
-
- setUpExampleMenu() - Method in class GenericGraphApplet
-
This method processes applet parameters that specify examples for the applet and adds them
to a menu of examples.
- setUpLimitsPanel() - Method in class AnimatedGraph
-
- setUpLimitsPanel() - Method in class GenericGraphApplet
-
This method sets up the limit control panel and adds it to the main panel.
- setUpLimitsPanel() - Method in class MultiGraph
-
- setUpLimitsPanel() - Method in class Parametric
-
- setUpMainPanel() - Method in class Derivatives
-
- setUpMainPanel() - Method in class FunctionComposition
-
- setUpMainPanel() - Method in class GenericGraphApplet
-
This method is called to set up the main panel of the applet.
- setUpMainPanel() - Method in class Parametric
-
- setUpMainPanel() - Method in class RiemannSums
-
- setUpMainPanel() - Method in class SimpleGraph
-
- setUpParameterDefaults() - Method in class Derivatives
-
- setUpParameterDefaults() - Method in class GenericGraphApplet
-
This method, which is empty in the GenericGraphApplet class, can be defined in a subclass
to set default values for applet params that are different from the ones provided in
this class.
- setUpParameterDefaults() - Method in class Parametric
-
- setUpParameterDefaults() - Method in class RiemannSums
-
- setUpParameterDefaults() - Method in class SecantTangent
-
- setUpParser() - Method in class AnimatedGraph
-
- setUpParser() - Method in class FamiliesOfGraphs
-
- setUpParser() - Method in class GenericGraphApplet
-
This method is called by setUpMainPanel() to set up the parser to be used in the applet.
- setUpParser() - Method in class IntegralCurves
-
- setUpParser() - Method in class MultiGraph
-
- setUpTopPanel() - Method in class GenericGraphApplet
-
This method is called by setUpMainPanel() to add a panel at the top of the applet.
- 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.Animator
-
Set the value of the animation.
- 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.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.ParametricCurve
-
Set the function that gives the x-coordinate of the curve to be graphed.
- setXFunction(Function) - Method in class edu.hws.jcm.draw.VectorField
-
Set the function that gives the x-component of the vector field.
- 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.ParametricCurve
-
Set the function that gives the y-coordinate of the curve to be graphed.
- setYFunction(Function) - Method in class edu.hws.jcm.draw.VectorField
-
Set the function that gives the y-component of the vector field.
- 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 in edu.hws.jcm.data
-
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.
- SimpleGraph - Class in <Unnamed>
-
- SimpleGraph() - Constructor for class SimpleGraph
-
- 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 in edu.hws.jcm.data
-
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 in edu.hws.jcm.data
-
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() - Method in class edu.hws.jcm.awt.Animator
-
Start the animation from the first frame, or continue it if it was paused.
- 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.
- startCurve(double, double) - Method in class IntegralCurves
-
- startDrag(MouseEvent) - Method in interface edu.hws.jcm.draw.Draggable
-
Tell the object that a drag operation might be beginning.
- 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.
- 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() - Method in class AnimatedGraph
-
- stop() - Method in class edu.hws.jcm.awt.Animator
-
Stop the animation, if it is running or paused.
- stop() - Method in class GenericGraphApplet
-
Releases the resources used by the display canvas when the applet is stopped.
- stop() - Method in class IntegralCurves
-
- stop() - Method in class Parametric
-
- 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.
- 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 in edu.hws.jcm.functions
-
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 in edu.hws.jcm.data
-
A symbol table contains MathObjects, associating them
with their names.
- sync(Tie, Tieable) - Method in class edu.hws.jcm.awt.Animator
-
Part of the Tieable interface.
- 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.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.VariableSlider
-
Change the value and serial number of this object to match
those of newest.
- 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.