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 void
paintOverlayMouseOut(java.awt.Graphics g, int cornerRadius)
Invoked when we should paint the overlay when the mouse is outvoid
paintOverlayMouseOver(java.awt.Graphics g, int cornerRadius)
Invoked when we should paint the overlay when the mouse is overvoid
setOverlayPaintMode(OverlayPaintMode paintMode)
Set when the overlay is painted
-
-
-
Method Detail
-
paintOverlayMouseOver
public void paintOverlayMouseOver(java.awt.Graphics g, int cornerRadius)
Description copied from interface:IOverlay
Invoked when we should paint the overlay when the mouse is over- Specified by:
paintOverlayMouseOver
in interfaceIOverlay
- Parameters:
g
-Graphics
to paint oncornerRadius
- the corner radius of the window
-
paintOverlayMouseOut
public void paintOverlayMouseOut(java.awt.Graphics g, int cornerRadius)
Description copied from interface:IOverlay
Invoked when we should paint the overlay when the mouse is out- Specified by:
paintOverlayMouseOut
in interfaceIOverlay
- Parameters:
g
-Graphics
to paint oncornerRadius
- the corner radius of the window
-
setOverlayPaintMode
public void setOverlayPaintMode(OverlayPaintMode paintMode)
Description copied from interface:IOverlay
Set when the overlay is painted- Specified by:
setOverlayPaintMode
in interfaceIOverlay
- Parameters:
paintMode
- paint mode to apply
-
-