Uses of Interface
edu.hws.jcm.data.Value

Packages that use Value
edu.hws.jcm.awt   
edu.hws.jcm.data   
edu.hws.jcm.draw   
 

Uses of Value in edu.hws.jcm.awt
 

Classes in edu.hws.jcm.awt that implement Value
 class Animator
          An Animator can change a value continuously, without user intervention, by running a separate Thread.
 class ExpressionInput
          An ExpressionInput is an input box that allows the user input a mathematical expression.
protected  class ExpressionInput.EI
          The expression associated with an ExpressionInput belongs to this class.
 class VariableInput
          A VariableInput is an input box into which the user can type a real number value, which becomes the value of an associated Variable.
 class VariableSlider
          A VariableSlider is a slider (implemented as a Scrollbar) whose position represents the value of an associated variable.
 

Fields in edu.hws.jcm.awt declared as Value
protected  Value VariableSlider.max
          The Values that specify the range of values represented by the slider.
protected  Value VariableSlider.min
          The Values that specify the range of values represented by the slider.
protected  Value[] DisplayLabel.values
          Value objects whose values will be substituted for #'s in text.
 

Methods in edu.hws.jcm.awt that return Value
 Value Animator.getIntervals()
          Get the Value object that specifies the number of frames in the animation.
 Value Animator.getMax()
          Get the Value object that specifies the final value of the Animator.
 Value VariableSlider.getMax()
          Get the Value object that gives the value of the variable when the slider is at the right (or top) of the scrollbar.
 Value Animator.getMin()
          Get the Value object that specifies the starting value of the Animator.
 Value VariableSlider.getMin()
          Get the Value object that gives the value of the variable when the slider is at the left (or bottom) of the scrollbar.
 Value[] DisplayLabel.getValues()
          Get the array of Value objects whose values are displayed in this DisplayLabel.
 

Methods in edu.hws.jcm.awt with parameters of type Value
 void Animator.setIntervals(Value intervals)
          Set the Value object that specifies the number of frames in the animation.
 void Animator.setMax(Value max)
          Set the Value object that gives the final value of the Animator.
 void VariableSlider.setMax(Value v)
          Set the value that the variable has when the slider is at the right (or top) of the scrollbar.
 void Animator.setMin(Value min)
          Set the Value object that gives the starting value of the Animator.
 void VariableSlider.setMin(Value v)
          Set the value that the variable has when the slider is at the left (or bottom) of the scrollbar.
 void DisplayLabel.setValue(Value val)
          A convenience method that can be used when the display string contains just a single #.
 void DisplayLabel.setValues(Value[] vals)
          Set the array of Value objects whose values are displayed in this DisplayLabel, and change the display to show the new values.
 

Constructors in edu.hws.jcm.awt with parameters of type Value
Animator(int controls, int orientation, Value min, Value max, Value intervals)
          Create an Animator with specified controls, orienation, range limits and number of intervals
DisplayLabel(java.lang.String text, Value val)
          Convenience method for making a DisplayLabel with just one value to display.
DisplayLabel(java.lang.String text, Value[] vals)
          Create a DisplayLabel to display one or more values.
VariableSlider(java.lang.String name, Value min, Value max, Parser p)
          Create a horizontal variable slider with the given name and range of values, and register it with the given parser (but only if both name and p are non-null).
VariableSlider(java.lang.String name, Value min, Value max, Parser p, int intervals, int orientation)
          Create a variable slider with the given name and range of values, and register it with the given parser (but only if both name and p are non-null).
VariableSlider(Value min, Value max)
          Create a horizontal variable slider with no name and with the specified range of values.
 

Uses of Value in edu.hws.jcm.data
 

Subinterfaces of Value in edu.hws.jcm.data
 interface Expression
          An Expression represents a mathematical expression such as "x+1" or "3" or "sin(x*ln(x)-3*abs(x/4))".
 

Classes in edu.hws.jcm.data that implement Value
 class Constant
          A Constant is a Value that represents a constant real number.
 class ExpressionProgram
          An ExprssionProgram represents a mathematical expression such as "3" or "sin(x^2)", stored in the form of a program for a stack machine.
 class ValueMath
          A ValueMath object is an easy way to create Value objects that are computed from other Value objects.
 class Variable
          A Variable is a Value object whose value can be changed.
 

Constructors in edu.hws.jcm.data with parameters of type Value
ValueMath(Function f, Value x)
          Create a ValueMath object whose value is computed as f(x).
ValueMath(Value x, Value y, char op)
          Create a ValueMath object whose value is computed by applying an arithmetic operator the values of x and y.
 

Uses of Value in edu.hws.jcm.draw
 

Fields in edu.hws.jcm.draw declared as Value
protected  Value[] DrawString.values
          Values to be substituted for #'s in the baseString.
protected  Value DrawGeometric.x1
          One of the Value objects that determine the shape that is drawn.
protected  Value DrawGeometric.x2
          One of the Value objects that determine the shape that is drawn.
protected  Value DrawString.xPos
          xy-coords for drawing the string.
protected  Value DrawGeometric.y1
          One of the Value objects that determine the shape that is drawn.
protected  Value DrawGeometric.y2
          One of the Value objects that determine the shape that is drawn.
protected  Value DrawString.yPos
          xy-coords for drawing the string.
 

Methods in edu.hws.jcm.draw that return Value
 Value RiemannSumRects.getIntervalCount()
          Get the number of intervals used.
 Value ParametricCurve.getIntervals()
          Get the value object, possibly null, that determines the number of points on the curve.
 Value ParametricCurve.getTMax()
          Get the Value object, possibly null, that gives the right endpoint of the domain of the parameter.
 Value ParametricCurve.getTMin()
          Get the Value object, possibly null, that gives the left endpoint of the domain of the parameter.
 Value CoordinateRect.getValueObject(int which)
          Get a Value object representing one of the limits on this CoordinateRect.
 Value RiemannSumRects.getValueObject(int which)
          Gets a Value object that gives the value of the Riemann sum for the specified method.
 Value ScatterPlot.getValueObject(int valueCode)
          Get a Value that represents a statistic about the data that is shown in the scatter plot.
 Value[] DrawString.getValues()
          Return the array of values that are substituted for #'s in the string.
 Value DrawGeometric.getX1()
          Get the value that gives the x-coordinate of the first point that determines the shape.
 Value DrawGeometric.getX2()
          Get the value that gives the x-coordinate of the second point that determines the shape.
 Value DrawString.getXPos()
          Return the Value object that gives the x-coordinate of the reference point of this string.
 Value DrawGeometric.getY1()
          Get the value that gives the y-coordinate of the first point that determines the shape.
 Value DrawGeometric.getY2()
          Get the value that gives the y-coordinate of the second point that determines the shape.
 Value DrawString.getYPos()
          Return the Value object that gives the y-coordinate of the reference point of this string.point of this string.
 

Methods in edu.hws.jcm.draw with parameters of type Value
 void DraggablePoint.clampX(Value v)
          Clamp the x-value of the point to v.
 void DraggablePoint.clampY(Value v)
          Clamp the y-value of the point to v.
 void RiemannSumRects.setIntervalCount(Value c)
          Set the interval count (the RiemannSumRects will be redrawn after this function is called).
 void ParametricCurve.setIntervals(Value intervalCount)
          Specify the number of subintervals into which the domain of the parametric curve is divided.
 void ParametricCurve.setLimits(Value tmin, Value tmax)
          Set the Value objects that specify the domain of the paratmeter.
 void DrawGeometric.setPoints(Value x1, Value y1, int h, int v)
          Set the values that specify a point (x1,y1) and an offset (h,v) from that point.
 void DrawGeometric.setPoints(Value x1, Value y1, Value x2, Value y2)
          Set the Value objects that specify the two points that determine the shape.
 void DrawString.setReferencePoint(Value x, Value y)
          Set the values of the (x,y) coordinates of the reference point for the stirng.
 void ParametricCurve.setTMax(Value tmax)
          Set the Value object that gives the right endpoint of the domain of the parameter.
 void ParametricCurve.setTMin(Value tmin)
          Set the Value object that gives the left endpoint of the domain of the parameter.
 void DrawString.setValues(Value[] v)
          Set the Values that are substituted for (single) #'s in the string.
 void DrawGeometric.setX1(Value x)
          Set the value that gives the x-coordinate of the first point that determines the shape.
 void DrawGeometric.setX2(Value x)
          Set the value that gives the x-coordinate of the second point that determines the shape.
 void DrawGeometric.setY1(Value y)
          Set the value that gives the y-coordinate of the first point that determines the shape.
 void DrawGeometric.setY2(Value y)
          Set the value that gives the y-coordinate of the second point that determines the shape.
 

Constructors in edu.hws.jcm.draw with parameters of type Value
Crosshair(Value x, Function f)
          Create a cross that appears on the graph of the function y=f(x) at the point with coordinates (x,f(x)).
Crosshair(Value x, Value y)
          Create a cross that appears at the point with coordinates (x,y).
DrawGeometric(int shape, Value x1, Value y1, int h, int v)
          Create a DrawGeometric with a specified shape and values.
DrawGeometric(int shape, Value x1, Value y1, Value x2, Value y2)
          Create a DrawGeometric with the specified shape and values for x1,x2,y1,y2 Any of the shapes makes sense in this context.
DrawString(java.lang.String str, int pos, Value[] values)
          Create a DrawString for drawing a black string in the specified position.
DrawString(java.lang.String str, int pos, Value xPos, Value yPos, Value[] values)
          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.
DrawString(java.lang.String str, int pos, Value xPos, Value yPos, Value[] values)
          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.
ParametricCurve(Function xFunc, Function yFunc, Value tmin, Value tmax, Value intevals)
          Create a parametric curve with the specified values.
RiemannSumRects(Function f, Value i)
          Construct a new RiemannSumRects object.
TangentLine(Value x, Function f)
          Create a tangent line to the graph of a function.