Package dataMap

Class DataStreamPanel

All Implemented Interfaces:
DataMapObserver, ImageObserver, MenuContainer, Serializable, Accessible

public class DataStreamPanel extends JPanel implements DataMapObserver
Panelette to go into the main DataPanel to show the data for a single data stream

The outer panel will be a borderlayout with a NORTH and CENTER component.

These will be allowed to size to the full size of the container panel, which does not in itself scroll. SCrolling is handled by a custom scroll bar which will send instruction to each component to redraw if it's moved.

Author:
Doug Gillespie
See Also:
  • Field Details Link icon

    • dataBlock Link icon

      protected PamDataBlock dataBlock
    • startTimeArrow Link icon

      public Polygon startTimeArrow
    • endTimeArrow Link icon

      public Polygon endTimeArrow
  • Constructor Details Link icon

  • Method Details Link icon

    • getPanel Link icon

      public JPanel getPanel()
    • getDataGraph Link icon

      public DataStreamPanel.DataGraph getDataGraph()
      Returns:
      the dataGraph
    • getDataName Link icon

      public dataMap.DataStreamPanel.DataName getDataName()
      Returns:
      the dataName
    • autoHide Link icon

      public void autoHide()
    • sortScales Link icon

      protected void sortScales()
    • wheelMoved Link icon

      public void wheelMoved(MouseWheelEvent mwe)
    • showGraphMenu Link icon

      public void showGraphMenu(MouseEvent e)
    • isGraphVisible Link icon

      public boolean isGraphVisible()
    • scrollChanged Link icon

      public void scrollChanged()
    • isLogScale Link icon

      public boolean isLogScale()
      Returns:
      the logScale
    • getYScaleMin Link icon

      public double getYScaleMin()
      Returns:
      the yScaleMin
    • getYScaleMax Link icon

      public double getYScaleMax()
      Returns:
      the yScaleMax
    • getScaleUnits Link icon

      public String getScaleUnits()
    • getScaleType Link icon

      public int getScaleType()
    • setAxis Link icon

      public void setAxis(PamAxis yAxis)
      Need to know the axis since the axis can easily calculate a value based on the coordinate of the cursor for the tooltips.
      Parameters:
      yAxis -
    • repaintAll Link icon

      public void repaintAll()
      Repaint everything, including the output border panel
    • updateDataMap Link icon

      public void updateDataMap(OfflineDataMap dataMap, OfflineDataMapPoint dataMapPoint)
      Specified by:
      updateDataMap in interface DataMapObserver