| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
javax.swing.JApplet
net.sourceforge.webcompmath.applets.GenericGraphApplet
net.sourceforge.webcompmath.applets.SimpleGraph
net.sourceforge.webcompmath.applets.Continuity
public class Continuity
This applet extends the SimpleGraph configurable applet. It adds up to 6
 DrawGeometrics, useful for showing discontinuities. You specify the location
 of the points in the examples by following the limits with another semicolon,
 followed by one of "open" or "closed", a comma, and then a pair of
 comma-separated numbers. You can add more than one by including another
 semicolon and repeating. The pair of numbers represents the x,y coordinates
 of the point. For example, here is the param value string for an example of a
 function with a jump discontinuity: 
 
 A Jump Discontinuity;(x<1?1:2);;open,1,1;closed,1,2 
 
 The first part is the title, the second is the function definition, the third
 (two semicolons in a row) is for the limits (which are missing in this
 example), the fourth part (i.e., open,1,1) is the coordinates of the open
 point, and the last part (i.e., closed,1,2) are the coordinates of the closed
 point. 
 You can also specify dashed-lines for use as asymptotes by setting the first
 element to "asymptote", followed by a comma and then four comma separated
 numbers, representing the x,y coordinates of two points on the line. For
 example, to show a vertical asymptote:
 
 A vertical asymptote;1/(x-1);;asymptote,1,0,1,1 
 which will draw a line through (1,0) and (1,1). 
 You can also add labeled tick marks to the x and y axes using the "XTick" and
 "YTick parameters, the values of which are the labels of the tick. Like
 points, these are only shown when an example calls for them using an element
 like "xtick,1.5" to indicate that an x tick should be shown at x = 1.5.
 If you use XTick, you also have the option, via "UseTable", to add a table of
 values at the left side of the applet. This shows several values near the
 current value of xtick. If no xtick is used in an example, the table is
 hidden.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class javax.swing.JApplet | 
|---|
javax.swing.JApplet.AccessibleJApplet | 
| Nested classes/interfaces inherited from class java.applet.Applet | 
|---|
java.applet.Applet.AccessibleApplet | 
| Nested classes/interfaces inherited from class java.awt.Panel | 
|---|
java.awt.Panel.AccessibleAWTPanel | 
| Nested classes/interfaces inherited from class java.awt.Container | 
|---|
java.awt.Container.AccessibleAWTContainer | 
| Nested classes/interfaces inherited from class java.awt.Component | 
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy | 
| Field Summary | 
|---|
| Fields inherited from class net.sourceforge.webcompmath.applets.SimpleGraph | 
|---|
cc, func, panel, xInput, xSlider, yValue | 
| Fields inherited from class net.sourceforge.webcompmath.applets.GenericGraphApplet | 
|---|
canvas, computeButton, defaultFrameSize, exampleMenuPanel, fontSize, frameTitle, functionInput, ggBGColor, ggFGColor, inputPanel, lbf, limitsPanel, mainController, mainPanel, parameterDefaults, parser, pBGColor, presentation, xVar | 
| Fields inherited from class javax.swing.JApplet | 
|---|
accessibleContext, rootPane, rootPaneCheckingEnabled | 
| Fields inherited from class java.awt.Component | 
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT | 
| Fields inherited from interface java.awt.image.ImageObserver | 
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH | 
| Constructor Summary | |
|---|---|
Continuity()
 | 
|
| Method Summary | |
|---|---|
protected  void | 
doLoadExample(java.lang.String example)
Parse the example.  | 
protected  void | 
setUpBottomPanel()
Add check on user editing the function input  | 
protected  void | 
setUpCanvas()
Adds the points and ticks to the canvas.  | 
protected  void | 
setUpMainPanel()
Set up the tick inputs and add stuff to controllers  | 
| Methods inherited from class net.sourceforge.webcompmath.applets.GenericGraphApplet | 
|---|
actionPerformed, addCanvasBorder, destroy, doLoadFirstExample, getColorParam, getColorParam, getNumericParam, getNumericParam, getParameter, getParameter, init, itemStateChanged, makeAxes, parseTableFuncDef, setUpExampleMenu, setUpLimitsPanel, setUpParameterDefaults, setUpParser, setUpTopPanel | 
| Methods inherited from class javax.swing.JApplet | 
|---|
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update | 
| Methods inherited from class java.applet.Applet | 
|---|
getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop | 
| Methods inherited from class java.awt.Panel | 
|---|
addNotify | 
| Methods inherited from class java.awt.Container | 
|---|
add, add, add, add, add, addContainerListener, 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, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree | 
| Methods inherited from class java.awt.Component | 
|---|
action, 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, 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, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, 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, transferFocusUpCycle | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public Continuity()
| Method Detail | 
|---|
protected void doLoadExample(java.lang.String example)
doLoadExample in class SimpleGraphexample - the function to be graphedSimpleGraph.doLoadExample(java.lang.String)protected void setUpCanvas()
setUpCanvas in class SimpleGraphSimpleGraph.setUpCanvas()protected void setUpBottomPanel()
setUpBottomPanel in class GenericGraphAppletGenericGraphApplet.setUpBottomPanel()protected void setUpMainPanel()
setUpMainPanel in class SimpleGraphSimpleGraph.setUpMainPanel()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||