Class Circles

  • All Implemented Interfaces:
    adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.ShallowCopySupporter<adams.gui.visualization.image.paintlet.Paintlet>, adams.core.SizeOfHandler, adams.gui.core.AntiAliasingSupporter, adams.gui.visualization.image.paintlet.Paintlet, TrailPaintlet, Serializable

    public class Circles
    extends AbstractTrailPaintlet
    implements adams.gui.core.AntiAliasingSupporter
    Paints the step locations as circles.
    Version:
    $Revision$
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean m_AntiAliasingEnabled
      whether anti-aliasing is enabled.
      protected int m_Diameter
      the diameter of the circle.
      • Fields inherited from class adams.gui.visualization.image.paintlet.AbstractPaintlet

        m_Enabled, m_Initializing, m_Panel, m_RepaintOnChange
      • Fields inherited from class adams.core.option.AbstractOptionHandler

        m_OptionManager
      • Fields inherited from class adams.core.logging.LoggingObject

        m_Logger, m_LoggingIsEnabled, m_LoggingLevel
    • Constructor Summary

      Constructors 
      Constructor Description
      Circles()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String antiAliasingEnabledTipText()
      Returns the tip text for this property.
      void defineOptions()
      Adds options to the internal list of options.
      String diameterTipText()
      Returns the tip text for this property.
      int getDiameter()
      Returns the diameter of the circle.
      String globalInfo()  
      boolean isAntiAliasingEnabled()
      Returns whether anti-aliasing is used.
      void paintData​(Graphics g, Trail trail)
      Paints the given data.
      void setAntiAliasingEnabled​(boolean value)
      Sets whether to use anti-aliasing.
      void setDiameter​(int value)
      Sets the circle diameter.
      • Methods inherited from class adams.gui.visualization.image.paintlet.AbstractPaintlet

        finishInit, getPaintPanel, getPanel, getPlot, getRepaintOnChange, hasPanel, isEnabled, isInitializing, memberChanged, memberChanged, paint, repaint, setEnabled, setPanel, setPanel, setRepaintOnChange, shallowCopy, shallowCopy
      • Methods inherited from class adams.core.option.AbstractOptionHandler

        cleanUpOptions, destroy, getDefaultLoggingLevel, getOptionManager, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
      • Methods inherited from class adams.core.logging.LoggingObject

        configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
      • Methods inherited from interface adams.core.logging.LoggingLevelHandler

        getLoggingLevel
      • 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
    • Field Detail

      • m_Diameter

        protected int m_Diameter
        the diameter of the circle.
      • m_AntiAliasingEnabled

        protected boolean m_AntiAliasingEnabled
        whether anti-aliasing is enabled.
    • Constructor Detail

      • Circles

        public Circles()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.core.option.AbstractOptionHandler
      • defineOptions

        public void defineOptions()
        Adds options to the internal list of options.
        Specified by:
        defineOptions in interface adams.core.option.OptionHandler
        Overrides:
        defineOptions in class AbstractTrailPaintlet
      • setDiameter

        public void setDiameter​(int value)
        Sets the circle diameter.
        Parameters:
        value - the diameter
      • getDiameter

        public int getDiameter()
        Returns the diameter of the circle.
        Returns:
        the diameter
      • diameterTipText

        public String diameterTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setAntiAliasingEnabled

        public void setAntiAliasingEnabled​(boolean value)
        Sets whether to use anti-aliasing.
        Specified by:
        setAntiAliasingEnabled in interface adams.gui.core.AntiAliasingSupporter
        Parameters:
        value - if true then anti-aliasing is used
      • isAntiAliasingEnabled

        public boolean isAntiAliasingEnabled()
        Returns whether anti-aliasing is used.
        Specified by:
        isAntiAliasingEnabled in interface adams.gui.core.AntiAliasingSupporter
        Returns:
        true if anti-aliasing is used
      • antiAliasingEnabledTipText

        public String antiAliasingEnabledTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.