com.numobjects.mathbeans
Class CalcWindow

com.numobjects.mathbeans.CalcWindow

public class CalcWindow
implements java.io.Serializable

Calc window is a universal calc set that is created based only on a string representing a mathematical formula. It has the ability to transform itself into either a mini-calculator for this formula, a solver or a graph plotter.

The whole set is displayed in a separate window with the ability to switch between the calculator, solver or plotter through a pop-up menu. The graph attached to the plotter can be detached and resized as desired.

See Also:
CalcSet, CalcSolveSet, CalcGraphSet, Serialized Form

Constructor Summary
CalcWindow()
          Constructor
CalcWindow(java.awt.Frame parent)
          Constructor
CalcWindow(java.awt.Frame parent, java.lang.String formulae)
          Constructor
 
Method Summary
 java.lang.String getFormulae()
          Sets formulae
 void setFormulae(java.lang.String formulae)
          Sets formulae
 

Constructor Detail

CalcWindow

public CalcWindow()
Constructor

CalcWindow

public CalcWindow(java.awt.Frame parent)
Constructor
Parameters:
parent - parent frame

CalcWindow

public CalcWindow(java.awt.Frame parent,
                  java.lang.String formulae)
Constructor
Parameters:
parent - parent frame
formulae - a string representing a set of formulas
Method Detail

setFormulae

public void setFormulae(java.lang.String formulae)
Sets formulae
Parameters:
formulae - a string representing a set of formulae

getFormulae

public java.lang.String getFormulae()
Sets formulae
Returns:
formulae a string representing a set of formulae