utility
Class ObservationsMade

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Frame
                  extended by utility.ObservationsMade
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible

public class ObservationsMade
extends java.awt.Frame

See Also:
Serialized Form

Nested Class Summary
 class ObservationsMade.EditObservation
           
 class ObservationsMade.InsertObservation
          used to insert a post dated observation into WhatsUp
 
Field Summary
 java.awt.Button cancel
           
 java.lang.String cand
           
 java.awt.Checkbox cbcand
           
 java.awt.Checkbox cbdate
           
 java.awt.CheckboxGroup cbg
           
 java.awt.Checkbox cbgroup
           
 java.awt.Checkbox cbphot
           
 java.awt.Checkbox cbscope
           
 java.awt.Checkbox cbspec
           
 java.lang.String comments
           
 java.sql.Date date
           
 java.awt.Button edit
           
 java.lang.String filter
           
 java.awt.FontMetrics fm
           
 java.awt.TextField fromDate
           
 java.lang.String group
           
 int icand
           
 int icom
           
 int ifilt
           
 int igroup
           
 int imag
           
 java.awt.Button insert
           
 int ion
           
 int iscope
           
 int itype
           
 java.awt.Checkbox justCand
           
 java.awt.Checkbox justGroup
           
 java.awt.Checkbox justScope
           
 java.awt.Button last2days
           
 int length
           
 char[] line
           
 java.util.Vector list
           
 double mag
           
 java.awt.Button makeList
           
 JulianDate now
           
 java.awt.Panel pbot
           
 java.lang.String scope
           
static java.text.SimpleDateFormat sdf
           
 java.awt.TextArea ta
           
 java.awt.Font tbfont
           
 java.awt.TextField tcand
           
 java.awt.Font tfont
           
 java.awt.TextField tgroup
           
 java.awt.TextField titleBar
           
 java.awt.TextField toDate
           
 java.awt.TextField tscope
           
 java.lang.String type
           
static java.lang.String url
           
 WhatData wd
           
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
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
ObservationsMade(WhatData wd2)
           
 
Method Summary
 void addCancelButton()
           
 void getList(java.util.Date from, java.util.Date to, java.lang.String orderBy)
          gets the logs to be displayed
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.awt.Frame
addNotify, getAccessibleContext, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setAlwaysOnTop, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationByPlatform, setLocationRelativeTo, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

url

public static final java.lang.String url
See Also:
Constant Field Values

sdf

public static java.text.SimpleDateFormat sdf

ta

public java.awt.TextArea ta

titleBar

public java.awt.TextField titleBar

fromDate

public java.awt.TextField fromDate

toDate

public java.awt.TextField toDate

last2days

public java.awt.Button last2days

cbg

public java.awt.CheckboxGroup cbg

cbgroup

public java.awt.Checkbox cbgroup

cbdate

public java.awt.Checkbox cbdate

cbcand

public java.awt.Checkbox cbcand

cbscope

public java.awt.Checkbox cbscope

cbphot

public java.awt.Checkbox cbphot

cbspec

public java.awt.Checkbox cbspec

justGroup

public java.awt.Checkbox justGroup

justCand

public java.awt.Checkbox justCand

justScope

public java.awt.Checkbox justScope

tgroup

public java.awt.TextField tgroup

tcand

public java.awt.TextField tcand

tscope

public java.awt.TextField tscope

makeList

public java.awt.Button makeList

edit

public java.awt.Button edit

insert

public java.awt.Button insert

cancel

public java.awt.Button cancel

tfont

public java.awt.Font tfont

tbfont

public java.awt.Font tbfont

ion

public int ion

igroup

public int igroup

icand

public int icand

iscope

public int iscope

itype

public int itype

ifilt

public int ifilt

imag

public int imag

icom

public int icom

length

public int length

line

public char[] line

now

public JulianDate now

wd

public WhatData wd

pbot

public java.awt.Panel pbot

fm

public java.awt.FontMetrics fm

list

public java.util.Vector list

group

public java.lang.String group

cand

public java.lang.String cand

filter

public java.lang.String filter

date

public java.sql.Date date

mag

public double mag

comments

public java.lang.String comments

scope

public java.lang.String scope

type

public java.lang.String type
Constructor Detail

ObservationsMade

public ObservationsMade(WhatData wd2)
Method Detail

getList

public void getList(java.util.Date from,
                    java.util.Date to,
                    java.lang.String orderBy)
gets the logs to be displayed


addCancelButton

public void addCancelButton()

main

public static void main(java.lang.String[] args)