Class PlotModelComponent

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
LayoutModelWidget

public class PlotModelComponent extends JPanel
Version:
$Revision: 1.228 $
Author:
MetApps Development Team
See Also:
  • Constructor Details

    • PlotModelComponent

      public PlotModelComponent(IntegratedDataViewer idv, Object plotModelListener, String methodName, StationModel plotModel)
      Create a new PlotModelComponent
      Parameters:
      idv - the associated IDV
      plotModelListener - the listener
      methodName - the method to call on listener
      plotModel - the plot model
    • PlotModelComponent

      public PlotModelComponent(IntegratedDataViewer idv, Object plotModelListener, String methodName, StationModel plotModel, boolean addNone)
      Create a new PlotModelComponent
      Parameters:
      idv - the associated IDV
      plotModelListener - the listener
      methodName - method on listener to call
      plotModel - the plot model
      addNone - should we add the 'none' entry to the widget
  • Method Details

    • setNone

      public void setNone()
      user selected 'none'
    • editPlotModel

      public void editPlotModel()
      edit the plot model
    • getPlotModel

      public StationModel getPlotModel()
      get the plot model
      Returns:
      the plot model
    • setPlotModelByName

      public void setPlotModelByName(String name)
      Utility method to set the plot model by name
      Parameters:
      name - the name of the plot model
    • setPlotModel

      public void setPlotModel(StationModel sm)
      set the plot model
      Parameters:
      sm - the plot model