saaps.saam
Class DataPlotterApplet

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--java.applet.Applet
                          |
                          +--saaps.saam.DataPlotterApplet
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class DataPlotterApplet
extends java.applet.Applet

This applet plots the data in the SAAPS database. It lists the database objects from which the user can select an object. The start and end date choices are initiated based on the chosen database object. After the user select the dates the data can be loaded to the applet. The data field that should be plotted on the x-axis is selected, and one or more fields for the y-axis are slected. The plot symbol can be chosen and when the plot button is pushed the plot is produced.

Version:
2000-02-18
Author:
Peter Wintoft
See Also:
Serialized Form

Inner classes inherited from class java.applet.Applet
java.applet.Applet.AccessibleApplet
 
Inner classes inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Inner classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.AWTTreeLock
 
Field Summary
private  javax.swing.JButton jButtonGetData
           
private  javax.swing.JButton jButtonPlot
           
private  javax.swing.JComboBox jComboBoxED
           
private  javax.swing.JComboBox jComboBoxEM
           
private  javax.swing.JComboBox jComboBoxEY
           
private  javax.swing.JComboBox jComboBoxSD
           
private  javax.swing.JComboBox jComboBoxSM
           
private  javax.swing.JComboBox jComboBoxSY
           
private  javax.swing.JLabel jLabel1
           
private  javax.swing.JLabel jLabelDatabase
           
private  javax.swing.JLabel jLabelDataFields
           
private  javax.swing.JLabel jLabelStart
           
private  javax.swing.JLabel jLabelTitle
           
private  javax.swing.JLabel jLabelXAxis
           
private  javax.swing.JLabel jLabelYAxis
           
private  javax.swing.JList jListDatabase
           
private  javax.swing.JList jListXAxis
           
private  javax.swing.JList jListYAxis
           
private  javax.swing.JPanel jPanelPlot
           
private  javax.swing.JRadioButton jRadioButtonLines
           
private  javax.swing.JRadioButton jRadioButtonPoints
           
private  javax.swing.JSeparator jSeparator1
           
private  TimeSeries ts
           
 
Fields inherited from class java.applet.Applet
accessibleContext, serialVersionUID, stub
 
Fields inherited from class java.awt.Panel
base, nameCounter
 
Fields inherited from class java.awt.Container
component, containerListener, containerSerializedDataVersion, dbg, dispatcher, layoutMgr, listeningBoundsChildren, listeningChildren, maxSize, ncomponents, printing, printingThreads
 
Fields inherited from class java.awt.Component
actionListenerK, adjustmentListenerK, appContext, background, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, changeSupport, componentListener, componentListenerK, componentOrientation, componentSerializedDataVersion, containerListenerK, cursor, dropTarget, enabled, eventMask, focusListener, focusListenerK, font, foreground, graphicsConfig, hasFocus, height, hierarchyBoundsListener, hierarchyBoundsListenerK, hierarchyListener, hierarchyListenerK, incRate, inputMethodListener, inputMethodListenerK, isInc, isPacked, itemListenerK, keyListener, keyListenerK, LEFT_ALIGNMENT, locale, LOCK, metrics, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, name, nameExplicitlySet, newEventsOnly, ownedWindowK, parent, peer, peerFont, popups, prefSize, privateKey, RIGHT_ALIGNMENT, textListenerK, TOP_ALIGNMENT, valid, visible, width, windowClosingException, windowListenerK, x, y
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
DataPlotterApplet()
           
 
Method Summary
 void init()
          Initializes the Form
private  void initComponents()
          This method is called from within the init() method to initialize the form.
private  void jButtonGetDataActionPerformed(java.awt.event.ActionEvent evt)
           
private  void jButtonPlotActionPerformed(java.awt.event.ActionEvent evt)
           
 
Methods inherited from class java.applet.Applet
destroy, getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop
 
Methods inherited from class java.awt.Panel
, addNotify, constructComponentName
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, adjustListeningChildren, applyOrientation, checkGD, countComponents, createChildHierarchyEvents, createHierarchyEvents, deliverEvent, dispatchEventImpl, dispatchEventToSelf, doLayout, eventEnabled, findComponentAt, findComponentAt, findComponentAt, getAccessibleAt, getAccessibleChild, getAccessibleChildrenCount, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents_NoClientCode, getComponents, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMouseEventTarget, getPreferredSize, getWindow, initIDs, insets, invalidate, invalidateTree, isAncestorOf, layout, lightweightPaint, lightweightPrint, list, list, locate, minimumSize, nextFocus, numListening, paint, paintComponents, paintHeavyweightComponents, paramString, postProcessKeyEvent, postsOldMouseEvents, preferredSize, preProcessKeyEvent, print, printComponents, printHeavyweightComponents, processContainerEvent, processEvent, proxyEnableEvents, proxyRequestFocus, readObject, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusOwner, setFont, setLayout, transferFocus, update, validate, validateTree, writeObject
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, areInputMethodsEnabled, bounds, checkImage, checkImage, checkWindowClosingException, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAccessibleIndexInParent, getAccessibleStateSet, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont_NoClientCode, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen_NoTreeLock, getLocationOnScreen, getName, getNativeContainer, getParent_NoClientCode, getParent, getPeer, getSize, getSize, getToolkit, getToolkitImpl, getTreeLock, getWidth, getWindowForObject, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isEnabledImpl, isFocusTraversable, isLightweight, isOpaque, isRecursivelyVisible, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, resetGC, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

ts

private TimeSeries ts

jLabelTitle

private javax.swing.JLabel jLabelTitle

jListDatabase

private javax.swing.JList jListDatabase

jLabelStart

private javax.swing.JLabel jLabelStart

jComboBoxSY

private javax.swing.JComboBox jComboBoxSY

jComboBoxSM

private javax.swing.JComboBox jComboBoxSM

jComboBoxSD

private javax.swing.JComboBox jComboBoxSD

jLabel1

private javax.swing.JLabel jLabel1

jComboBoxEY

private javax.swing.JComboBox jComboBoxEY

jComboBoxEM

private javax.swing.JComboBox jComboBoxEM

jComboBoxED

private javax.swing.JComboBox jComboBoxED

jButtonGetData

private javax.swing.JButton jButtonGetData

jSeparator1

private javax.swing.JSeparator jSeparator1

jLabelDatabase

private javax.swing.JLabel jLabelDatabase

jLabelDataFields

private javax.swing.JLabel jLabelDataFields

jListXAxis

private javax.swing.JList jListXAxis

jRadioButtonPoints

private javax.swing.JRadioButton jRadioButtonPoints

jRadioButtonLines

private javax.swing.JRadioButton jRadioButtonLines

jButtonPlot

private javax.swing.JButton jButtonPlot

jPanelPlot

private javax.swing.JPanel jPanelPlot

jLabelXAxis

private javax.swing.JLabel jLabelXAxis

jLabelYAxis

private javax.swing.JLabel jLabelYAxis

jListYAxis

private javax.swing.JList jListYAxis
Constructor Detail

DataPlotterApplet

public DataPlotterApplet()
Method Detail

init

public void init()
Initializes the Form
Overrides:
init in class java.applet.Applet

initComponents

private void initComponents()
This method is called from within the init() method to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the FormEditor.

jButtonGetDataActionPerformed

private void jButtonGetDataActionPerformed(java.awt.event.ActionEvent evt)

jButtonPlotActionPerformed

private void jButtonPlotActionPerformed(java.awt.event.ActionEvent evt)