public class VisualMathApp
extends java.awt.Frame
java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String[] |
asc |
private java.awt.Panel |
bottomPanel |
private java.lang.StringBuffer |
buffer |
private java.awt.Choice |
CalculusFunChoice |
private java.awt.Panel |
centerPanel |
private java.awt.Color |
color |
private int |
colorNo |
private int |
colorNumber |
private java.awt.Color[] |
colors |
private java.awt.Choice |
ConstantChoice |
private java.awt.Dialog |
dialog |
private java.awt.Dialog |
dialogEq |
private java.awt.Dialog |
dialogSolve |
private boolean |
divideByZero |
(package private) java.awt.Menu |
editMenu |
private java.awt.TextField |
editXmax |
private java.awt.TextField |
editXmin |
private java.awt.TextField |
editYmax |
private java.awt.TextField |
editYmin |
private vmath.gui.ErrorDialog |
errDialog |
private java.awt.Menu |
fileMenu |
private java.lang.StringBuffer |
fun |
private java.awt.Choice |
FunctionChoice |
private java.awt.Choice |
GraphFunChoice |
(package private) java.awt.Label |
graphLabel |
private java.awt.Menu |
graphMenu |
(package private) java.awt.TextArea |
input |
(package private) java.awt.Label |
inputLabel |
private boolean |
isApplet |
(package private) java.lang.String |
last |
int |
lineNo |
(package private) boolean |
login |
private java.awt.Panel |
lowerbot |
int |
maxLine |
int[] |
NoData |
private java.awt.Choice |
OperatorChoice |
(package private) java.lang.String[] |
out |
(package private) java.awt.TextArea |
output |
private int |
pointNo |
private int |
pos |
private java.awt.Button |
runButton |
private java.awt.Menu |
solveMenu |
private java.awt.Choice |
StandardFunChoice |
(package private) java.awt.CheckboxMenuItem |
structured_output_menu |
(package private) static symbmath |
symbmath2 |
private boolean |
syntaxError |
(package private) TextTransfer |
textTransfer |
(package private) MyCanvas |
thecanvas |
private static java.lang.String |
title |
private static java.lang.String |
version |
(package private) java.awt.TextField |
xFld |
(package private) double |
xmax |
(package private) double |
xmin |
double[][] |
xx |
private double |
y |
(package private) double |
ymax |
(package private) double |
ymin |
double[][] |
yy |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
Constructor and Description |
---|
VisualMathApp(boolean flag,
symbmath symbmath1) |
Modifier and Type | Method and Description |
---|---|
boolean |
action(java.awt.Event event,
java.lang.Object obj) |
(package private) void |
differentiate() |
(package private) void |
display() |
(package private) void |
display(java.lang.String s) |
(package private) void |
exit() |
(package private) java.lang.String |
getInput() |
(package private) void |
getRange() |
(package private) void |
graph(java.awt.Graphics g) |
boolean |
handleEvent(java.awt.Event event) |
(package private) void |
integrate() |
(package private) double[] |
linearFit(double[] ad,
double[] ad1) |
static void |
main(java.lang.String[] args) |
(package private) void |
myInit() |
(package private) void |
output(java.lang.String s) |
void |
plotData(double[][] ad,
double[][] ad1,
int[] ai,
double d,
double d1,
double d2,
double d3) |
(package private) boolean |
readFile(java.lang.String s) |
static java.lang.String |
readTextFile(java.lang.String s) |
(package private) void |
readTextFile(java.lang.String s,
java.awt.TextArea textarea) |
(package private) void |
run(java.lang.String in) |
(package private) void |
semidiff() |
(package private) void |
setEnabledMenu(boolean flag) |
(package private) void |
setRange() |
(package private) void |
symbolic() |
(package private) double |
tokenNumber(java.io.StreamTokenizer streamtokenizer) |
(package private) void |
writeFile(java.lang.String s) |
(package private) void |
writeTextFile(java.lang.String s,
java.awt.TextArea textarea) |
addNotify, getAccessibleContext, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, paramString, remove, removeNotify, setBackground, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFront
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusDownCycle, update, validate, validateTree
add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
private static java.lang.String version
private static java.lang.String title
double xmin
double xmax
double ymin
double ymax
java.awt.TextField xFld
private java.awt.Button runButton
java.awt.TextArea input
java.awt.TextArea output
private java.awt.Panel bottomPanel
private java.awt.Panel centerPanel
private java.awt.Panel lowerbot
private java.awt.Choice StandardFunChoice
private java.awt.Choice CalculusFunChoice
private java.awt.Choice GraphFunChoice
private java.awt.Choice FunctionChoice
private java.awt.Choice OperatorChoice
private java.awt.Choice ConstantChoice
private java.lang.StringBuffer buffer
MyCanvas thecanvas
public int lineNo
public int maxLine
private java.awt.Color color
private int colorNumber
private java.lang.StringBuffer fun
private int pos
private java.awt.TextField editXmin
private java.awt.TextField editXmax
private java.awt.TextField editYmin
private java.awt.TextField editYmax
private boolean divideByZero
private boolean syntaxError
private boolean isApplet
public double[][] xx
public double[][] yy
private int pointNo
private int colorNo
private java.awt.Dialog dialog
private java.awt.Dialog dialogSolve
private java.awt.Dialog dialogEq
private vmath.gui.ErrorDialog errDialog
private java.awt.Color[] colors
private java.awt.Menu graphMenu
private java.awt.Menu solveMenu
private java.awt.Menu fileMenu
java.awt.Menu editMenu
public int[] NoData
private double y
java.awt.CheckboxMenuItem structured_output_menu
boolean login
java.lang.String last
java.lang.String[] out
java.lang.String[] asc
static symbmath symbmath2
TextTransfer textTransfer
java.awt.Label inputLabel
java.awt.Label graphLabel
public VisualMathApp(boolean flag, symbmath symbmath1)
void run(java.lang.String in)
public boolean action(java.awt.Event event, java.lang.Object obj)
action
in class java.awt.Component
void display(java.lang.String s)
void display()
void exit()
java.lang.String getInput()
void getRange()
void graph(java.awt.Graphics g)
public boolean handleEvent(java.awt.Event event)
handleEvent
in class java.awt.Component
void differentiate()
void integrate()
double[] linearFit(double[] ad, double[] ad1)
void myInit()
void output(java.lang.String s)
public void plotData(double[][] ad, double[][] ad1, int[] ai, double d, double d1, double d2, double d3)
boolean readFile(java.lang.String s)
public static java.lang.String readTextFile(java.lang.String s)
void readTextFile(java.lang.String s, java.awt.TextArea textarea)
void semidiff()
void setEnabledMenu(boolean flag)
void setRange()
void symbolic()
double tokenNumber(java.io.StreamTokenizer streamtokenizer)
void writeFile(java.lang.String s)
void writeTextFile(java.lang.String s, java.awt.TextArea textarea)
public static void main(java.lang.String[] args)