Class NullOverlay

  • All Implemented Interfaces:
    IOverlay

    public class NullOverlay
    extends java.lang.Object
    implements IOverlay
    Empty implementation of IOverlay. Use this if you don't need any overlay.
    • 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 out
      void paintOverlayMouseOver​(java.awt.Graphics g, int cornerRadius)
      Invoked when we should paint the overlay when the mouse is over
      void setOverlayPaintMode​(OverlayPaintMode paintMode)
      Set when the overlay is painted
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NullOverlay

        public NullOverlay()
    • 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 interface IOverlay
        Parameters:
        g - Graphics to paint on
        cornerRadius - 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 interface IOverlay
        Parameters:
        g - Graphics to paint on
        cornerRadius - 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 interface IOverlay
        Parameters:
        paintMode - paint mode to apply