Interface TrailPaintlet

  • All Superinterfaces:
    adams.gui.visualization.image.paintlet.Paintlet, adams.core.ShallowCopySupporter<adams.gui.visualization.image.paintlet.Paintlet>
    All Known Implementing Classes:
    AbstractTrailPaintlet, Circles, Lines

    public interface TrailPaintlet
    extends adams.gui.visualization.image.paintlet.Paintlet
    Interface for trail paintlets.
    Version:
    $Revision$
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      TrailPanel getTrailPanel()
      Returns the underlying trail panel.
      void paintData​(Graphics g, Trail trail)
      Paints the given data.
      void setPanel​(TrailPanel value)
      Sets the panel to use, null to disable painting.
      • Methods inherited from interface adams.gui.visualization.image.paintlet.Paintlet

        getPaintPanel, getPanel, getRepaintOnChange, hasPanel, isEnabled, paint, setEnabled, setPanel, setPanel, setRepaintOnChange
      • Methods inherited from interface adams.core.ShallowCopySupporter

        shallowCopy, shallowCopy
    • Method Detail

      • setPanel

        void setPanel​(TrailPanel value)
        Sets the panel to use, null to disable painting.
        Parameters:
        value - the panel to paint on
      • getTrailPanel

        TrailPanel getTrailPanel()
        Returns the underlying trail panel.
        Returns:
        the panel, null if not set
      • paintData

        void paintData​(Graphics g,
                       Trail trail)
        Paints the given data.
        Parameters:
        g - the graphics context to use for painting
        trail - the data to paint