saaps.sapm
Class ElFluencePlot

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--ptolemy.plot.PlotBox
                          |
                          +--ptolemy.plot.Plot
                                |
                                +--saaps.util.TimeSeriesPlot
                                      |
                                      +--saaps.sapm.ElFluencePlot
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class ElFluencePlot
extends TimeSeriesPlot

Version:
 
Author:
saaps
See Also:
Serialized Form

Inner classes inherited from class ptolemy.plot.PlotBox
ptolemy.plot.PlotBox.CommandListener, ptolemy.plot.PlotBox.DragListener, ptolemy.plot.PlotBox.FillButtonListener, ptolemy.plot.PlotBox.ZoomListener
 
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  double levelRed
           
private  double levelYellow
           
 
Fields inherited from class saaps.util.TimeSeriesPlot
CAL_TIME, firstDate, lines, points, REL_TIME, timeDiv, timeUnit, xAxisLabel, xData, xDataField, xLog, xOffset, xOffsetUsed, yAxisLabels, yData, yDataFields, yLog, zeroDate
 
Fields inherited from class ptolemy.plot.Plot
_baroffset, _bars, _barwidth, _connected, _currentdataset, _diameter, _ERRORBAR_LEG_LENGTH, _filename, _firstinset, _formats, _impulses, _marks, _MAX_MARKS, _maxdataset, _painted, _points, _pointsPersistence, _prevx, _prevy, _radius, _reusedatasets, _sawfirstdataset, _showing, _sweepsPersistence, _xyInvalid
 
Fields inherited from class ptolemy.plot.PlotBox
_background, _bottomPadding, _boxColor, _buffer, _colors, _documentBase, _drawn, _DTD, _errorMsg, _filespec, _fillButton, _foreground, _grid, _gridBase, _gridCurJuke, _height, _labelFont, _labelFontMetrics, _leftPadding, _legendDatasets, _legendStrings, _LOG10SCALE, _lrx, _lry, _PADDING, _rangesGivenByZooming, _rightPadding, _superscriptFont, _superscriptFontMetrics, _title, _titleFont, _titleFontMetrics, _topPadding, _ulx, _uly, _usecolor, _width, _wrap, _xBottom, _xExp, _xhighgiven, _xlabel, _xlog, _xlowgiven, _xMax, _xMin, _xRangeGiven, _xscale, _xticklabels, _xtickMax, _xtickMin, _xticks, _xtickscale, _xTop, _yBottom, _yExp, _yhighgiven, _ylabel, _ylog, _ylowgiven, _yMax, _yMin, _yRangeGiven, _yscale, _yticklabels, _ytickMax, _ytickMin, _yticks, _ytickscale, _yTop, _zoomin, _zooming, _zoomout, _zoomx, _zoomxn, _zoomy, _zoomyn
 
Fields inherited from class java.awt.Panel
base, nameCounter, serialVersionUID
 
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
accessibleContext, 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
ElFluencePlot(TimeSeries ts, double lr, double ly)
          Creates new ElFluencePlot
 
Method Summary
private  java.util.Date thisDay(java.util.Date d)
           
 
Methods inherited from class saaps.util.TimeSeriesPlot
extractData, getLineState, getPointState, initPlot, plotData, setLineState, setPointState, setTimeSeries, setXLabel, setYLabels, setZeroTime, useCalTime, useRelTime
 
Methods inherited from class ptolemy.plot.Plot
_addLegendIfNecessary, _addPoint, _checkDatasetIndex, _drawBar, _drawErrorBar, _drawImpulse, _drawLine, _drawPlot, _drawPlotPoint, _drawPoint, _erasePoint, _isConnected, _parseLine, _write, _writeOldSyntax, addLegend, addPoint, addPointWithErrorBars, clear, clear, erasePoint, fillPlot, getConnected, getImpulses, getMarksStyle, getMaxDataSets, getNumDataSets, parseFile, read, samplePlot, setBars, setBars, setConnected, setConnected, setImpulses, setImpulses, setMarksStyle, setMarksStyle, setNumSets, setPointsPersistence, setReuseDatasets, setSweepsPersistence
 
Methods inherited from class ptolemy.plot.PlotBox
_drawLegend, _formatLogNum, _formatNum, _gridInit, _gridRoundUp, _gridStep, _help, _measureFonts, _numFracDigits, _numIntDigits, _parsePairs, _roundUp, _setButtonsVisibility, _setXRange, _setYRange, _zoom, _zoomBox, _zoomStart, , addXTick, addYTick, export, getColor, getColorByName, getDataurl, getDocumentBase, getGrid, getLegend, getMinimumSize, getPreferredSize, getTitle, getXLabel, getXLog, getXRange, getXTicks, getYLabel, getYLog, getYRange, getYTicks, init, paint, parseFile, read, setBackground, setBounds, setButtons, setColor, setDataurl, setDocumentBase, setForeground, setGrid, setLabelFont, setSize, setTitle, setTitleFont, setWrap, setXLabel, setXLog, setXRange, setYLabel, setYLog, setYRange, update, write, write, writeOldSyntax, zoom
 
Methods inherited from class java.awt.Panel
addNotify, constructComponentName, getAccessibleContext
 
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, getMouseEventTarget, getWindow, initIDs, insets, invalidate, invalidateTree, isAncestorOf, layout, lightweightPaint, lightweightPrint, list, list, locate, minimumSize, nextFocus, numListening, paintComponents, paintHeavyweightComponents, paramString, postProcessKeyEvent, postsOldMouseEvents, preferredSize, preProcessKeyEvent, print, printComponents, printHeavyweightComponents, processContainerEvent, processEvent, proxyEnableEvents, proxyRequestFocus, readObject, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusOwner, setFont, setLayout, transferFocus, 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, getLocale, 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, resize, resize, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setLocale, setLocation, setLocation, setName, 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

levelRed

private double levelRed

levelYellow

private double levelYellow
Constructor Detail

ElFluencePlot

public ElFluencePlot(TimeSeries ts,
                     double lr,
                     double ly)
Creates new ElFluencePlot
Method Detail

thisDay

private java.util.Date thisDay(java.util.Date d)