Class NullOverlay
java.lang.Object
ch.swingfx.twinkle.style.overlay.NullOverlay
- All Implemented Interfaces:
IOverlay
-
Constructor Summary
Constructors -
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
-
Constructor Details
-
NullOverlay
public NullOverlay()
-
-
Method Details
-
paintOverlayMouseOver
Description copied from interface:IOverlayInvoked when we should paint the overlay when the mouse is over- Specified by:
paintOverlayMouseOverin interfaceIOverlay- Parameters:
g-Graphicsto paint oncornerRadius- the corner radius of the window
-
paintOverlayMouseOut
Description copied from interface:IOverlayInvoked when we should paint the overlay when the mouse is out- Specified by:
paintOverlayMouseOutin interfaceIOverlay- Parameters:
g-Graphicsto paint oncornerRadius- the corner radius of the window
-
setOverlayPaintMode
Description copied from interface:IOverlaySet when the overlay is painted- Specified by:
setOverlayPaintModein interfaceIOverlay- Parameters:
paintMode- paint mode to apply
-