Class HistogramWrapper

All Implemented Interfaces:
KeyListener, PropertyChangeListener, EventListener, Sharable
Direct Known Subclasses:
McVHistogramWrapper

public class HistogramWrapper extends PlotWrapper
Provides a time series chart
Version:
$Revision: 1.16 $
Author:
IDV Development Team
  • Constructor Details

    • HistogramWrapper

      public HistogramWrapper()
      Default ctor
    • HistogramWrapper

      public HistogramWrapper(String name, List dataChoices)
      Ctor
      Parameters:
      name - The name
      dataChoices - List of data choices
  • Method Details

    • getTypeName

      public String getTypeName()
      Type name
      Specified by:
      getTypeName in class ChartWrapper
      Returns:
      Type name
    • doMakeContents

      protected JComponent doMakeContents()
      Create the chart if needed
      Specified by:
      doMakeContents in class DisplayComponent
      Returns:
      The gui contents
    • loadData

      public void loadData() throws VisADException, RemoteException
      Create the charts
      Overrides:
      loadData in class ChartWrapper
      Throws:
      RemoteException - On badness
      VisADException - On badness
    • getPropertiesComponents

      protected void getPropertiesComponents(List comps, int tabIdx)
      Add components to properties dialog
      Overrides:
      getPropertiesComponents in class PlotWrapper
      Parameters:
      comps - List of components
      tabIdx - Which tab in properties dialog
    • applyProperties

      protected boolean applyProperties()
      Apply properties
      Overrides:
      applyProperties in class PlotWrapper
      Returns:
      Was successful
    • canDoColors

      protected boolean canDoColors()
      Can we do chart colors
      Overrides:
      canDoColors in class PlotWrapper
      Returns:
      can do colors
    • canDoWrapperColor

      public boolean canDoWrapperColor()
      Can we have colors on the data chocie wrappers in the properties dialog
      Overrides:
      canDoWrapperColor in class ChartWrapper
      Returns:
      can do wrapper color
    • setBins

      public void setBins(int value)
      Set the Bins property.
      Parameters:
      value - The new value for Bins
    • getBins

      public int getBins()
      Get the Bins property.
      Returns:
      The Bins
    • setStacked

      public void setStacked(boolean value)
      Set the Stacked property.
      Parameters:
      value - The new value for Stacked
    • getStacked

      public boolean getStacked()
      Get the Stacked property.
      Returns:
      The Stacked