Interface IOverlay

All Known Implementing Classes:
AbstractOverlay, BorderOverlay, GradientOverlay, NullOverlay

public interface IOverlay
This interface is used to paint overlay on the GlassPane.
  • Method Details

    • paintOverlayMouseOver

      void paintOverlayMouseOver(Graphics g, int cornerRadius)
      Invoked when we should paint the overlay when the mouse is over
      Parameters:
      g - Graphics to paint on
      cornerRadius - the corner radius of the window
    • paintOverlayMouseOut

      void paintOverlayMouseOut(Graphics g, int cornerRadius)
      Invoked when we should paint the overlay when the mouse is out
      Parameters:
      g - Graphics to paint on
      cornerRadius - the corner radius of the window
    • setOverlayPaintMode

      void setOverlayPaintMode(OverlayPaintMode paintMode)
      Set when the overlay is painted
      Parameters:
      paintMode - paint mode to apply