saaps.saam
Class SEAApplet

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

public class SEAApplet
extends java.applet.Applet

Version:
 
Author:
 
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  java.awt.Button buttonCalculate
           
private  java.awt.Button buttonGenerateRandomList
           
private  java.awt.Button buttonHelp
           
private  java.awt.Button buttonInspect
           
private  java.awt.Button buttonRandomPlot
           
private  java.util.Calendar cal
           
private  java.awt.Choice choiceEnd
           
private  java.awt.Choice choiceStart
           
private  DatabaseRMI dbRMI
           
private  java.awt.Label labelDatabase
           
private  java.awt.Label labelEnd
           
private  java.awt.Label labelEventList
           
private  java.awt.Label labelEventWindow
           
private  java.awt.Label labelField
           
private  java.awt.Label labelNumOfRandom
           
private  java.awt.Label labelRandomList
           
private  java.awt.Label labelStart
           
private  java.awt.Label labelTitle
           
private  java.awt.List listDatabase
           
private  java.awt.List listField
           
private  MetaData metaData
           
private  java.awt.TextArea textAreaEventList
           
private  java.awt.TextArea textAreaRandomList
           
private  java.awt.TextField textFieldEnd
           
private  java.awt.TextField textFieldEventList
           
private  java.awt.TextField textFieldNumOfRandom
           
private  java.awt.TextField textFieldRandomList
           
private  java.awt.TextField textFieldStart
           
private  java.util.TimeZone tz
           
 
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
SEAApplet()
           
 
Method Summary
private  void buttonCalculateActionPerformed(java.awt.event.ActionEvent evt)
           
private  void buttonGenerateRandomListActionPerformed(java.awt.event.ActionEvent evt)
           
private  void buttonHelpActionPerformed(java.awt.event.ActionEvent evt)
           
private  void buttonInspectActionPerformed(java.awt.event.ActionEvent evt)
           
private  void buttonRandomPlotActionPerformed(java.awt.event.ActionEvent evt)
           
private  java.awt.Frame getAppletFrame()
           
 void init()
          Initializes the Form
private  void initComponents()
          This method is called from within the init() method to initialize the form.
private  void initDatabaseRMI()
           
private  void initListDatabase()
           
private  void listDatabaseItemStateChanged(java.awt.event.ItemEvent evt)
           
private  java.lang.String parseDatabaseList()
           
private  java.util.Date[] parseEventList()
           
private  long parseEventWindow(java.lang.String s, int i)
           
private  long parseEventWindowEnd()
           
private  long parseEventWindowStart()
           
private  int parseFieldList()
           
private  java.util.Date[] parseList(java.awt.TextArea ta)
           
 
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

dbRMI

private DatabaseRMI dbRMI

metaData

private MetaData metaData

tz

private java.util.TimeZone tz

cal

private java.util.Calendar cal

labelTitle

private java.awt.Label labelTitle

labelEventList

private java.awt.Label labelEventList

textAreaEventList

private java.awt.TextArea textAreaEventList

textFieldEventList

private java.awt.TextField textFieldEventList

labelEventWindow

private java.awt.Label labelEventWindow

labelStart

private java.awt.Label labelStart

textFieldStart

private java.awt.TextField textFieldStart

choiceStart

private java.awt.Choice choiceStart

labelEnd

private java.awt.Label labelEnd

textFieldEnd

private java.awt.TextField textFieldEnd

choiceEnd

private java.awt.Choice choiceEnd

labelDatabase

private java.awt.Label labelDatabase

labelField

private java.awt.Label labelField

buttonCalculate

private java.awt.Button buttonCalculate

listDatabase

private java.awt.List listDatabase

listField

private java.awt.List listField

buttonHelp

private java.awt.Button buttonHelp

labelRandomList

private java.awt.Label labelRandomList

textFieldRandomList

private java.awt.TextField textFieldRandomList

textAreaRandomList

private java.awt.TextArea textAreaRandomList

labelNumOfRandom

private java.awt.Label labelNumOfRandom

textFieldNumOfRandom

private java.awt.TextField textFieldNumOfRandom

buttonGenerateRandomList

private java.awt.Button buttonGenerateRandomList

buttonRandomPlot

private java.awt.Button buttonRandomPlot

buttonInspect

private java.awt.Button buttonInspect
Constructor Detail

SEAApplet

public SEAApplet()
Method Detail

init

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

initDatabaseRMI

private void initDatabaseRMI()

initListDatabase

private void initListDatabase()

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.

buttonInspectActionPerformed

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

buttonRandomPlotActionPerformed

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

buttonGenerateRandomListActionPerformed

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

buttonHelpActionPerformed

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

listDatabaseItemStateChanged

private void listDatabaseItemStateChanged(java.awt.event.ItemEvent evt)

buttonCalculateActionPerformed

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

getAppletFrame

private java.awt.Frame getAppletFrame()

parseList

private java.util.Date[] parseList(java.awt.TextArea ta)

parseEventList

private java.util.Date[] parseEventList()

parseEventWindowStart

private long parseEventWindowStart()

parseEventWindowEnd

private long parseEventWindowEnd()

parseEventWindow

private long parseEventWindow(java.lang.String s,
                              int i)

parseDatabaseList

private java.lang.String parseDatabaseList()

parseFieldList

private int parseFieldList()