All Implemented Interfaces:
ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible, OSPRuntime.Disposable
Direct Known Subclasses:
PageTView, TrackChooserTView, ZoomTView

public abstract class TView extends JPanel implements PropertyChangeListener, OSPRuntime.Disposable
This is a view of a tracker panel that can be added to a TViewChooser. Classes that implement TView must descend from JComponent.
Author:
Douglas Brown
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • init

      public abstract void init()
      Initializes the view
    • refresh

      public abstract void refresh()
      Refreshes the view
    • cleanup

      public abstract void cleanup()
      Cleans up the view
    • getTrackerPanel

      public abstract TrackerPanel getTrackerPanel()
      Gets the TrackerPanel containing the track data
      Returns:
      the tracker panel containing the data to be viewed
    • getViewName

      public abstract String getViewName()
      Gets the name of the view
      Returns:
      the name of the view
    • getViewIcon

      public abstract Icon getViewIcon()
      Gets the icon for this view
      Returns:
      the icon for the view
    • getViewType

      public abstract int getViewType()
      Gets the type of view
      Returns:
      one of the defined types
    • getToolBarComponents

      public ArrayList<Component> getToolBarComponents()
      Gets the toolbar components for this view. Overridden by most subclasses
      Returns:
      an ArrayList of components to be added to a toolbar
    • refreshPopup

      public void refreshPopup(JPopupMenu popup)
      Refreshes a popup menu by adding items to it
      Parameters:
      popup - the popup to refresh
    • isCustomState

      public boolean isCustomState()
      Returns true if this view is in a custom state.
      Returns:
      false
    • isViewPaneVisible

      public boolean isViewPaneVisible()
      Returns true if this view is in a visible pane.
      Returns:
      false
    • dispose

      public void dispose()
      Specified by:
      dispose in interface OSPRuntime.Disposable
    • finalize

      public void finalize()
      Overrides:
      finalize in class Object