Class PlotTView

All Implemented Interfaces:
ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible, OSPRuntime.Disposable

public class PlotTView extends TrackChooserTView
This displays plot track views selected from a dropdown list.
Author:
Douglas Brown
See Also:
  • Field Details

    • PLOTVIEW_ICON

      protected static final Icon PLOTVIEW_ICON
  • Constructor Details

    • PlotTView

      public PlotTView(TrackerPanel panel)
      Constructs a TrackChooserView for the specified tracker panel.
      Parameters:
      panel - the tracker panel
  • Method Details

    • getViewName

      public String getViewName()
      Gets the name of the view
      Specified by:
      getViewName in class TrackChooserTView
      Returns:
      the name
    • getViewIcon

      public Icon getViewIcon()
      Gets the icon for this view
      Specified by:
      getViewIcon in class TView
      Returns:
      the icon
    • getViewType

      public int getViewType()
      Gets the type of view
      Specified by:
      getViewType in class TView
      Returns:
      one of the defined types
    • createTrackView

      protected TrackView createTrackView(TTrack track)
      Creates a view for the specified track
      Specified by:
      createTrackView in class TrackChooserTView
      Parameters:
      track - the track
      Returns:
      the track view
    • refreshMenus

      protected void refreshMenus()
      Refreshes the popup menus.
      Specified by:
      refreshMenus in class TrackChooserTView
    • getLoader

      public static XML.ObjectLoader getLoader()
      Returns an XML.ObjectLoader to save and load object data.
      Returns:
      the XML.ObjectLoader
    • addTrackView

      public TrackView addTrackView(TTrack track)
      BH this is necessary so that loadObject can add the parameters that are given in a TRZ file, such as CupsClip.zip
      Parameters:
      track -
      Returns: