Interface ImageOverlay

    • Method Detail

      • imageChanged

        void imageChanged​(ImagePanel.PaintPanel panel)
        Notifies the overlay that the image has changed.
        Parameters:
        panel - the panel this overlay belongs to
      • paintOverlay

        void paintOverlay​(ImagePanel.PaintPanel panel,
                          Graphics g)
        Paints the overlay over the image.
        Parameters:
        panel - the panel this overlay is for
        g - the graphics context
      • overlayAdded

        void overlayAdded​(ImagePanel.PaintPanel panel)
        Gets called when the image overlay got added to a paintable panel.
        Parameters:
        panel - the panel it got added to
      • overlayRemoved

        void overlayRemoved​(ImagePanel.PaintPanel panel)
        Gets called when the image overlay got removed from a paintable panel.
        Parameters:
        panel - the panel it got removed from