Class AbstractOverlay

    • Field Detail

      • m_Enabled

        protected boolean m_Enabled
        whether the overlay is enabled.
    • Constructor Detail

      • AbstractOverlay

        public AbstractOverlay()
    • Method Detail

      • setEnabled

        public void setEnabled​(boolean value)
        Sets whether the overlay is enabled.
        Specified by:
        setEnabled in interface Overlay
        Parameters:
        value - true if enabled
      • getEnabled

        public boolean getEnabled()
        Returns whether the overlay is enabled.
        Specified by:
        getEnabled in interface Overlay
        Returns:
        true if enabled
      • enabledTipText

        public String enabledTipText()
        Returns the tip text for this property.
        Specified by:
        enabledTipText in interface Overlay
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • doPaint

        protected abstract void doPaint​(ObjectAnnotationPanel panel,
                                        Graphics g)
        Paints the overlay.
        Parameters:
        panel - the owning panel
        g - the graphics context
      • annotationsChanged

        public void annotationsChanged()
        Hook method for when annotations change.
        Specified by:
        annotationsChanged in interface Overlay