|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Panel | +--java.applet.Applet | +--saaps.sapm.Anom002Applet
This applet provides a web interface to the Anom002Model
that implements the anomaly prediction model for satellite S1. The
applet contains buttons to plot the predictions for a selected time
interval, to select todays date, and to access help pages. There are
also text fields into which the start and end dates are entered.
Inner Class Summary | |
(package private) class |
Anom002Applet.ButtonHelpActionListener
|
(package private) class |
Anom002Applet.ButtonPlotActionListener
|
(package private) class |
Anom002Applet.ButtonTodayActionListener
|
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 |
buttonHelp
|
private java.awt.Button |
buttonPlot
|
private java.awt.Button |
buttonToday
|
private java.util.Calendar |
cal
|
private java.awt.Label |
labelDay
|
private java.awt.Label |
labelEnd
|
private java.awt.Label |
labelMonth
|
private java.awt.Label |
labelStart
|
private java.awt.Label |
labelTitle
|
private java.awt.Label |
labelYear
|
private java.awt.Panel |
panelButtons
|
private java.awt.Panel |
panelDates
|
private java.awt.TextField |
textFieldDayEnd
|
private java.awt.TextField |
textFieldDayStart
|
private java.awt.TextField |
textFieldMonthEnd
|
private java.awt.TextField |
textFieldMonthStart
|
private java.awt.TextField |
textFieldYearEnd
|
private java.awt.TextField |
textFieldYearStart
|
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 | |
Anom002Applet()
|
Method Summary | |
private void |
buttonHelpActionPerformed(java.awt.event.ActionEvent ae)
|
private void |
buttonPlotActionPerformed(java.awt.event.ActionEvent ae)
|
private void |
buttonTodayActionPerformed(java.awt.event.ActionEvent ae)
|
private java.awt.Frame |
getAppletFrame()
|
private java.lang.String |
getCalendarDay()
Get the current day |
private java.lang.String |
getCalendarMonth()
Get the current month |
private java.lang.String |
getCalendarYear()
Get the current year |
private java.util.Date |
getEndDate()
Get the end date from the text fields. |
private TimeSeries |
getModelTS(java.util.Date d1,
java.util.Date d2)
|
private java.util.Date |
getStartDate()
Get the start date from the text fields. |
void |
init()
Initialize the applet. |
private void |
initComponents()
Initialize the awt components. |
private int |
parseTextField(java.awt.TextField textField)
Parse the text field and return an integer. |
private void |
setTextFieldsEnd()
Set the year, month, and day end text fields to the current calendar time. |
private void |
setTextFieldsStart()
Set the year, month, and day start text fields to the current calendar time. |
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 |
|
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 |
private java.awt.Label labelTitle
private java.awt.Label labelStart
private java.awt.Label labelEnd
private java.awt.Label labelYear
private java.awt.Label labelMonth
private java.awt.Label labelDay
private java.awt.Button buttonHelp
private java.awt.Button buttonToday
private java.awt.Button buttonPlot
private java.awt.TextField textFieldYearStart
private java.awt.TextField textFieldYearEnd
private java.awt.TextField textFieldMonthStart
private java.awt.TextField textFieldMonthEnd
private java.awt.TextField textFieldDayStart
private java.awt.TextField textFieldDayEnd
private java.awt.Panel panelDates
private java.awt.Panel panelButtons
private java.util.Calendar cal
Constructor Detail |
public Anom002Applet()
Method Detail |
public void init()
init
in class java.applet.Applet
private void initComponents()
private void buttonHelpActionPerformed(java.awt.event.ActionEvent ae)
private void buttonTodayActionPerformed(java.awt.event.ActionEvent ae)
private void buttonPlotActionPerformed(java.awt.event.ActionEvent ae)
private TimeSeries getModelTS(java.util.Date d1, java.util.Date d2)
private java.awt.Frame getAppletFrame()
private void setTextFieldsStart()
private void setTextFieldsEnd()
private java.lang.String getCalendarYear()
private java.lang.String getCalendarMonth()
private java.lang.String getCalendarDay()
private int parseTextField(java.awt.TextField textField) throws java.lang.NumberFormatException
textField
- The text field to be parsed.private java.util.Date getStartDate() throws java.lang.NumberFormatException
private java.util.Date getEndDate() throws java.lang.NumberFormatException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |