public class ExtensionsConsole extends FieldConsole
| Modifier and Type | Class and Description |
|---|---|
class |
ExtensionsConsole.PrintfFunction
Class to add a print function.
|
class |
ExtensionsConsole.PrintFunction
Class to add a print function.
|
FieldConsole.AllToComplesDecerator, FieldConsole.BigDecPFMC, FieldConsole.DoublePFMC, FieldConsole.RationalBigDecToDoubleDecerator, FieldConsole.RationalDoubleNumberFactory, FieldConsole.RationalPFMC, FieldConsole.RationalToBigDecDecerator, FieldConsole.TypeConsole.JepPrintStream, Console.SPEC_ACTIONjava.applet.Applet.AccessibleAppletbaseField, decimalFormat, fields, funTab, mc, numf, opTab, type, varFac, varTabdoubleFormat, history, jep, showHistory, ta| Constructor and Description |
|---|
ExtensionsConsole() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPrompt()
Prints the prompt string.
|
void |
initialise()
sets up all the needed objects.
|
static void |
main(java.lang.String[] args)
Creates a new Console object and calls run()
|
void |
printHelp()
Print help message.
|
void |
printIntroText()
Prints introductory text.
|
java.lang.Object |
processEquation(Node node)
Performs the required operation on a node.
|
Console.SPEC_ACTION |
testSpecialCommands(java.lang.String command)
Checks for special commands.
|
java.lang.String |
toString(java.lang.Object o)
Return string representation of object.
|
initBigDec, initBigInt, initComplex, initDouble, initExactInteger, initInteger, initMixed, initRational, initStandard, setFormatgetAppletInfo, getCommand, handleError, init, inputLoop, keyPressed, keyReleased, keyTyped, print, printFuns, println, printOps, printStdHelp, printVars, processCommand, run, setAlteredCommand, setFormat, splitdestroy, getAccessibleContext, getAppletContext, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, isValidateRoot, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stopadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusDownCycle, update, validate, validateTreeaction, 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, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic void initialise()
Consoleinitialise in class FieldConsolepublic void printIntroText()
ConsoleprintIntroText in class Consolepublic void printHelp()
ConsoleprintHelp in class FieldConsolepublic java.lang.String getPrompt()
Consolepublic Console.SPEC_ACTION testSpecialCommands(java.lang.String command)
Consoleverbose onThis method can be used detected this input, perform required actions and skip normal processing by returning true. In general sub classes should call the superclass methods to test for special commands that class implements
testSpecialCommands in class FieldConsoleConsole.split(String)public java.lang.Object processEquation(Node node) throws JepException
ConsoleprocessEquation in class Consolenode - Node representing expressionJepException - if a Parse or evaluation errorpublic java.lang.String toString(java.lang.Object o)
ConsoletoString in class FieldConsolepublic static void main(java.lang.String[] args)
Copyright © 2018 Singular Systems http://www.singularsys.com/jep