Serialized Form


Package net.sourceforge.webcompmath.applets

Class net.sourceforge.webcompmath.applets.AnalyzeImplicitFunction extends javax.swing.JApplet implements Serializable

serialVersionUID: 1L

Serialized Fields

jContentPane

javax.swing.JPanel jContentPane

wcmPanel

WcmPanel wcmPanel

limitControlPanel

LimitControlPanel limitControlPanel

displayCanvas_AxesGraphGridPanner

DisplayCanvas displayCanvas_AxesGraphGridPanner

axes

WcmAxes axes

implicitFunction

ImplicitFunction implicitFunction

expressionInput

ExpressionInput expressionInput

controller

Controller controller

subController

Controller subController

wcmPanel1

WcmPanel wcmPanel1

displayLabel

DisplayLabel displayLabel

displayLabel1

DisplayLabel displayLabel1

displayLabel2

DisplayLabel displayLabel2

displayLabel3

DisplayLabel displayLabel3

draggablePoint

DraggablePoint draggablePoint

gr1

ExpressionFunction gr1

graph

Graph1D graph

yMaybe

Variable yMaybe

jButton

javax.swing.JButton jButton

jButtonPressedCounter

int jButtonPressedCounter

variableInput

VariableInput variableInput

thex

Variable thex

yGr

Graph1D yGr

y_x

TableFunction y_x

yChangedAction

net.sourceforge.webcompmath.applets.AnalyzeImplicitFunction.YChanged yChangedAction

freshStart

javax.swing.JButton freshStart

Class net.sourceforge.webcompmath.applets.AnimatedGraph extends GenericGraphApplet implements Serializable

serialVersionUID: 4123386544494556722L

Serialized Fields

func

Function func

graph

Graph1D graph

animator

Animator animator

kVar

Variable kVar

kMin

VariableInput kMin

kMax

VariableInput kMax

kIntervals

VariableInput kIntervals

Class net.sourceforge.webcompmath.applets.Continuity extends SimpleGraph implements Serializable

serialVersionUID: 8668563481553694999L

Serialized Fields

points

DrawGeometric[] points

xTick

WCMAxisTickBean xTick

yTick

WCMAxisTickBean yTick

xTickInput

VariableInput xTickInput

yTickInput

VariableInput yTickInput

xPanel

WcmPanel xPanel

yPanel

WcmPanel yPanel

tm

javax.swing.table.TableModel tm

table

javax.swing.JTable table

Class net.sourceforge.webcompmath.applets.Derivatives extends GenericGraphApplet implements Serializable

serialVersionUID: 3617573816683936055L

Serialized Fields

functionName

java.lang.String functionName

func

Function func

deriv

Function deriv

derivExpression

Expression derivExpression

deriv2

Function deriv2

subController

Controller subController

xInput

VariableInput xInput

kInput

VariableInput kInput

xSlider

VariableJSlider xSlider

kSlider

VariableJSlider kSlider

points

DrawGeometric[][] points

Class net.sourceforge.webcompmath.applets.EpsilonDelta extends GenericGraphApplet implements Serializable

serialVersionUID: 3905246731934117941L

Serialized Fields

xInput

VariableInput xInput

aName

java.lang.String aName

epsilonInput

VariableInput epsilonInput

deltaInput

VariableInput deltaInput

limitInput

VariableInput limitInput

xSlider

VariableJSlider xSlider

epsilonSlider

VariableJSlider epsilonSlider

deltaSlider

VariableJSlider deltaSlider

limitSlider

VariableJSlider limitSlider

subController

Controller subController

xValue

Variable xValue

limitValue

Variable limitValue

func

Function func

graph

Graph1D graph

points

DrawGeometric[] points

Class net.sourceforge.webcompmath.applets.Evaluator extends javax.swing.JApplet implements Serializable

serialVersionUID: 3257850999850087474L

Serialized Fields

frame

javax.swing.JFrame frame

frameTitle

java.lang.String frameTitle

launchButton

javax.swing.JButton launchButton

launchButtonName

java.lang.String launchButtonName

fontSize

float fontSize

colorNames

java.lang.String[] colorNames

colors

java.awt.Color[] colors

Class net.sourceforge.webcompmath.applets.FamiliesOfGraphs extends GenericGraphApplet implements Serializable

serialVersionUID: 3258135747457200953L

Serialized Fields

func

Function func

graph

Graph1D graph

sliders

java.util.Vector<E> sliders

Class net.sourceforge.webcompmath.applets.FunctionCombination extends GenericGraphApplet implements Serializable

serialVersionUID: 3906926776994050866L

Serialized Fields

zoomInButton

javax.swing.JButton zoomInButton

zoomOutButton

javax.swing.JButton zoomOutButton

restoreButton

javax.swing.JButton restoreButton

equalizeButton

javax.swing.JButton equalizeButton

fComputeButton

javax.swing.JButton fComputeButton

gComputeButton

javax.swing.JButton gComputeButton

hComputeButton

javax.swing.JButton hComputeButton

pointX

Variable pointX

fCheck

javax.swing.JCheckBox fCheck

gCheck

javax.swing.JCheckBox gCheck

fInput

ExpressionInput fInput

gInput

ExpressionInput gInput

hInput

ExpressionInput hInput

fFunc

Function fFunc

gFunc

Function gFunc

hFunc

Function hFunc

fGraph

Graph1D fGraph

gGraph

Graph1D gGraph

hGraph

Graph1D hGraph

fDerivGraph

Graph1D fDerivGraph

gDerivGraph

Graph1D gDerivGraph

hDerivGraph

Graph1D hDerivGraph

fTable

TableFunction fTable

gTable

TableFunction gTable

fTableGraph

TableFunctionGraph fTableGraph

gTableGraph

TableFunctionGraph gTableGraph

fTableShown

boolean fTableShown

gTableShown

boolean gTableShown

showSlider

boolean showSlider

fSaveText

java.lang.String fSaveText

gSaveText

java.lang.String gSaveText

hSaveText

java.lang.String hSaveText

fWrapper

WrapperFunction fWrapper

gWrapper

WrapperFunction gWrapper

Class net.sourceforge.webcompmath.applets.FunctionComposition extends GenericGraphApplet implements Serializable

serialVersionUID: 3906926776994050866L

Serialized Fields

zoomInButton

javax.swing.JButton zoomInButton

zoomOutButton

javax.swing.JButton zoomOutButton

restoreButton

javax.swing.JButton restoreButton

equalizeButton

javax.swing.JButton equalizeButton

fComputeButton

javax.swing.JButton fComputeButton

gComputeButton

javax.swing.JButton gComputeButton

pointX

Variable pointX

fCheck

javax.swing.JCheckBox fCheck

gCheck

javax.swing.JCheckBox gCheck

fInput

ExpressionInput fInput

gInput

ExpressionInput gInput

fFunc

Function fFunc

gFunc

Function gFunc

fGraph

Graph1D fGraph

gGraph

Graph1D gGraph

fTable

TableFunction fTable

gTable

TableFunction gTable

fTableGraph

TableFunctionGraph fTableGraph

gTableGraph

TableFunctionGraph gTableGraph

fTableShown

boolean fTableShown

gTableShown

boolean gTableShown

pointAlt

boolean pointAlt

showSlider

boolean showSlider

fSaveText

java.lang.String fSaveText

gSaveText

java.lang.String gSaveText

fWrapper

WrapperFunction fWrapper

gWrapper

WrapperFunction gWrapper

Class net.sourceforge.webcompmath.applets.GenericGraphApplet extends javax.swing.JApplet implements Serializable

serialVersionUID: 3977304300185793075L

Serialized Fields

parser

Parser parser
The parser which is used for parsing input from the functionInput box.


mainPanel

WcmPanel mainPanel
The main panel of the applet, containing a display canvas and other components.


mainController

Controller mainController
The Controller from the mainPanel.


canvas

DisplayCanvas canvas
The canvas for displaying axes, graphs, etc.


limitsPanel

LimitControlPanel limitsPanel
Controls the limits of the x- and y-coordinates on the canvas.


functionInput

ExpressionInput functionInput
An input box for inputting an expression.


xVar

Variable xVar
The variable that is created and added to the parser. The default name of this variable is "x", but that can be changed using the "Variable" applet param. The variable is created in the setUpParser() method.


inputPanel

WcmPanel inputPanel
A panel containing the functionInput. It appears at the bottom of the main panel.


exampleMenuPanel

WcmPanel exampleMenuPanel
A panel containing examples specified in applet parameters, if any. It appears at the top of the main panel.


computeButton

javax.swing.JButton computeButton
A button that the user presses to recompute the display. (Ths user can also just press return in one of the input boxes.)


frameTitle

java.lang.String frameTitle
The string that is used as the title of the frame, if the applet appears as a launch button. This title is also used on the launch button, unless the applet parameter "LaunchButtonName" has a value. This is set in the init() method.


defaultFrameSize

int[] defaultFrameSize
The default size for the frame when the applet runs a launch button. Can be overidden by the FrameSize applet param.


fontSize

float fontSize
The font size to use for all fonts


presentation

boolean presentation
Whether to use thicker lines for projecting the graph on a screen. Classes that extend GenericGraphApplet should check this field when adding Drawables to a DisplayCanvas and adjust line widths, sizes, etc. as appropriate.


parameterDefaults

java.util.Hashtable<K,V> parameterDefaults
A hash table that, if non-null, can hold values for applet params. While this is not set to a non-null value in this class, its value can be set in the setUpAppletDefaults() method. The values in this hash table will be returned by the getParameter() method when no value is provided in the applet. For example, this class uses a default value of "s" vor the the param "Variable". A subclass could put a different value in the parameterDefaults hash table, and this value will be used in preference to "x".


ggBGColor

java.awt.Color ggBGColor
The background color for the applet


ggFGColor

java.awt.Color ggFGColor
The foreground color for the applet


pBGColor

java.awt.Color pBGColor
The background color for the panel


lbf

java.awt.Font lbf
The font for the launch button


lbFontSize

float lbFontSize
The font size for the launch button


exampleMenu

javax.swing.JComboBox exampleMenu

loadExampleButton

javax.swing.JButton loadExampleButton

launchButton

javax.swing.JButton launchButton

launchButtonName

java.lang.String launchButtonName

frame

javax.swing.JFrame frame

exampleStrings

java.util.Vector<E> exampleStrings

colorNames

java.lang.String[] colorNames

colors

java.awt.Color[] colors

Class net.sourceforge.webcompmath.applets.IntegralCurves extends GenericGraphApplet implements Serializable

serialVersionUID: 3688792453318457401L

Serialized Fields

yVar

Variable yVar

xFunc

Function xFunc

yFunc

Function yFunc

functionInput2

ExpressionInput functionInput2

field

VectorField field

animator

Animator animator

curves

java.util.Vector<E> curves

deltaT

VariableInput deltaT

dt

double dt

xStart

VariableInput xStart

yStart

VariableInput yStart

methodChoice

javax.swing.JComboBox methodChoice

startCurveButton

javax.swing.JButton startCurveButton

clearButton

javax.swing.JButton clearButton

curveColor

java.awt.Color curveColor

curveDrawer

net.sourceforge.webcompmath.applets.IntegralCurves.Draw curveDrawer

nextPoint

double[] nextPoint

params

double[] params

Class net.sourceforge.webcompmath.applets.LaunchButtonApplet extends javax.swing.JApplet implements Serializable

serialVersionUID: -3952185829042496876L

Serialized Fields

frameTitle

java.lang.String frameTitle
The string that is used as the title of the frame amd tje text pf the launch button.


className

java.lang.String className

type

java.lang.Class<T> type

toBeLaunched

java.lang.Object toBeLaunched

buttonText

java.lang.String buttonText

launchButton

javax.swing.JButton launchButton

colorNames

java.lang.String[] colorNames

colors

java.awt.Color[] colors

buttonBGColor

java.awt.Color buttonBGColor

buttonFGColor

java.awt.Color buttonFGColor

defaultFrameSize

int[] defaultFrameSize
The default size for the frame when the applet runs a launch button. Can be overidden by the FrameSize applet param.


frame

javax.swing.JFrame frame

stub

net.sourceforge.webcompmath.applets.LaunchButtonApplet.ProxyAppletStub stub

launchButtonApplet

java.applet.Applet launchButtonApplet

lbf

java.awt.Font lbf

fontSize

float fontSize

Class net.sourceforge.webcompmath.applets.MeanValue extends java.applet.Applet implements Serializable

serialVersionUID: 1L

Serialized Fields

canvas

DisplayCanvas canvas

Class net.sourceforge.webcompmath.applets.MultiGraph extends GenericGraphApplet implements Serializable

serialVersionUID: 3258134652341532982L

Serialized Fields

sliders

java.util.Vector<E> sliders

inputs

net.sourceforge.webcompmath.applets.MultiGraph.ExprIn[] inputs

graphs

Graph1D[] graphs

functionCt

int functionCt

graphColors

java.awt.Color[] graphColors

Class net.sourceforge.webcompmath.applets.Parametric extends GenericGraphApplet implements Serializable

serialVersionUID: 3257572819096647219L

Serialized Fields

xFunc

Function xFunc

yFunc

Function yFunc

graph

ParametricCurve graph

tracer

Animator tracer

crosshair

Crosshair crosshair

tMin

VariableInput tMin

tMax

VariableInput tMax

tIntervals

VariableInput tIntervals

functionInput2

ExpressionInput functionInput2

Class net.sourceforge.webcompmath.applets.RiemannSums extends GenericGraphApplet implements Serializable

serialVersionUID: 3762534499103289394L

Serialized Fields

intervals

Variable intervals

aInput

VariableInput aInput

bInput

VariableInput bInput

intCtInput

VariableInput intCtInput

methodChoice

javax.swing.JComboBox methodChoice

func

Function func

lowerFunc

Function lowerFunc

graph

Graph1D graph

lowerGraph

Graph1D lowerGraph

sums

RiemannSumRects sums

lfInput

ExpressionInput lfInput

Class net.sourceforge.webcompmath.applets.ScatterPlotApplet extends javax.swing.JApplet implements Serializable

serialVersionUID: 3905237944380699449L

Serialized Fields

frame

javax.swing.JFrame frame

frameTitle

java.lang.String frameTitle

launchButton

javax.swing.JButton launchButton

launchButtonName

java.lang.String launchButtonName

table

DataTableInput table

scatterPlot

ScatterPlot scatterPlot

canvas

DisplayCanvas canvas

loadFileButton

javax.swing.JButton loadFileButton

fileMenu

javax.swing.JComboBox fileMenu

fileNames

java.lang.String[] fileNames

mainController

Controller mainController

fontSize

float fontSize

presentation

boolean presentation

Class net.sourceforge.webcompmath.applets.SecantTangent extends GenericGraphApplet implements Serializable

serialVersionUID: 3761689004843937849L

Serialized Fields

func

Function func

x1Input

VariableInput x1Input

x2Input

VariableInput x2Input

points

DrawGeometric[] points

Class net.sourceforge.webcompmath.applets.SimpleGraph extends GenericGraphApplet implements Serializable

serialVersionUID: 3258134652257777969L

Serialized Fields

xSlider

VariableJSlider xSlider
The (optional) slider. Protected so that subclasses can access it to use its value for other object they might want to add to the canvas


yValue

Value yValue
The y value of the function. Protected so that subclasses can access it to use its value for other objects they might want to the canvas


cc

Controller cc
The controller used for the crosshair. Protected to that subclasses can access it if they want to add objects to the graph that move with the slider


panel

WcmPanel panel
The panel containint the slider, x input, and y value. Protected so that subclasses can add to it.


xInput

VariableInput xInput

func

Function func

graph

Graph1D graph

point

DrawGeometric point

vLine

DrawGeometric vLine

hLine

DrawGeometric hLine

Package net.sourceforge.webcompmath.awt

Class net.sourceforge.webcompmath.awt.Animator extends javax.swing.JPanel implements Serializable

serialVersionUID: 3672157955250632726L

Serialized Fields

startStopButton

javax.swing.JButton startStopButton

startButton

javax.swing.JButton startButton

stopButton

javax.swing.JButton stopButton

pauseButton

javax.swing.JButton pauseButton

nextButton

javax.swing.JButton nextButton

prevButton

javax.swing.JButton prevButton

speedChoice

javax.swing.JComboBox speedChoice

loopChoice

javax.swing.JComboBox loopChoice

orientation

int orientation

startButtonName

java.lang.String startButtonName

stopButtonName

java.lang.String stopButtonName

loopStyle

int loopStyle

runningBackwards

boolean runningBackwards

millisPerFrame

int millisPerFrame

frame

int frame

maxFrame

int maxFrame

value

double value

serialNumber

long serialNumber

onChange

Computable onChange

min

Value min

max

Value max

intervals

Value intervals

needsValueCheck

boolean needsValueCheck

min_val

double min_val

max_val

double max_val

intervals_val

int intervals_val

runner

java.lang.Thread runner

status

int status

undefinedWhenNotRunning

boolean undefinedWhenNotRunning

fgColor

java.awt.Color fgColor

Class net.sourceforge.webcompmath.awt.ComputeButton extends javax.swing.JButton implements Serializable

Serialized Fields

onUserAction

Controller onUserAction

Class net.sourceforge.webcompmath.awt.Controller extends java.lang.Object implements Serializable

serialVersionUID: -5630353516247218571L

Serialized Fields

computables

java.util.Vector<E> computables
Computable objects controlled by this controller. Note that Controllers are Computables, so this list can include sub-controllers.


inputs

java.util.Vector<E> inputs
InputObjects controlled by this controller. Note that Controllers are InputObjects, so this list can include sub-controllers.


ties

java.util.Vector<E> ties
Ties that have been added to this controller.


errorReporter

ErrorReporter errorReporter
Used for reporting errors that occur in the compute() method of this controller. If the errorReporter is null and if this controller has a parent, then the parent will report the error. If no ancestor has an errorReporter, the error message is written to standard output.


parent

Controller parent
The parent of this controller, if any. This is set automatically when one controller is added to another.


errorMessage

java.lang.String errorMessage
If non-null, this is an error message that has been reported and not yet cleared.

Class net.sourceforge.webcompmath.awt.CopyButton extends javax.swing.JButton implements Serializable

serialVersionUID: -2065721396587388367L

Serialized Fields

canvas

DisplayCanvas canvas

clipboard

java.awt.datatransfer.Clipboard clipboard

Class net.sourceforge.webcompmath.awt.DataTableInput extends javax.swing.JPanel implements Serializable

Serialized Fields

objectName

java.lang.String objectName

rows

java.util.Vector<E> rows

rowStrings

java.util.Vector<E> rowStrings

columnName

java.lang.String[] columnName

columnCount

int columnCount

currentRow

int currentRow

emptyCellValue

double emptyCellValue

throwErrors

boolean throwErrors

autoAddRows

boolean autoAddRows

showColumnTitles

boolean showColumnTitles

showRowNumbers

boolean showRowNumbers

canvas

net.sourceforge.webcompmath.awt.DataTableInput.DisplayPanel canvas

serialNumber

long serialNumber

labelBackground

java.awt.Color labelBackground

cellBackground

java.awt.Color cellBackground

blankBackground

java.awt.Color blankBackground

gridColor

java.awt.Color gridColor

Class net.sourceforge.webcompmath.awt.DisplayLabel extends javax.swing.JLabel implements Serializable

Serialized Fields

text

java.lang.String text
Unsubstituted text for display.


numSize

int numSize
Desired maximum number of characters in displayed numbers.


values

Value[] values
Value objects whose values will be substituted for #'s in text.

Class net.sourceforge.webcompmath.awt.ExpressionInput extends javax.swing.JTextField implements Serializable

serialVersionUID: 3256728385458944308L

Serialized Fields

expr

ExpressionInput.EI expr
The Expression associate with this input box. Class EI is a private nested class.


parser

Parser parser
A parser for parsing the user's input expression. If this is null, a default parser will be used and only constant expressions will be allowed.


hasChanged

boolean hasChanged
True if the contents of the box have not changed since the last time the input was checked (by a call to checkInput()).


throwErrors

boolean throwErrors
True if an error should be thrown when checkInput() is called, but the content of the box is not a legal expression. Otherwise, the expression will become a constant expression with value Double.NaN.


onUserAction

Controller onUserAction

onTextChange

Controller onTextChange

errorMessage

java.lang.String errorMessage
Error message from the most recent time the input was checked by a call to checkInput(). If this is null, then no error occurred.


serialNumber

long serialNumber

Class net.sourceforge.webcompmath.awt.ExpressionInput.EI extends java.lang.Object implements Serializable

serialVersionUID: 4049077137891865136L

Serialized Fields

exp

ExpressionProgram exp
The actual expression, or null if the expression is undefined. If this is a derivative of another EI, this will be recomputed as necessary when the expression is used in some way.


derivativeOf

ExpressionInput.EI derivativeOf
This is null for the original expression input by the user. If this EI was formed by taking the derivative of anotehr EI, that EI is stored here.


wrt

Variable wrt
Which Variable is this a derivative with respect to? If derivativeOf is null, so is wrt.


serialNumber

int serialNumber
For the original expression input by the user, this goes up by one each time checkInput() is called and finds a change in the user's input. For derivative EI, this is the serial number of "derivativeOf" at the time this derivative expression was last computed.

Class net.sourceforge.webcompmath.awt.VariableInput extends javax.swing.JTextField implements Serializable

serialVersionUID: 3258408447833092656L

Serialized Fields

variable

net.sourceforge.webcompmath.awt.VariableInput.VI variable
The Variable that represents the value of this input box. (VI is a private nested class inside VariableInput.)


throwErrors

boolean throwErrors
True if an error should be thrown when checkInput() is calles and the contents do not define a legal number. True by default.


errorMessage

java.lang.String errorMessage
Error message from the most recent time checkInput() as called. Null if there was no error.


serialNumber

long serialNumber
This serial number is increased each time the value of the variable changes.


hasChanged

boolean hasChanged
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().


onUserAction

Controller onUserAction

onTextChange

Controller onTextChange

minValue

double minValue
Smallest allowable value.


maxValue

double maxValue
Largest allowable value.


inputStyle

int inputStyle
One of the constant values EXPRESSION, REAL, or INTEGER, specifying the style of input.

Class net.sourceforge.webcompmath.awt.VariableJSlider extends javax.swing.JSlider implements Serializable

serialVersionUID: 3689066257433767993L

Serialized Fields

variable

net.sourceforge.webcompmath.awt.VariableJSlider.VS variable
The variable associated with this VariableJSlider. VS is a nested private class, defined below.


min

Value min
The Values that specify the range of values represented by the slider. min does not have to be less than max.


max

Value max
The max value.


onUserAction

Controller onUserAction

integerValued

boolean integerValued
If this is true, then the value of the variable associated with this slider is an integer. Furthermore, the number of intervals on the slider is set to be the same as the range of possible values (unless this range is too big).


intervals

int intervals
The number of possible value of the slider (Unless integerValued is true.)


intervalsValue

Value intervalsValue
The number of possible values of the slider, represented as a Value.


serialNumber

long serialNumber
This increases every time the value of the variable changes.


needsValueCheck

boolean needsValueCheck
This is set to true when checkInput() is called to indicate that the min and max values must be checked the next time getVal() is called.


oldPosition

int oldPosition
This is the position of the slider the last time getVal() or setVal() was called. It is used to check whether the user has repositioned the slider.


minVal

double minVal
The value found for min the last time checkInput() was called.


maxVal

double maxVal
The value found for max the last time checkInput() was called.


labelTable

java.util.Hashtable<K,V> labelTable

zero

java.lang.Integer zero

intervalsInt

java.lang.Integer intervalsInt

halfIntervalsInt

java.lang.Integer halfIntervalsInt

sliderLabelOffset

int sliderLabelOffset

oldMinval

double oldMinval

oldMaxval

double oldMaxval

Class net.sourceforge.webcompmath.awt.VariableSlider extends javax.swing.JScrollBar implements Serializable

serialVersionUID: 3227380993489182239L

Serialized Fields

variable

net.sourceforge.webcompmath.awt.VariableSlider.VS variable
The variable associated with this VariableSlider. VS is a nested private class, defined below.


min

Value min
The Value that specify the min represented by the slider. min does not have to be less than max.


max

Value max
The Value that specify the max represented by the slider. min does not have to be less than max.


onUserAction

Controller onUserAction

integerValued

boolean integerValued
If this is true, then the value of the variable associated with this slider is an integer. Furthermore, the number of intervals on the slider is set to be the same as the range of possible values (unless this range is too big).


intervals

int intervals
The number of possible value of the scrollbar (Unless integerValued is true.)


serialNumber

long serialNumber
This increases every time the value of the variable changes.


needsValueCheck

boolean needsValueCheck
This is set to true when checkInput() is called to indicate that the min and max values must be checked the next time getVal() is called.


oldPosition

int oldPosition
This is the position of the scrollbar the last time getVal() or setVal() was called. It is used to check whether the user has repositioned the slider.


minVal

double minVal
The values found for min the last time checkInput() was called.


maxVal

double maxVal
The values found for max the last time checkInput() was called.

Class net.sourceforge.webcompmath.awt.WcmError extends java.lang.RuntimeException implements Serializable

serialVersionUID: 3258129163289113653L

Serialized Fields

object

java.lang.Object object
Object, possibly null, associated with this error.

Class net.sourceforge.webcompmath.awt.WcmPanel extends javax.swing.JPanel implements Serializable

serialVersionUID: 3256439188248606777L

Serialized Fields

controller

Controller controller

Package net.sourceforge.webcompmath.awt.beans

Class net.sourceforge.webcompmath.awt.beans.WCMAnimatorBean extends Animator implements Serializable

serialVersionUID: -5207309363814631271L

Serialized Fields

var

Variable var

Class net.sourceforge.webcompmath.awt.beans.WCMComputeButtonBean extends ComputeButton implements Serializable

serialVersionUID: -8480658563253384175L

Class net.sourceforge.webcompmath.awt.beans.WCMCopyButtonBean extends CopyButton implements Serializable

Class net.sourceforge.webcompmath.awt.beans.WCMDataTableInputBean extends DataTableInput implements Serializable

serialVersionUID: -7105241859488488255L

Serialized Fields

p

Parser p

Class net.sourceforge.webcompmath.awt.beans.WCMDisplayLabelBean extends DisplayLabel implements Serializable

serialVersionUID: -115402913832796026L

Serialized Fields

values

Value[] values

Class net.sourceforge.webcompmath.awt.beans.WCMExamplesBean extends WCMPanelBean implements Serializable

serialVersionUID: 3006093825933623776L

Serialized Fields

exampleMenu

javax.swing.JComboBox exampleMenu

loadExampleButton

javax.swing.JButton loadExampleButton

templates

java.util.List<E> templates

examples

java.util.List<E> examples

exampleNames

java.util.List<E> exampleNames

useLoadButton

boolean useLoadButton

Class net.sourceforge.webcompmath.awt.beans.WCMExpressionInputBean extends ExpressionInput implements Serializable

serialVersionUID: -996714251540225682L

Serialized Fields

var

Variable var

var2

Variable var2

func

WrapperFunction func

arity

int arity

Class net.sourceforge.webcompmath.awt.beans.WCMFunctionLabelBean extends javax.swing.JLabel implements Serializable

serialVersionUID: 4805559212569108494L

Serialized Fields

func

Function func

prefix

java.lang.String prefix

Class net.sourceforge.webcompmath.awt.beans.WCMPanelBean extends javax.swing.JPanel implements Serializable

serialVersionUID: 7946777044146086214L

Serialized Fields

controller

Controller controller

Class net.sourceforge.webcompmath.awt.beans.WCMVariableInputBean extends VariableInput implements Serializable

serialVersionUID: 3500309000358745805L

Class net.sourceforge.webcompmath.awt.beans.WCMVariableJSliderBean extends VariableJSlider implements Serializable

serialVersionUID: -281910149896808683L


Package net.sourceforge.webcompmath.data

Class net.sourceforge.webcompmath.data.ConditionalExpression extends java.lang.Object implements Serializable

Serialized Fields

trueCase

ExpressionProgram trueCase

falseCase

ExpressionProgram falseCase

Class net.sourceforge.webcompmath.data.Constant extends java.lang.Object implements Serializable

serialVersionUID: 2615741179435979940L

Serialized Fields

name

java.lang.String name

value

double value
The value of this Constant.

Class net.sourceforge.webcompmath.data.ExpressionProgram extends java.lang.Object implements Serializable

serialVersionUID: -646497844144592972L

Serialized Fields

sourceString

java.lang.String sourceString
If this is non-null, it is used as the print string for this expression in the toString() method. (When an expression is created by a Parser by parsing a string, the parse stores that string in this variable.)


useRpow

boolean useRpow
This flag tells the expression program whether to use pow or rpow when evaluating exponents


prog

int[] prog

progCt

int progCt

cases

Cases cases

stack

StackOfDouble stack

constant

double[] constant

constantCt

int constantCt

command

ExpressionCommand[] command

commandCt

int commandCt

Class net.sourceforge.webcompmath.data.Fraction extends java.lang.Object implements Serializable

serialVersionUID: -7449627225327133974L

Serialized Fields

numerator_

long numerator_
The numerator


denominator_

long denominator_
The denominator

Class net.sourceforge.webcompmath.data.ParseError extends java.lang.RuntimeException implements Serializable

Serialized Fields

context

ParserContext context
The parsing context that was in effect at the time the error occurred. This includes the string that was being processed and the position in the string where the error occured. These values are context.data and context.pos.

Class net.sourceforge.webcompmath.data.Parser extends java.lang.Object implements Serializable

serialVersionUID: 3257844389744096310L

Serialized Fields

options

int options
The set of options that have been enabled for this parser.


symbols

SymbolTable symbols
The symbol table that contains the MathObjects that have been registered with this parser.

Class net.sourceforge.webcompmath.data.ParserContext extends java.lang.Object implements Serializable

Serialized Fields

data

java.lang.String data
The string that is being parsed.


pos

int pos
Current position in that string, indicating how many characters have been consumed.


prog

ExpressionProgram prog
The ExpressionProgram that is being generated as the string is parsed. Note that while parsing a ConditionalExpression, the value of prog is temporarily changed. ParserExtensions might want to do something similar.


token

int token
The most recently read token type, or NONE if that token has been consumed by a call to next(). The value NONE is never returned by look() or next().


tokenString

java.lang.String tokenString
The substring of the parse string that corresponds to the most recently read token. This can change when look() or next() is called.


tokenObject

MathObject tokenObject
If the most recently read token was of type IDENTIFIER, then this is the corresponding MathObject from the symbol table, or null if the identifier is not in the symbol table.


tokenValue

double tokenValue
If the most recently read token was of type NUMBER, then this is its numerical value.


options

int options
The options from the Parser. Some of these options affect tokenization, such as whether BOOLEANS is enabled.


symbols

SymbolTable symbols
The Parser's symbol table, which is used for looking up tokens of type IDENTIFIER.


tokBuf

java.lang.StringBuffer tokBuf

Class net.sourceforge.webcompmath.data.SimpleFunction extends java.lang.Object implements Serializable

serialVersionUID: -9183800726292416722L

Serialized Fields

e

Expression e

v

Variable[] v

name

java.lang.String name

save

double[] save

Class net.sourceforge.webcompmath.data.StackOfDouble extends java.lang.Object implements Serializable

Serialized Fields

data

double[] data

top

int top

Class net.sourceforge.webcompmath.data.StandardFunction extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name

code

int code

Class net.sourceforge.webcompmath.data.SymbolTable extends java.lang.Object implements Serializable

Serialized Fields

symbols

java.util.Hashtable<K,V> symbols

parent

SymbolTable parent

Class net.sourceforge.webcompmath.data.ValueMath extends java.lang.Object implements Serializable

Serialized Fields

f

Function f

param

double[] param

x

Value x

y

Value y

op

char op

Class net.sourceforge.webcompmath.data.Variable extends Constant implements Serializable


Package net.sourceforge.webcompmath.data.beans

Class net.sourceforge.webcompmath.data.beans.WCMConstantBean extends Constant implements Serializable

serialVersionUID: 269105452910202868L

Class net.sourceforge.webcompmath.data.beans.WCMParserBean extends Parser implements Serializable

serialVersionUID: 4117545595484900569L

Class net.sourceforge.webcompmath.data.beans.WCMValueMathBean extends ValueMath implements Serializable

serialVersionUID: 7818180851265253848L

Class net.sourceforge.webcompmath.data.beans.WCMVariableBean extends Variable implements Serializable

serialVersionUID: 5689006823154894537L

Serialized Fields

changes

java.beans.PropertyChangeSupport changes

Package net.sourceforge.webcompmath.draw

Class net.sourceforge.webcompmath.draw.CoordinateRect extends java.lang.Object implements Serializable

serialVersionUID: 4419019162918666007L

Serialized Fields

xmin

double xmin

xmax

double xmax

ymin

double ymin

ymax

double ymax

gap

int gap

drawItems

java.util.Vector<E> drawItems
Drawable items contained in this CoordinateRect


changed

boolean changed
Set to true when one of the limits or the gap has changed.


serialNumber

long serialNumber

syncWith

Tie syncWith
This contains other Limit objects with which the CoordinateRect is synchronizing. This is ordinarily managed by a LimitControlPanel, so you don't have to worry about it. (However, you can also sync several CoordinateRects even in the absense of a LimitControlPanel. To do so, create the Tie that ties the CoordinateRect and pass it to the setSyncWith() method of each CoordinateRect. It is NOT necessary to add the Tie to a Controller. Synchronization is handled by the CoordinateRects themselves.


syncX

boolean syncX

syncY

boolean syncY

onChange

Controller onChange
If non-null, this is the Controller that is notified when the limits change.


left

int left

top

int top

width

int width

height

int height

restore_xmin

double restore_xmin

restore_xmax

double restore_xmax

restore_ymin

double restore_ymin

restore_ymax

double restore_ymax

canvas

DisplayCanvas canvas

Class net.sourceforge.webcompmath.draw.Crosshair extends DrawGeometric implements Serializable

C