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
        value - true if enabled
      • getEnabled

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

        public String enabledTipText()
        Returns the tip text for this property.
        Specified by:
        enabledTipText in interface Overlay
        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.
        panel - the owning panel
        g - the graphics context
      • annotationsChanged

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