Interface IOverlay
- All Known Implementing Classes:
AbstractOverlay, BorderOverlay, GradientOverlay, NullOverlay
public interface IOverlay
This interface is used to paint overlay on the
GlassPane.-
Method Summary
Modifier and TypeMethodDescriptionvoidpaintOverlayMouseOut(Graphics g, int cornerRadius) Invoked when we should paint the overlay when the mouse is outvoidpaintOverlayMouseOver(Graphics g, int cornerRadius) Invoked when we should paint the overlay when the mouse is overvoidsetOverlayPaintMode(OverlayPaintMode paintMode) Set when the overlay is painted
-
Method Details
-
paintOverlayMouseOver
-
paintOverlayMouseOut
-
setOverlayPaintMode
Set when the overlay is painted- Parameters:
paintMode- paint mode to apply
-