Package ch.swingfx.twinkle.style.overlay
Class NullOverlay
- java.lang.Object
-
- ch.swingfx.twinkle.style.overlay.NullOverlay
-
-
Constructor Summary
Constructors Constructor Description NullOverlay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpaintOverlayMouseOut(java.awt.Graphics g, int cornerRadius)Invoked when we should paint the overlay when the mouse is outvoidpaintOverlayMouseOver(java.awt.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 Detail
-
paintOverlayMouseOver
public void paintOverlayMouseOver(java.awt.Graphics g, int cornerRadius)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
public void paintOverlayMouseOut(java.awt.Graphics g, int cornerRadius)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
public void setOverlayPaintMode(OverlayPaintMode paintMode)
Description copied from interface:IOverlaySet when the overlay is painted- Specified by:
setOverlayPaintModein interfaceIOverlay- Parameters:
paintMode- paint mode to apply
-
-